Procurement APIs
Supplier invoice details for provided identifier
HTTP method | GET |
URI | https://api.rambase.net/procurement/invoices/{supplierInvoiceId} |
Supported formats | Xml, Html, Json (ex. $format=json) |
- URI parameter {supplierInvoiceId} |
Supplier invoice identifier
Integer, minimum 100000 |
Custom fields | Custom fields supported |
Successful HTTP status code | 200 |
API resource identifier | 630, version 58 |
The following body must be added to the request. Mouse over fieldnames for description and other useful information about the fields. Note that fields in bold are required/mandatory.
The query string is placed after the resource URL, seperated with a questionmark (?). The query string is composed of a series of query parameters with values. See the page about query parameters on how to use these parameters.
$showDomainDescriptions Boolean, optional | Set to "true" to include domain descriptions for fields using domain values. See the Domain values page for more information. Default value is false. |
$lang String, optional | Specifies the language used in the response, following the 3-letter ISO-639-1 [lll] |
$access_token String, optional | After successful login you get an access token which needs to be provided in all API requests. Even though it is possible to pass this token as query parameter, we recommended passing it using the HTTP request header as described in Authorization. Note that all access tokens have an expiration time. |
$db String, optional | Set the database/company for the request |
$format String, optional | Set the format of the response to use for the request. Accepted values are "xml", "html", "jsonstream", "json" |
$useMinimumVersion Integer, optional | Used to run a new version of an API resource when your API client is running a deprecated API resource. See the Breaking changes page for more information. |
$select String, optional | Use to define the fields to return in the response. Accepts a comma-separated list of field names. See the Expand and select page for more information. |
$expand String, optional | Use to include output fields that are not returned by default in the response. Accepts a comma-separated list of expandable field names. See the Expand and Select page for more information. |
$showCustomFields Boolean, optional | Set to "true" to include custom fields. Default value is false. |
Read more about filters and sorting on how to use filter parameters and named filters.
Read more about filters and sorting on how to use sortable parameters
Requesting this resource will yield the following response. Mouse over fieldnames (or fieldgroups) for descriptions and other useful information about the fields. Fields colored in grey is expandable fields.
Please note that some fields may be removed from the response, based on user roles/duties/permissions.
SupplierInvoiceId
Supplier invoice identifier
>{Integer}</SupplierInvoiceId>CreatedAt
Date and time of creation
>{Datetime}</CreatedAt>SuppliersReference
Suppliers/sellers reference. Typically a person.
>{String}</SuppliersReference>SuppliersInvoiceNumber
Suppliers/sellers reference number. Typically to an external system.
>{String}</SuppliersInvoiceNumber>SuppliersPaymentReference
Sellers reference to identify the object. In Norway this is typically a KID-number.
>{String}</SuppliersPaymentReference>BuyersReferenceNumber
Buyers reference number
>{String}</BuyersReferenceNumber>IssueDate
Date when the document was issued.
>{Date}</IssueDate>ReceivedDate
Date when the document was received.
>{Date}</ReceivedDate>RegistrationDate
Date of registration
>{Date}</RegistrationDate>Currency
Three character code following the ISO 4217 standard
Possible domain values can be found here
>{String}</Currency>Note
Additional information regarding the object (free text). This note might be visible to customers/suppliers.
>{String}</Note>PendingReception
Indicates if the supplier invoice is pending reception
>{Boolean}</PendingReception>ShipToAttention
Attention of the ship to address. When changing ship to address, the ShipToAttention will be overridden by the attention of the new ship to address.
>{String}</ShipToAttention>InvoiceAddressAttention
Attention of the correspondence address. When changing correspondence address, the CorrespondenceAddressAttention will be overridden by the attention of the new correspondence address.
>{String}</InvoiceAddressAttention>AccountingPeriodId
Accounting period identifier
>{Integer}</AccountingPeriodId>Period
Accounting period
>{Integer}</Period>AccountingPeriodLink
Accounting period reference
>{String}</AccountingPeriodLink>LocationId
Location identifier
>{Integer}</LocationId>Name
Name of location
>{String}</Name>ShortName
Unique abbreviation/short name of the location
>{String}</ShortName>CountryCode
Two-character code (ISO 3166) identifying the country.
>{String}</CountryCode>Country
English name of country.
>{String}</Country>LocationLink
Location reference
>{String}</LocationLink>Assignee
The user who has been assigned to work with this object.
>UserId
User identifier
>{Integer}</UserId>Name
Name of the user
>{String}</Name>FirstName
First name of the user
>{String}</FirstName>UserLink
User reference
>{String}</UserLink>SupplierId
RamBase supplier identifier
>{Integer}</SupplierId>Name
Name of supplier (name of company or surname/familyname/lastname of a person)
>{String}</Name>Firstname
Firstname/givenname if the supplier is a person
>{String}</Firstname>LegalEntityIdentifier
The suppliers unique enterprise/organization number.
>{String}</LegalEntityIdentifier>VATRegistrationNumber
Unique number assigned by the relevant tax authority to identify a party for use in relation to value added tax (VAT).
>{String}</VATRegistrationNumber>Code
Intercompany database the supplier belongs to.
>{String}</Code>SupplierLink
Supplier reference
>{String}</SupplierLink>SupplierBankAccountId
Supplier bank account identifier
>{Integer}</SupplierBankAccountId>Name
Name of bank account
>{String}</Name>AccountNumber
Account number used to identify the bank account
>{String}</AccountNumber>SWIFTCode
The SWIFT (Society for Worldwide Interbank Financial Telecommunication) Code is a standard format for Business Identifier Codes (BIC) and it's used to uniquely identify banks and financial institutions globally. These codes are used when transferring money between banks, in particular for international wire transfers or SEPA payments.
>{String}</SWIFTCode>InternationalBankAccountNumber
The International Bank Account Number (IBAN) is an internationally agreed means of identifying bank accounts across national borders with a reduced risk of transcription errors.
>{String}</InternationalBankAccountNumber>Address
Address of the bank associated with the bank account
>CountryCode
Two-character code (ISO 3166) identifying the country.
>{String}</CountryCode>SupplierBankAccountLink
Supplier bank account reference
>{String}</SupplierBankAccountLink>Currency
Three character code following the ISO 4217 standard
>{String}</Currency>FreightAmount
Freight amount in transaction document's currency
>{Decimal}</FreightAmount>FeeAmount
Fee amount in transaction document's currency
>{Decimal}</FeeAmount>RoundOffAmount
Round-off amount in transaction document's currency
>{Decimal}</RoundOffAmount>SubTotalAmount
Total amount of the object in object currency, excluding VAT.
>{Decimal}</SubTotalAmount>VATAmount
Total value added tax in object currency.
>{Decimal}</VATAmount>TotalAmount
The total amount in object currency, including VAT
>{Decimal}</TotalAmount>VATRoundOffAmount
VAT round-off amount in transaction document's currency
>{Decimal}</VATRoundOffAmount>Name
Name of receiver (Name of company or last name of a person). Note that default invoice address must have the same name as the customer.
>{String}</Name>Firstname
Firstname if the receiver is a person. Note that default invoice address must have the same firstname as the customer.
>{String}</Firstname>AddressLine1
First address line
>{String}</AddressLine1>AddressLine2
Second address line
>{String}</AddressLine2>PostalCode
Postalcode/Postcode/ZIP
>{String}</PostalCode>City
City/town/village
>{String}</City>Region
Region/province/state
>{String}</Region>CountryCode
Two-character code (ISO 3166) identifying the country.
>{String}</CountryCode>Country
English name of country.
>{String}</Country>Database
Database of the object
>{String}</Database>ItemId
Item-number of the object
>{Integer}</ItemId>ItemType
Type of item
>{String}</ItemType>ItemLink
API reference to the item
>{String}</ItemLink>ObjectId
Identifier of the object
>{Integer}</ObjectId>ObjectType
Type of object
>{String}</ObjectType>ObjectLink
API reference to the object
>{String}</ObjectLink>RamBaseKey
Internal RamBase identifier of the object/item
>{String}</RamBaseKey>AddressId
Address identifier
>{Integer}</AddressId>Name
Name of receiver (Name of company or last name of a person). Note that default invoice address must have the same name as the customer.
>{String}</Name>AddressLine1
First address line
>{String}</AddressLine1>AddressLine2
Second address line
>{String}</AddressLine2>PostalCode
Postalcode/Postcode/ZIP
>{String}</PostalCode>City
City/town/village
>{String}</City>Region
Region/province/state
>{String}</Region>CountryCode
Two-character code (ISO 3166) identifying the country.
>{String}</CountryCode>Country
English name of country.
>{String}</Country>AddressLink
Supplier address reference
>{String}</AddressLink>PaymentTerms
Terms of payment. Defaut value is retrieved from the supplier.
Possible domain values can be found here
>{String}</PaymentTerms>PaymentMethod
Method of payment. Default value is retrieved from the supplier.
Possible domain values can be found here
>{String}</PaymentMethod>DueDate
Date the object is due to be paid
>{Date}</DueDate>PostponeVAT
Indicates that the VAT posting should be postponed
>{Boolean}</PostponeVAT>VATType
Type of value added tax
>{String}</VATType>VATHandling
Specifies how value added tax (VAT) should be calculated. Either always include VAT, always exclude VAT or use standard/default VAT rules.
Possible domain values can be found here
>{String}</VATHandling>VATRate
Rate between transaction currency and company VAT currency. VAT rate should be used to calculate VAT amount in company VAT currency.
>{Decimal}</VATRate>VATDate
Date of VAT posting. Currency rate calculation use this date.
>{Date}</VATDate>VATPeriod
Accounting period this VAT posting belongs to
>{Integer}</VATPeriod>DefaultVATPercent
Value added tax percent.
>{Decimal}</DefaultVATPercent>VATCodeDefinitionId
VAT code identifier
>{Integer}</VATCodeDefinitionId>VATCode
Code that determines VAT rules used for VAT calculations.
>{String}</VATCode>Description
Description of VAT Code definition
>{String}</Description>VATCodeDefinitionLink
VAT code reference
>{String}</VATCodeDefinitionLink>VATRegistrationNumber
Unique number assigned by the relevant tax authority to identify a party for use in relation to value added tax (VAT)
>{String}</VATRegistrationNumber>Currency
Three character code following the ISO 4217 standard
>{String}</Currency>Country
Country name of VAT entity
>{String}</Country>CountryCode
Country code of VAT Entity
>{String}</CountryCode>SupplierInvoiceId
Supplier invoice identifier
": "{Integer}",Status
Status of supplier invoice
Possible domain values can be found here
": "{String}",CreatedAt
Date and time of creation
": "{Datetime}",SuppliersReference
Suppliers/sellers reference. Typically a person.
": "{String}",SuppliersInvoiceNumber
Suppliers/sellers reference number. Typically to an external system.
": "{String}",SuppliersPaymentReference
Sellers reference to identify the object. In Norway this is typically a KID-number.
": "{String}",BuyersReferenceNumber
Buyers reference number
": "{String}",IssueDate
Date when the document was issued.
": "{Date}",ReceivedDate
Date when the document was received.
": "{Date}",RegistrationDate
Date of registration
": "{Date}",Currency
Three character code following the ISO 4217 standard
Possible domain values can be found here
": "{String}",Note
Additional information regarding the object (free text). This note might be visible to customers/suppliers.
": "{String}",PendingReception
Indicates if the supplier invoice is pending reception
": "{Boolean}",ShipToAttention
Attention of the ship to address. When changing ship to address, the ShipToAttention will be overridden by the attention of the new ship to address.
": "{String}",InvoiceAddressAttention
Attention of the correspondence address. When changing correspondence address, the CorrespondenceAddressAttention will be overridden by the attention of the new correspondence address.
": "{String}",AccountingPeriodId
Accounting period identifier
": "{Integer}",Period
Accounting period
": "{Integer}",AccountingPeriodLink
Accounting period reference
": "{String}"LocationId
Location identifier
": "{Integer}",Name
Name of location
": "{String}",ShortName
Unique abbreviation/short name of the location
": "{String}",CountryCode
Two-character code (ISO 3166) identifying the country.
": "{String}",Country
English name of country.
": "{String}"LocationLink
Location reference
": "{String}"Assignee
The user who has been assigned to work with this object.
": {UserId
User identifier
": "{Integer}",Name
Name of the user
": "{String}",FirstName
First name of the user
": "{String}",UserLink
User reference
": "{String}"SupplierId
RamBase supplier identifier
": "{Integer}",Name
Name of supplier (name of company or surname/familyname/lastname of a person)
": "{String}",Firstname
Firstname/givenname if the supplier is a person
": "{String}",LegalEntityIdentifier
The suppliers unique enterprise/organization number.
": "{String}",VATRegistrationNumber
Unique number assigned by the relevant tax authority to identify a party for use in relation to value added tax (VAT).
": "{String}",Code
Intercompany database the supplier belongs to.
": "{String}"SupplierLink
Supplier reference
": "{String}"SupplierBankAccountId
Supplier bank account identifier
": "{Integer}",Name
Name of bank account
": "{String}",AccountNumber
Account number used to identify the bank account
": "{String}",SWIFTCode
The SWIFT (Society for Worldwide Interbank Financial Telecommunication) Code is a standard format for Business Identifier Codes (BIC) and it's used to uniquely identify banks and financial institutions globally. These codes are used when transferring money between banks, in particular for international wire transfers or SEPA payments.
": "{String}",InternationalBankAccountNumber
The International Bank Account Number (IBAN) is an internationally agreed means of identifying bank accounts across national borders with a reduced risk of transcription errors.
": "{String}",Address
Address of the bank associated with the bank account
": {CountryCode
Two-character code (ISO 3166) identifying the country.
": "{String}"SupplierBankAccountLink
Supplier bank account reference
": "{String}"Currency
Three character code following the ISO 4217 standard
": "{String}",FreightAmount
Freight amount in transaction document's currency
": "{Decimal}",FeeAmount
Fee amount in transaction document's currency
": "{Decimal}",RoundOffAmount
Round-off amount in transaction document's currency
": "{Decimal}",SubTotalAmount
Total amount of the object in object currency, excluding VAT.
": "{Decimal}",VATAmount
Total value added tax in object currency.
": "{Decimal}",TotalAmount
The total amount in object currency, including VAT
": "{Decimal}",VATRoundOffAmount
VAT round-off amount in transaction document's currency
": "{Decimal}"Name
Name of receiver (Name of company or last name of a person). Note that default invoice address must have the same name as the customer.
": "{String}",Firstname
Firstname if the receiver is a person. Note that default invoice address must have the same firstname as the customer.
": "{String}",AddressLine1
First address line
": "{String}",AddressLine2
Second address line
": "{String}",PostalCode
Postalcode/Postcode/ZIP
": "{String}",City
City/town/village
": "{String}",Region
Region/province/state
": "{String}",CountryCode
Two-character code (ISO 3166) identifying the country.
": "{String}",Country
English name of country.
": "{String}",Database
Database of the object
": "{String}",ItemId
Item-number of the object
": "{Integer}",ItemType
Type of item
": "{String}",ItemLink
API reference to the item
": "{String}",ObjectId
Identifier of the object
": "{Integer}",ObjectType
Type of object
": "{String}",ObjectLink
API reference to the object
": "{String}",RamBaseKey
Internal RamBase identifier of the object/item
": "{String}"AddressId
Address identifier
": "{Integer}",Name
Name of receiver (Name of company or last name of a person). Note that default invoice address must have the same name as the customer.
": "{String}",AddressLine1
First address line
": "{String}",AddressLine2
Second address line
": "{String}",PostalCode
Postalcode/Postcode/ZIP
": "{String}",City
City/town/village
": "{String}",Region
Region/province/state
": "{String}",CountryCode
Two-character code (ISO 3166) identifying the country.
": "{String}",Country
English name of country.
": "{String}",AddressLink
Supplier address reference
": "{String}"PaymentTerms
Terms of payment. Defaut value is retrieved from the supplier.
Possible domain values can be found here
": "{String}",PaymentMethod
Method of payment. Default value is retrieved from the supplier.
Possible domain values can be found here
": "{String}",DueDate
Date the object is due to be paid
": "{Date}"PostponeVAT
Indicates that the VAT posting should be postponed
": "{Boolean}",VATType
Type of value added tax
": "{String}",VATHandling
Specifies how value added tax (VAT) should be calculated. Either always include VAT, always exclude VAT or use standard/default VAT rules.
Possible domain values can be found here
": "{String}",VATRate
Rate between transaction currency and company VAT currency. VAT rate should be used to calculate VAT amount in company VAT currency.
": "{Decimal}",VATDate
Date of VAT posting. Currency rate calculation use this date.
": "{Date}",VATPeriod
Accounting period this VAT posting belongs to
": "{Integer}",DefaultVATPercent
Value added tax percent.
": "{Decimal}",VATCodeDefinitionId
VAT code identifier
": "{Integer}",VATCode
Code that determines VAT rules used for VAT calculations.
": "{String}",Description
Description of VAT Code definition
": "{String}",VATCodeDefinitionLink
VAT code reference
": "{String}"VATRegistrationNumber
Unique number assigned by the relevant tax authority to identify a party for use in relation to value added tax (VAT)
": "{String}",Currency
Three character code following the ISO 4217 standard
": "{String}",Country
Country name of VAT entity
": "{String}",CountryCode
Country code of VAT Entity
": "{String}"
List of available operations/actions for this resource.
See the operations documentation for more information about API operations.
Possible error codes the response might return:
Error 100051 HTTP 400 | When logged in as supplier {0} you do not have access to this API resource |
Error 100055 HTTP 403 | You have only admittance to your own objects |
Error 100001 HTTP 404 | Address not found |