API

Procurement APIs

POST procurement/credit-notes

Creates a new supplier credit note

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

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
<SupplierCreditNote>
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
</SupplierCreditNote>
1
{
2
     "supplierCreditNote": {
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
<SupplierCreditNote>
2
     <SupplierCreditNoteId
SupplierCreditNoteId

Supplier credit note identifier

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

Status of supplier credit note

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 credit note 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
          <PurchaseOutsideEU
PurchaseOutsideEU

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

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

Accounting period identifier

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

Accounting period

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

Accounting period reference

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

Location identifier

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

Name of location

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

Unique abbreviation/short name of the location

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

Location reference

>
{String}</LocationLink>
30
     </Location>
31
     <Assignee
Assignee

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

>
32
          <UserId
UserId

User identifier

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

Name of the user

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

First name of the user

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

User reference

>
{String}</UserLink>
36
     </Assignee>
37
     <Supplier>
38
          <SupplierId
SupplierId

RamBase supplier identifier

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

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

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

Firstname/givenname if the supplier is a person

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

The suppliers unique enterprise/organization number.

>
{String}</LegalEntityIdentifier>
42
          <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>
43
          <Intercompany>
44
               <Code
Code

Intercompany database the supplier belongs to.

>
{String}</Code>
45
               <DefaultInvoiceAddress>
46
                    <AddressLine1
AddressLine1

First address line

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

Second address line

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

Postalcode/Postcode/ZIP

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

City/town/village

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

Region/province/state

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

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

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

English name of country.

>
{String}</Country>
53
               </DefaultInvoiceAddress>
54
          </Intercompany>
55
          <SupplierLink
SupplierLink

Supplier reference

>
{String}</SupplierLink>
56
     </Supplier>
57
     <SupplierBankAccount>
58
          <SupplierBankAccountId
SupplierBankAccountId

Supplier bank account identifier

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

Name of bank account

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

Account number used to identify the bank account

>
{String}</AccountNumber>
61
          <Bank>
62
               <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>
63
               <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>
64
               <Address
Address

Address of the bank associated with the bank account

>
65
                    <CountryCode
CountryCode

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

>
{String}</CountryCode>
66
               </Address>
67
          </Bank>
68
          <SupplierBankAccountLink
SupplierBankAccountLink

Supplier bank account reference

>
{String}</SupplierBankAccountLink>
69
     </SupplierBankAccount>
70
     <Totals>
71
          <Currency
Currency

Three character code following the ISO 4217 standard

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

Freight amount in transaction document's currency

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

Fee amount in transaction document's currency

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

Round-off amount in transaction document's currency

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

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

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

Total value added tax in object currency.

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

The total amount in object currency, including VAT

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

VAT round-off amount in transaction document's currency

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

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

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

The exchange rate used in convertion

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

Freight amount in company currency.

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

Fee amount in company currency

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

Round-off amount in company currency

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

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

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

Value added tax amount in company currency.

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

The total amount in company currency, including VAT.

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

VAT round-off amount in company currency

>
{Decimal}</VATRoundOffAmount>
88
     </Totals>
89
     <ShipTo>
90
          <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>
91
          <Firstname
Firstname

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

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

First address line

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

Second address line

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

Postalcode/Postcode/ZIP

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

City/town/village

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

Region/province/state

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

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

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

English name of country.

>
{String}</Country>
99
          <Reference>
100
               <Database
Database

Database of the object

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

Item-number of the object

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

Type of item

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

API reference to the item

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

Identifier of the object

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

Type of object

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

API reference to the object

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

Internal RamBase identifier of the object/item

>
{String}</RamBaseKey>
108
          </Reference>
109
     </ShipTo>
110
     <ShipFrom>
111
          <AddressId
AddressId

Address identifier

>
{Integer}</AddressId>
112
          <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>
113
          <AddressLine1
AddressLine1

First address line

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

Second address line

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

Postalcode/Postcode/ZIP

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

City/town/village

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

Region/province/state

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

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

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

English name of country.

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

Supplier address reference

>
{String}</AddressLink>
121
     </ShipFrom>
122
     <Payment>
123
          <PaymentTerms
PaymentTerms

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

Possible domain values can be found here

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

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

Possible domain values can be found here

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

Date the object is due to be paid

>
{Date}</DueDate>
126
     </Payment>
127
     <VATDetails>
128
          <PostponeVAT
PostponeVAT

Indicates that the VAT posting should be postponed

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

Type of value added tax

>
{String}</VATType>
130
          <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>
131
          <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>
132
          <VATDate
VATDate

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

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

Accounting period this VAT posting belongs to

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

Value added tax percent.

>
{Decimal}</DefaultVATPercent>
135
          <DefaultVATCodeDefinition>
136
               <VATCodeDefinitionId
VATCodeDefinitionId

VAT code identifier

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

Code that determines VAT rules used for VAT calculations.

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

Description of VAT Code definition

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

VAT code reference

>
{String}</VATCodeDefinitionLink>
140
          </DefaultVATCodeDefinition>
141
          <VATEntity>
142
               <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>
143
               <Currency
Currency

Three character code following the ISO 4217 standard

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

Country name of VAT entity

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

Country code of VAT Entity

>
{String}</CountryCode>
146
          </VATEntity>
147
          <NotificationId
NotificationId

Notification identifier

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

Status of the notification

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

Date and time of creation

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

The message from the notification definition, expanded with parameters.

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

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

>
{String}</TranslatedMessage>
152
          <NotificationType>
153
               <NotificationTypeId
NotificationTypeId

Notification type identifier

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

Category of notification type (warning, information etc)

Possible domain values can be found here

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

Notification type reference

>
{String}</NotificationTypeLink>
156
          </NotificationType>
157
          <NotificationLink
NotificationLink

Notification reference

>
{String}</NotificationLink>
158
     </VATDetails>
159
</SupplierCreditNote>
1
{
2
     "supplierCreditNote": {
3
          "supplierCreditNoteId
SupplierCreditNoteId

Supplier credit note identifier

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

Status of supplier credit note

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 credit note 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
               "purchaseOutsideEU
PurchaseOutsideEU

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

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

Accounting period identifier

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

Accounting period

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

Accounting period reference

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

Location identifier

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

Name of location

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

Unique abbreviation/short name of the location

":
"{String}",
30
               "locationLink
LocationLink

Location reference

":
"{String}"
31
          },
32
          "assignee
Assignee

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

":
{
33
               "userId
UserId

User identifier

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

Name of the user

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

First name of the user

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

User reference

":
"{String}"
37
          },
38
          "supplier": {
39
               "supplierId
SupplierId

RamBase supplier identifier

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

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

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

Firstname/givenname if the supplier is a person

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

The suppliers unique enterprise/organization number.

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

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

":
"{String}",
44
               "intercompany": {
45
                    "code
Code

Intercompany database the supplier belongs to.

":
"{String}",
46
                    "defaultInvoiceAddress": {
47
                         "addressLine1
AddressLine1

First address line

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

Second address line

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

Postalcode/Postcode/ZIP

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

City/town/village

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

Region/province/state

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

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

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

English name of country.

":
"{String}"
54
                    }
55
               },
56
               "supplierLink
SupplierLink

Supplier reference

":
"{String}"
57
          },
58
          "supplierBankAccount": {
59
               "supplierBankAccountId
SupplierBankAccountId

Supplier bank account identifier

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

Name of bank account

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

Account number used to identify the bank account

":
"{String}",
62
               "bank": {
63
                    "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}",
64
                    "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}",
65
                    "address
Address

Address of the bank associated with the bank account

":
{
66
                         "countryCode
CountryCode

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

":
"{String}"
67
                    }
68
               },
69
               "supplierBankAccountLink
SupplierBankAccountLink

Supplier bank account reference

":
"{String}"
70
          },
71
          "totals": {
72
               "currency
Currency

Three character code following the ISO 4217 standard

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

Freight amount in transaction document's currency

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

Fee amount in transaction document's currency

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

Round-off amount in transaction document's currency

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

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

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

Total value added tax in object currency.

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

The total amount in object currency, including VAT

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

VAT round-off amount in transaction document's currency

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

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

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

The exchange rate used in convertion

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

Freight amount in company currency.

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

Fee amount in company currency

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

Round-off amount in company currency

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

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

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

Value added tax amount in company currency.

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

The total amount in company currency, including VAT.

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

VAT round-off amount in company currency

":
"{Decimal}"
89
          },
90
          "shipTo": {
91
               "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}",
92
               "firstname
Firstname

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

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

First address line

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

Second address line

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

Postalcode/Postcode/ZIP

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

City/town/village

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

Region/province/state

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

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

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

English name of country.

":
"{String}",
100
               "reference": {
101
                    "database
Database

Database of the object

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

Item-number of the object

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

Type of item

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

API reference to the item

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

Identifier of the object

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

Type of object

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

API reference to the object

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

Internal RamBase identifier of the object/item

":
"{String}"
109
               }
110
          },
111
          "shipFrom": {
112
               "addressId
AddressId

Address identifier

":
"{Integer}",
113
               "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}",
114
               "addressLine1
AddressLine1

First address line

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

Second address line

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

Postalcode/Postcode/ZIP

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

City/town/village

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

Region/province/state

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

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

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

English name of country.

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

Supplier address reference

":
"{String}"
122
          },
123
          "payment": {
124
               "paymentTerms
PaymentTerms

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

Possible domain values can be found here

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

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

Possible domain values can be found here

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

Date the object is due to be paid

":
"{Date}"
127
          },
128
          "vATDetails": {
129
               "postponeVAT
PostponeVAT

Indicates that the VAT posting should be postponed

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

Type of value added tax

":
"{String}",
131
               "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}",
132
               "vATRate
VATRate

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

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

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

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

Accounting period this VAT posting belongs to

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

Value added tax percent.

":
"{Decimal}",
136
               "defaultVATCodeDefinition": {
137
                    "vATCodeDefinitionId
VATCodeDefinitionId

VAT code identifier

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

Code that determines VAT rules used for VAT calculations.

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

Description of VAT Code definition

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

VAT code reference

":
"{String}"
141
               },
142
               "vATEntity": {
143
                    "vATRegistrationNumber
VATRegistrationNumber

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

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

Three character code following the ISO 4217 standard

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

Country name of VAT entity

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

Country code of VAT Entity

":
"{String}"
147
               },
148
               "notificationId
NotificationId

Notification identifier

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

Status of the notification

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

Date and time of creation

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

The message from the notification definition, expanded with parameters.

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

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

":
"{String}",
153
               "notificationType": {
154
                    "notificationTypeId
NotificationTypeId

Notification type identifier

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

Category of notification type (warning, information etc)

Possible domain values can be found here

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

Notification type reference

":
"{String}"
157
               },
158
               "notificationLink
NotificationLink

Notification reference

":
"{String}"
159
          }
160
     }
161
}

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 101202 HTTP 404 Sales credit note item 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