API

Procurement APIs

POST procurement/invoices

Creates a new supplier invoice

HTTP method POST
URI https://api.rambase.net/procurement/invoices
Supported formats Xml, Html, Json (ex. $format=json)
Custom fields Custom fields supported
Successful HTTP status code 201
API resource identifier 4200, version 3

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.

Format:
1
<SupplierInvoice>
2
     <SuppliersInvoiceNumber
SuppliersInvoiceNumber

Suppliers/sellers reference number. Typically to an external system.

This field is optional.

>
{String}</SuppliersInvoiceNumber>
3
     <SuppliersPaymentReference
SuppliersPaymentReference

Sellers reference to identify the object. In Norway this is typically a KID-number.

This field is optional.

>
{String}</SuppliersPaymentReference>
4
     <IssueDate
IssueDate

Required/mandatory field

Date when the document was issued.

>
{Date}</IssueDate>
5
     <Currency
Currency

Three character code following the ISO 4217 standard

Applicable domain values can be found here

This field is optional.

>
{String}</Currency>
6
     <Supplier>
7
          <SupplierId
SupplierId

Required/mandatory field

RamBase supplier identifier

Minimum value: 100

>
{Integer}</SupplierId>
8
     </Supplier>
9
     <Payment
Payment

This field is optional.

>
10
          <DueDate
DueDate

Date the object is due to be paid

This field is optional.

>
{Date}</DueDate>
11
     </Payment>
12
</SupplierInvoice>
1
{
2
     "supplierInvoice": {
3
          "suppliersInvoiceNumber
SuppliersInvoiceNumber

Suppliers/sellers reference number. Typically to an external system.

This field is optional.

":
"{String}",
4
          "suppliersPaymentReference
SuppliersPaymentReference

Sellers reference to identify the object. In Norway this is typically a KID-number.

This field is optional.

":
"{String}",
5
          "issueDate
IssueDate

Required/mandatory field

Date when the document was issued.

":
"{Date}",
6
          "currency
Currency

Three character code following the ISO 4217 standard

Applicable domain values can be found here

This field is optional.

":
"{String}",
7
          "supplier": {
8
               "supplierId
SupplierId

Required/mandatory field

RamBase supplier identifier

Minimum value: 100

":
"{Integer}"
9
          },
10
          "payment
Payment

This field is optional.

":
{
11
               "dueDate
DueDate

Date the object is due to be paid

This field is optional.

":
"{Date}"
12
          }
13
     }
14
}

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.

$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
$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.
$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]
$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.

Please note that some fields may be removed from the response, based on user roles/duties/permissions.

Format:
1
<SupplierInvoice>
2
     <SupplierInvoiceId
SupplierInvoiceId

Supplier invoice identifier

>
{Integer}</SupplierInvoiceId>
3
     <Status
Status

Status of supplier invoice

Possible domain values can be found here

>
{String}</Status>
4
     <CreatedAt
CreatedAt

Date and time of creation

>
{Datetime}</CreatedAt>
5
     <SuppliersReference
SuppliersReference

Suppliers/sellers reference. Typically a person.

>
{String}</SuppliersReference>
6
     <SuppliersInvoiceNumber
SuppliersInvoiceNumber

Suppliers/sellers reference number. Typically to an external system.

>
{String}</SuppliersInvoiceNumber>
7
     <SuppliersPaymentReference
SuppliersPaymentReference

Sellers reference to identify the object. In Norway this is typically a KID-number.

>
{String}</SuppliersPaymentReference>
8
     <BuyersReferenceNumber
BuyersReferenceNumber

Buyers reference number

>
{String}</BuyersReferenceNumber>
9
     <IssueDate
IssueDate

Date when the document was issued.

>
{Date}</IssueDate>
10
     <ReceivedDate
ReceivedDate

Date when the document was received.

>
{Date}</ReceivedDate>
11
     <RegistrationDate
RegistrationDate

Date of registration

>
{Date}</RegistrationDate>
12
     <Currency
Currency

Three character code following the ISO 4217 standard

Possible domain values can be found here

>
{String}</Currency>
13
     <Note
Note

Additional information regarding the object (free text). This note might be visible to customers/suppliers.

>
{String}</Note>
14
     <PendingReception
PendingReception

Indicates if the supplier invoice is pending reception

>
{Boolean}</PendingReception>
15
     <ShipToAttention
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>
16
     <InvoiceAddressAttention
InvoiceAddressAttention

Attention of the correspondence address. When changing correspondence address, the CorrespondenceAddressAttention will be overridden by the attention of the new correspondence address.

>
17
          <IsSubjectedToSplitPayment
IsSubjectedToSplitPayment

Indicates if an customer / supplier invoice and / or credit note is subjected to split payment

>
{Boolean}</IsSubjectedToSplitPayment>
18
          <IsInternal
IsInternal

Indicates if an customer / supplier invoice and / or credit note is marked as internal

>
{Boolean}</IsInternal>
19
          <PurchaseOutsideEU
PurchaseOutsideEU

Purchase was from outside of EU. Used for the JPK files for "Shortened import procedure outside of EU".

>
{Boolean}</PurchaseOutsideEU>
20
     </InvoiceAddressAttention>
21
     <AccountingPeriod>
22
          <AccountingPeriodId
AccountingPeriodId

Accounting period identifier

>
{Integer}</AccountingPeriodId>
23
          <Period
Period

Accounting period

>
{Integer}</Period>
24
          <AccountingPeriodLink
AccountingPeriodLink

Accounting period reference

>
{String}</AccountingPeriodLink>
25
     </AccountingPeriod>
26
     <Location>
27
          <LocationId
LocationId

Location identifier

>
{Integer}</LocationId>
28
          <Name
Name

Name of location

>
{String}</Name>
29
          <ShortName
ShortName

Unique abbreviation/short name of the location

>
{String}</ShortName>
30
          <Address>
31
               <CountryCode
CountryCode

Two-character code (ISO 3166) identifying the country.

>
{String}</CountryCode>
32
               <Country
Country

English name of country.

>
{String}</Country>
33
          </Address>
34
          <LocationLink
LocationLink

Location reference

>
{String}</LocationLink>
35
     </Location>
36
     <Assignee
Assignee

The user who has been assigned to work with this object.

>
37
          <UserId
UserId

User identifier

>
{Integer}</UserId>
38
          <Name
Name

Name of the user

>
{String}</Name>
39
          <FirstName
FirstName

First name of the user

>
{String}</FirstName>
40
          <UserLink
UserLink

User reference

>
{String}</UserLink>
41
     </Assignee>
42
     <Supplier>
43
          <SupplierId
SupplierId

RamBase supplier identifier

>
{Integer}</SupplierId>
44
          <Name
Name

Name of supplier (name of company or surname/familyname/lastname of a person)

>
{String}</Name>
45
          <Firstname
Firstname

Firstname/givenname if the supplier is a person

>
{String}</Firstname>
46
          <LegalEntityIdentifier
LegalEntityIdentifier

The suppliers unique enterprise/organization number.

>
{String}</LegalEntityIdentifier>
47
          <VATRegistrationNumber
VATRegistrationNumber

Unique number assigned by the relevant tax authority to identify a party for use in relation to value added tax (VAT).

>
{String}</VATRegistrationNumber>
48
          <Intercompany>
49
               <Code
Code

Intercompany database the supplier belongs to.

>
{String}</Code>
50
               <DefaultInvoiceAddress>
51
                    <AddressLine1
AddressLine1

First address line

>
{String}</AddressLine1>
52
                    <AddressLine2
AddressLine2

Second address line

>
{String}</AddressLine2>
53
                    <PostalCode
PostalCode

Postalcode/Postcode/ZIP

>
{String}</PostalCode>
54
                    <City
City

City/town/village

>
{String}</City>
55
                    <Region
Region

Region/province/state

>
{String}</Region>
56
                    <CountryCode
CountryCode

Two-character code (ISO 3166) identifying the country.

>
{String}</CountryCode>
57
                    <Country
Country

English name of country.

>
{String}</Country>
58
               </DefaultInvoiceAddress>
59
          </Intercompany>
60
          <SupplierLink
SupplierLink

Supplier reference

>
{String}</SupplierLink>
61
     </Supplier>
62
     <SupplierBankAccount>
63
          <SupplierBankAccountId
SupplierBankAccountId

Supplier bank account identifier

>
{Integer}</SupplierBankAccountId>
64
          <Name
Name

Name of bank account

>
{String}</Name>
65
          <AccountNumber
AccountNumber

Account number used to identify the bank account

>
{String}</AccountNumber>
66
          <Bank>
67
               <SWIFTCode
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>
68
               <InternationalBankAccountNumber
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>
69
               <Address
Address

Address of the bank associated with the bank account

>
70
                    <CountryCode
CountryCode

Two-character code (ISO 3166) identifying the country.

>
{String}</CountryCode>
71
               </Address>
72
          </Bank>
73
          <SupplierBankAccountLink
SupplierBankAccountLink

Supplier bank account reference

>
{String}</SupplierBankAccountLink>
74
     </SupplierBankAccount>
75
     <Totals>
76
          <Currency
Currency

Three character code following the ISO 4217 standard

>
{String}</Currency>
77
          <FreightAmount
FreightAmount

Freight amount in transaction document's currency

>
{Decimal}</FreightAmount>
78
          <FeeAmount
FeeAmount

Fee amount in transaction document's currency

>
{Decimal}</FeeAmount>
79
          <RoundOffAmount
RoundOffAmount

Round-off amount in transaction document's currency

>
{Decimal}</RoundOffAmount>
80
          <SubTotalAmount
SubTotalAmount

Total amount of the object in object currency, excluding VAT.

>
{Decimal}</SubTotalAmount>
81
          <VATAmount
VATAmount

Total value added tax in object currency.

>
{Decimal}</VATAmount>
82
          <TotalAmount
TotalAmount

The total amount in object currency, including VAT

>
{Decimal}</TotalAmount>
83
          <VATRoundOffAmount
VATRoundOffAmount

VAT round-off amount in transaction document's currency

>
{Decimal}</VATRoundOffAmount>
84
          <Currency
Currency

Currency used in conversion. Default is company accounting currency. Three character code following the ISO 4217 standard.

>
{String}</Currency>
85
          <ExchangeRate
ExchangeRate

The exchange rate used in convertion

>
{Decimal}</ExchangeRate>
86
          <FreightAmount
FreightAmount

Freight amount in company currency.

>
{Decimal}</FreightAmount>
87
          <FeeAmount
FeeAmount

Fee amount in company currency

>
{Decimal}</FeeAmount>
88
          <RoundOffAmount
RoundOffAmount

Round-off amount in company currency

>
{Decimal}</RoundOffAmount>
89
          <SubTotalAmount
SubTotalAmount

Total amount of the object in company currency, excluding VAT.

>
{Decimal}</SubTotalAmount>
90
          <VATAmount
VATAmount

Value added tax amount in company currency.

>
{Decimal}</VATAmount>
91
          <TotalAmount
TotalAmount

The total amount in company currency, including VAT.

>
{Decimal}</TotalAmount>
92
          <VATRoundOffAmount
VATRoundOffAmount

VAT round-off amount in company currency

>
{Decimal}</VATRoundOffAmount>
93
     </Totals>
94
     <ShipTo>
95
          <Name
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>
96
          <Firstname
Firstname

Firstname if the receiver is a person. Note that default invoice address must have the same firstname as the customer.

>
{String}</Firstname>
97
          <AddressLine1
AddressLine1

First address line

>
{String}</AddressLine1>
98
          <AddressLine2
AddressLine2

Second address line

>
{String}</AddressLine2>
99
          <PostalCode
PostalCode

Postalcode/Postcode/ZIP

>
{String}</PostalCode>
100
          <City
City

City/town/village

>
{String}</City>
101
          <Region
Region

Region/province/state

>
{String}</Region>
102
          <CountryCode
CountryCode

Two-character code (ISO 3166) identifying the country.

>
{String}</CountryCode>
103
          <Country
Country

English name of country.

>
{String}</Country>
104
          <Reference>
105
               <Database
Database

Database of the object

>
{String}</Database>
106
               <ItemId
ItemId

Item-number of the object

>
{Integer}</ItemId>
107
               <ItemType
ItemType

Type of item

>
{String}</ItemType>
108
               <ItemLink
ItemLink

API reference to the item

>
{String}</ItemLink>
109
               <ObjectId
ObjectId

Identifier of the object

>
{Integer}</ObjectId>
110
               <ObjectType
ObjectType

Type of object

>
{String}</ObjectType>
111
               <ObjectLink
ObjectLink

API reference to the object

>
{String}</ObjectLink>
112
               <RamBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

>
{String}</RamBaseKey>
113
          </Reference>
114
     </ShipTo>
115
     <ShipFrom>
116
          <AddressId
AddressId

Address identifier

>
{Integer}</AddressId>
117
          <Name
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>
118
          <AddressLine1
AddressLine1

First address line

>
{String}</AddressLine1>
119
          <AddressLine2
AddressLine2

Second address line

>
{String}</AddressLine2>
120
          <PostalCode
PostalCode

Postalcode/Postcode/ZIP

>
{String}</PostalCode>
121
          <City
City

City/town/village

>
{String}</City>
122
          <Region
Region

Region/province/state

>
{String}</Region>
123
          <CountryCode
CountryCode

Two-character code (ISO 3166) identifying the country.

>
{String}</CountryCode>
124
          <Country
Country

English name of country.

>
{String}</Country>
125
          <AddressLink
AddressLink

Supplier address reference

>
{String}</AddressLink>
126
     </ShipFrom>
127
     <Payment>
128
          <PaymentTerms
PaymentTerms

Terms of payment. Defaut value is retrieved from the supplier.

Possible domain values can be found here

>
{String}</PaymentTerms>
129
          <PaymentMethod
PaymentMethod

Method of payment. Default value is retrieved from the supplier.

Possible domain values can be found here

>
{String}</PaymentMethod>
130
          <DueDate
DueDate

Date the object is due to be paid

>
{Date}</DueDate>
131
     </Payment>
132
     <VATDetails>
133
          <PostponeVAT
PostponeVAT

Indicates that the VAT posting should be postponed

>
{Boolean}</PostponeVAT>
134
          <VATType
VATType

Type of value added tax

>
{String}</VATType>
135
          <VATHandling
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>
136
          <VATRate
VATRate

Rate between transaction currency and company VAT currency. VAT rate should be used to calculate VAT amount in company VAT currency.

>
{Decimal}</VATRate>
137
          <VATDate
VATDate

Date of VAT posting. Currency rate calculation use this date.

>
{Date}</VATDate>
138
          <VATPeriod
VATPeriod

Accounting period this VAT posting belongs to

>
{Integer}</VATPeriod>
139
          <DefaultVATPercent
DefaultVATPercent

Value added tax percent.

>
{Decimal}</DefaultVATPercent>
140
          <DefaultVATCodeDefinition>
141
               <VATCodeDefinitionId
VATCodeDefinitionId

VAT code identifier

>
{Integer}</VATCodeDefinitionId>
142
               <VATCode
VATCode

Code that determines VAT rules used for VAT calculations.

>
{String}</VATCode>
143
               <Description
Description

Description of VAT Code definition

>
{String}</Description>
144
               <VATCodeDefinitionLink
VATCodeDefinitionLink

VAT code reference

>
{String}</VATCodeDefinitionLink>
145
          </DefaultVATCodeDefinition>
146
          <VATEntity>
147
               <VATRegistrationNumber
VATRegistrationNumber

Unique number assigned by the relevant tax authority to identify a party for use in relation to value added tax (VAT)

>
{String}</VATRegistrationNumber>
148
               <Currency
Currency

Three character code following the ISO 4217 standard

>
{String}</Currency>
149
               <Country
Country

Country name of VAT entity

>
{String}</Country>
150
               <CountryCode
CountryCode

Country code of VAT Entity

>
{String}</CountryCode>
151
          </VATEntity>
152
          <NotificationId
NotificationId

Notification identifier

>
{Integer}</NotificationId>
153
          <Status
Status

Status of the notification

>
{Integer}</Status>
154
          <CreatedAt
CreatedAt

Date and time of creation

>
{Datetime}</CreatedAt>
155
          <Message
Message

The message from the notification definition, expanded with parameters.

>
{String}</Message>
156
          <TranslatedMessage
TranslatedMessage

The translated message from the notification definition, expanded with parameters.

>
{String}</TranslatedMessage>
157
          <NotificationType>
158
               <NotificationTypeId
NotificationTypeId

Notification type identifier

>
{String}</NotificationTypeId>
159
               <Category
Category

Category of notification type (warning, information etc)

Possible domain values can be found here

>
{String}</Category>
160
               <NotificationTypeLink
NotificationTypeLink

Notification type reference

>
{String}</NotificationTypeLink>
161
          </NotificationType>
162
          <NotificationLink
NotificationLink

Notification reference

>
{String}</NotificationLink>
163
     </VATDetails>
164
</SupplierInvoice>
1
{
2
     "supplierInvoice": {
3
          "supplierInvoiceId
SupplierInvoiceId

Supplier invoice identifier

":
"{Integer}",
4
          "status
Status

Status of supplier invoice

Possible domain values can be found here

":
"{String}",
5
          "createdAt
CreatedAt

Date and time of creation

":
"{Datetime}",
6
          "suppliersReference
SuppliersReference

Suppliers/sellers reference. Typically a person.

":
"{String}",
7
          "suppliersInvoiceNumber
SuppliersInvoiceNumber

Suppliers/sellers reference number. Typically to an external system.

":
"{String}",
8
          "suppliersPaymentReference
SuppliersPaymentReference

Sellers reference to identify the object. In Norway this is typically a KID-number.

":
"{String}",
9
          "buyersReferenceNumber
BuyersReferenceNumber

Buyers reference number

":
"{String}",
10
          "issueDate
IssueDate

Date when the document was issued.

":
"{Date}",
11
          "receivedDate
ReceivedDate

Date when the document was received.

":
"{Date}",
12
          "registrationDate
RegistrationDate

Date of registration

":
"{Date}",
13
          "currency
Currency

Three character code following the ISO 4217 standard

Possible domain values can be found here

":
"{String}",
14
          "note
Note

Additional information regarding the object (free text). This note might be visible to customers/suppliers.

":
"{String}",
15
          "pendingReception
PendingReception

Indicates if the supplier invoice is pending reception

":
"{Boolean}",
16
          "shipToAttention
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}",
17
          "invoiceAddressAttention
InvoiceAddressAttention

Attention of the correspondence address. When changing correspondence address, the CorrespondenceAddressAttention will be overridden by the attention of the new correspondence address.

":
{
18
               "isSubjectedToSplitPayment
IsSubjectedToSplitPayment

Indicates if an customer / supplier invoice and / or credit note is subjected to split payment

":
"{Boolean}",
19
               "isInternal
IsInternal

Indicates if an customer / supplier invoice and / or credit note is marked as internal

":
"{Boolean}",
20
               "purchaseOutsideEU
PurchaseOutsideEU

Purchase was from outside of EU. Used for the JPK files for "Shortened import procedure outside of EU".

":
"{Boolean}"
21
          },
22
          "accountingPeriod": {
23
               "accountingPeriodId
AccountingPeriodId

Accounting period identifier

":
"{Integer}",
24
               "period
Period

Accounting period

":
"{Integer}",
25
               "accountingPeriodLink
AccountingPeriodLink

Accounting period reference

":
"{String}"
26
          },
27
          "location": {
28
               "locationId
LocationId

Location identifier

":
"{Integer}",
29
               "name
Name

Name of location

":
"{String}",
30
               "shortName
ShortName

Unique abbreviation/short name of the location

":
"{String}",
31
               "address": {
32
                    "countryCode
CountryCode

Two-character code (ISO 3166) identifying the country.

":
"{String}",
33
                    "country
Country

English name of country.

":
"{String}"
34
               },
35
               "locationLink
LocationLink

Location reference

":
"{String}"
36
          },
37
          "assignee
Assignee

The user who has been assigned to work with this object.

":
{
38
               "userId
UserId

User identifier

":
"{Integer}",
39
               "name
Name

Name of the user

":
"{String}",
40
               "firstName
FirstName

First name of the user

":
"{String}",
41
               "userLink
UserLink

User reference

":
"{String}"
42
          },
43
          "supplier": {
44
               "supplierId
SupplierId

RamBase supplier identifier

":
"{Integer}",
45
               "name
Name

Name of supplier (name of company or surname/familyname/lastname of a person)

":
"{String}",
46
               "firstname
Firstname

Firstname/givenname if the supplier is a person

":
"{String}",
47
               "legalEntityIdentifier
LegalEntityIdentifier

The suppliers unique enterprise/organization number.

":
"{String}",
48
               "vATRegistrationNumber
VATRegistrationNumber

Unique number assigned by the relevant tax authority to identify a party for use in relation to value added tax (VAT).

":
"{String}",
49
               "intercompany": {
50
                    "code
Code

Intercompany database the supplier belongs to.

":
"{String}",
51
                    "defaultInvoiceAddress": {
52
                         "addressLine1
AddressLine1

First address line

":
"{String}",
53
                         "addressLine2
AddressLine2

Second address line

":
"{String}",
54
                         "postalCode
PostalCode

Postalcode/Postcode/ZIP

":
"{String}",
55
                         "city
City

City/town/village

":
"{String}",
56
                         "region
Region

Region/province/state

":
"{String}",
57
                         "countryCode
CountryCode

Two-character code (ISO 3166) identifying the country.

":
"{String}",
58
                         "country
Country

English name of country.

":
"{String}"
59
                    }
60
               },
61
               "supplierLink
SupplierLink

Supplier reference

":
"{String}"
62
          },
63
          "supplierBankAccount": {
64
               "supplierBankAccountId
SupplierBankAccountId

Supplier bank account identifier

":
"{Integer}",
65
               "name
Name

Name of bank account

":
"{String}",
66
               "accountNumber
AccountNumber

Account number used to identify the bank account

":
"{String}",
67
               "bank": {
68
                    "sWIFTCode
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}",
69
                    "internationalBankAccountNumber
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}",
70
                    "address
Address

Address of the bank associated with the bank account

":
{
71
                         "countryCode
CountryCode

Two-character code (ISO 3166) identifying the country.

":
"{String}"
72
                    }
73
               },
74
               "supplierBankAccountLink
SupplierBankAccountLink

Supplier bank account reference

":
"{String}"
75
          },
76
          "totals": {
77
               "currency
Currency

Three character code following the ISO 4217 standard

":
"{String}",
78
               "freightAmount
FreightAmount

Freight amount in transaction document's currency

":
"{Decimal}",
79
               "feeAmount
FeeAmount

Fee amount in transaction document's currency

":
"{Decimal}",
80
               "roundOffAmount
RoundOffAmount

Round-off amount in transaction document's currency

":
"{Decimal}",
81
               "subTotalAmount
SubTotalAmount

Total amount of the object in object currency, excluding VAT.

":
"{Decimal}",
82
               "vATAmount
VATAmount

Total value added tax in object currency.

":
"{Decimal}",
83
               "totalAmount
TotalAmount

The total amount in object currency, including VAT

":
"{Decimal}",
84
               "vATRoundOffAmount
VATRoundOffAmount

VAT round-off amount in transaction document's currency

":
"{Decimal}",
85
               "currency
Currency

Currency used in conversion. Default is company accounting currency. Three character code following the ISO 4217 standard.

":
"{String}",
86
               "exchangeRate
ExchangeRate

The exchange rate used in convertion

":
"{Decimal}",
87
               "freightAmount
FreightAmount

Freight amount in company currency.

":
"{Decimal}",
88
               "feeAmount
FeeAmount

Fee amount in company currency

":
"{Decimal}",
89
               "roundOffAmount
RoundOffAmount

Round-off amount in company currency

":
"{Decimal}",
90
               "subTotalAmount
SubTotalAmount

Total amount of the object in company currency, excluding VAT.

":
"{Decimal}",
91
               "vATAmount
VATAmount

Value added tax amount in company currency.

":
"{Decimal}",
92
               "totalAmount
TotalAmount

The total amount in company currency, including VAT.

":
"{Decimal}",
93
               "vATRoundOffAmount
VATRoundOffAmount

VAT round-off amount in company currency

":
"{Decimal}"
94
          },
95
          "shipTo": {
96
               "name
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}",
97
               "firstname
Firstname

Firstname if the receiver is a person. Note that default invoice address must have the same firstname as the customer.

":
"{String}",
98
               "addressLine1
AddressLine1

First address line

":
"{String}",
99
               "addressLine2
AddressLine2

Second address line

":
"{String}",
100
               "postalCode
PostalCode

Postalcode/Postcode/ZIP

":
"{String}",
101
               "city
City

City/town/village

":
"{String}",
102
               "region
Region

Region/province/state

":
"{String}",
103
               "countryCode
CountryCode

Two-character code (ISO 3166) identifying the country.

":
"{String}",
104
               "country
Country

English name of country.

":
"{String}",
105
               "reference": {
106
                    "database
Database

Database of the object

":
"{String}",
107
                    "itemId
ItemId

Item-number of the object

":
"{Integer}",
108
                    "itemType
ItemType

Type of item

":
"{String}",
109
                    "itemLink
ItemLink

API reference to the item

":
"{String}",
110
                    "objectId
ObjectId

Identifier of the object

":
"{Integer}",
111
                    "objectType
ObjectType

Type of object

":
"{String}",
112
                    "objectLink
ObjectLink

API reference to the object

":
"{String}",
113
                    "ramBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

":
"{String}"
114
               }
115
          },
116
          "shipFrom": {
117
               "addressId
AddressId

Address identifier

":
"{Integer}",
118
               "name
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}",
119
               "addressLine1
AddressLine1

First address line

":
"{String}",
120
               "addressLine2
AddressLine2

Second address line

":
"{String}",
121
               "postalCode
PostalCode

Postalcode/Postcode/ZIP

":
"{String}",
122
               "city
City

City/town/village

":
"{String}",
123
               "region
Region

Region/province/state

":
"{String}",
124
               "countryCode
CountryCode

Two-character code (ISO 3166) identifying the country.

":
"{String}",
125
               "country
Country

English name of country.

":
"{String}",
126
               "addressLink
AddressLink

Supplier address reference

":
"{String}"
127
          },
128
          "payment": {
129
               "paymentTerms
PaymentTerms

Terms of payment. Defaut value is retrieved from the supplier.

Possible domain values can be found here

":
"{String}",
130
               "paymentMethod
PaymentMethod

Method of payment. Default value is retrieved from the supplier.

Possible domain values can be found here

":
"{String}",
131
               "dueDate
DueDate

Date the object is due to be paid

":
"{Date}"
132
          },
133
          "vATDetails": {
134
               "postponeVAT
PostponeVAT

Indicates that the VAT posting should be postponed

":
"{Boolean}",
135
               "vATType
VATType

Type of value added tax

":
"{String}",
136
               "vATHandling
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}",
137
               "vATRate
VATRate

Rate between transaction currency and company VAT currency. VAT rate should be used to calculate VAT amount in company VAT currency.

":
"{Decimal}",
138
               "vATDate
VATDate

Date of VAT posting. Currency rate calculation use this date.

":
"{Date}",
139
               "vATPeriod
VATPeriod

Accounting period this VAT posting belongs to

":
"{Integer}",
140
               "defaultVATPercent
DefaultVATPercent

Value added tax percent.

":
"{Decimal}",
141
               "defaultVATCodeDefinition": {
142
                    "vATCodeDefinitionId
VATCodeDefinitionId

VAT code identifier

":
"{Integer}",
143
                    "vATCode
VATCode

Code that determines VAT rules used for VAT calculations.

":
"{String}",
144
                    "description
Description

Description of VAT Code definition

":
"{String}",
145
                    "vATCodeDefinitionLink
VATCodeDefinitionLink

VAT code reference

":
"{String}"
146
               },
147
               "vATEntity": {
148
                    "vATRegistrationNumber
VATRegistrationNumber

Unique number assigned by the relevant tax authority to identify a party for use in relation to value added tax (VAT)

":
"{String}",
149
                    "currency
Currency

Three character code following the ISO 4217 standard

":
"{String}",
150
                    "country
Country

Country name of VAT entity

":
"{String}",
151
                    "countryCode
CountryCode

Country code of VAT Entity

":
"{String}"
152
               },
153
               "notificationId
NotificationId

Notification identifier

":
"{Integer}",
154
               "status
Status

Status of the notification

":
"{Integer}",
155
               "createdAt
CreatedAt

Date and time of creation

":
"{Datetime}",
156
               "message
Message

The message from the notification definition, expanded with parameters.

":
"{String}",
157
               "translatedMessage
TranslatedMessage

The translated message from the notification definition, expanded with parameters.

":
"{String}",
158
               "notificationType": {
159
                    "notificationTypeId
NotificationTypeId

Notification type identifier

":
"{String}",
160
                    "category
Category

Category of notification type (warning, information etc)

Possible domain values can be found here

":
"{String}",
161
                    "notificationTypeLink
NotificationTypeLink

Notification type reference

":
"{String}"
162
               },
163
               "notificationLink
NotificationLink

Notification reference

":
"{String}"
164
          }
165
     }
166
}

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 101015 HTTP 404 Permission not found
Error 103837 HTTP 400 Recalculation failed. Missing product id.
Error 103838 HTTP 400 Recalculation failed. Missing location.
Error 101069 HTTP 404 Stock assignment link - document not found
Error 100345 HTTP 400 Location is required
Error 108514 HTTP 400 Invalid invoice frequency
Error 108635 HTTP 400 Effective date cannot be later then effective date of any contract item
Error 108421 HTTP 400 The effective date cannot be later than the expiration date
Error 108735 HTTP 400 Expiration date of a contract cannot be earlier then expiration date of any of its quotes
Error 108674 HTTP 400 Termination date cannot be earlier then the effective date
Error 108675 HTTP 400 Termination date cannot be later then the expiration date
Error 108672 HTTP 400 Closing date cannot be earlier then the effective date
Error 108673 HTTP 400 Closing date cannot be later then the expiration date
Error 104971 HTTP 400 The start date cannot be later than the end date
Error 108262 HTTP 404 Recurring rate not found
Error 108691 HTTP 400 Recurring rate is not active
Error 108018 HTTP 400 Currency mismatch
Error 108016 HTTP 400 Product id mismatch
Error 108824 HTTP 400 Cannot apply recurring rate as it is not valid for selected period
Error 108671 HTTP 400 The effective date cannot be changed because earlier days have already been invoiced
Error 108684 HTTP 400 The expiration date cannot be changed because later days have already been invoiced
Error 108677 HTTP 400 Expected delivery date cannot be earlier than the effective date
Error 108678 HTTP 400 Expected collection date cannot be earlier than the effective date
Error 108679 HTTP 400 Expected collection date cannot be earlier then expected delivery date
Error 108680 HTTP 400 Collection date cannot be earlier then the effective date
Error 108681 HTTP 400 Collection date cannot be earlier then the expected delivery date
Error 108683 HTTP 400 Termination date must be earlier then the expiration date