Jasmin Developers - Web API Reference

Purchases | Invoice

Service to manage entities of type 'Invoice'.

Overview


URL api/{tenantKey}/{orgKey}/invoiceReceipt/invoices
Methods Supported GET, POST, PUT, DELETE

All Operations

This service includes the following operations:

All Resources

This service uses the following resources:

All Enumerations

This service uses the following enumerations:

GET Operations

GET Invoices

Returns the list of all the entity records available.

Response:

When successful, the response body contains the list of records available. See InvoiceResource.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

GET /invoiceReceipt/invoices

GET Invoices (paged)

Returns a page of the list of all the entity records available.

The following elements are optional:

page (int) The index of the page of the list that should be returned. This is a query string parameter.
pageSize (int) The number of page elements that should be returned (max. is 1000). This is a query string parameter.

Response:

When successful, the response body contains the list of records available. See InvoiceResource.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

GET /invoiceReceipt/invoices?page={page}&pageSize={pageSize}

GET Invoice by identifier

Returns the entity record that matches the specified identifier.

The following elements are required:

id (string) The record identifier.

Response:

When successful, the response body contains the entity record. See InvoiceResource.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

GET /invoiceReceipt/invoices/{id}

GET Invoice by key

Returns the entity record that matches the specified key.

The following elements are required:

companyKey (string) The company key.
documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.

Response:

When successful, the response body contains the entity record. See InvoiceResource.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

GET /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}

GET Print Invoice by identifier

Prints the specified entity record.

The following elements are required:

id (string) The record identifier.

The following elements are optional:

template (string) The report template that should be used. This is a query string parameter.

Response:

When successful, the response body contains a stream with the printed file.

Response status codes:

200 OK. The operation was completed successfully.
404 NotFound. The specified resord does not exist.

Resource URL:

GET /invoiceReceipt/invoices/{id}/print?template={template}

GET Print Invoice by key

Prints the specified entity record.

The following elements are required:

companyKey (string) The company key.
documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.

The following elements are optional:

template (string) The report template that should be used. This is a query string parameter.

Response:

When successful, the response body contains a stream with the printed file.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

GET /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/print

GET Original Print InvoiceOriginal by identifier

Prints the specified entity record.

The following elements are required:

id (string) The record identifier.

The following elements are optional:

template (string) The report template that should be used. This is a query string parameter.

Response:

When successful, the response body contains a stream with the printed file.

Response status codes:

200 OK. The operation was completed successfully.
404 NotFound. The specified resord does not exist.

Resource URL:

GET /invoiceReceipt/invoices/{id}/printOriginal?template={template}

GET Original Print Invoice by key

Prints the specified entity record.

The following elements are required:

companyKey (string) The company key.
documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.

The following elements are optional:

template (string) The report template that should be used. This is a query string parameter.

Response:

When successful, the response body contains a stream with the printed file.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

GET /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/printOriginal

POST Operations

POST Invoices

Creates a new entity record.

The following elements are required:

invoiceResource (ApiInvoiceResource) The request body should contain the entity record that should be created.
See ApiInvoiceResource.

The following elements are optional:

customAttributes (JSON Document) A key-value pair in JSON format that represents the extensibility custom attributes for this entity.
The key should be the custom attribute name prefixed with "custom_", e.g. "custom_attributeName".
While the "customAttributes" element is optional, please notice that specific custom attributes might be marked as required.

Response:

When successful, the response body contains the new entity record identifier. The resource header location property contains the URL for the new entity record. See ApiInvoiceResource.

Response status codes:

201 Created. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

POST /invoiceReceipt/invoices

POST Invoice

Inserts a new 'Invoice Line' in the 'Invoice'.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
companyKey (string) The company key.
value (ApiInvoiceDocumentLinesResource) The ApiInvoiceDocumentLinesResource instance.
See ApiInvoiceDocumentLinesResource.

The following elements are optional:

customAttributes (JSON Document) A key-value pair in JSON format that represents the extensibility custom attributes for this entity.
The key should be the custom attribute name prefixed with "custom_", e.g. "custom_attributeName".
While the "customAttributes" element is optional, please notice that specific custom attributes might be marked as required.

Response:

When successful, the response body is empty.

Response status codes:

204 NoContent. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

POST /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/documentLines

POST Invoice

Inserts a new 'Invoice Tax' in the 'Invoice'.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
companyKey (string) The company key.
value (ApiInvoiceDocumentTaxesResource) The ApiInvoiceDocumentTaxesResource instance.
See ApiInvoiceDocumentTaxesResource.

The following elements are optional:

customAttributes (JSON Document) A key-value pair in JSON format that represents the extensibility custom attributes for this entity.
The key should be the custom attribute name prefixed with "custom_", e.g. "custom_attributeName".
While the "customAttributes" element is optional, please notice that specific custom attributes might be marked as required.

Response:

When successful, the response body is empty.

Response status codes:

204 NoContent. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

POST /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/documentTaxes

POST Invoice

Inserts a new 'Invoice WTax' in the 'Invoice'.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
companyKey (string) The company key.
value (ApiInvoiceDocumentWTaxesResource) The ApiInvoiceDocumentWTaxesResource instance.
See ApiInvoiceDocumentWTaxesResource.

The following elements are optional:

customAttributes (JSON Document) A key-value pair in JSON format that represents the extensibility custom attributes for this entity.
The key should be the custom attribute name prefixed with "custom_", e.g. "custom_attributeName".
While the "customAttributes" element is optional, please notice that specific custom attributes might be marked as required.

Response:

When successful, the response body is empty.

Response status codes:

204 NoContent. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

POST /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/documentWTaxes

PUT Operations

PUT Set AccountingAltAddress Invoice

Updates the value of attribute 'AccountingAltAddress' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/accountingAltAddress

PUT Set AccountingParty Invoice

Updates the value of attribute 'AccountingParty' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/accountingParty

PUT Set AccountingPartyAddress Invoice

Updates the value of attribute 'AccountingPartyAddress' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/accountingPartyAddress

PUT Set AccountingPartyName Invoice

Updates the value of attribute 'AccountingPartyName' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/accountingPartyName

PUT Set AccountingPartyTaxId Invoice

Updates the value of attribute 'AccountingPartyTaxId' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/accountingPartyTaxId

PUT Set AccountingSchema Invoice

Updates the value of attribute 'AccountingSchema' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
companyKey (string) The company key.
value (enum AccountingSchema) The request body should contain the new value for the attribute.
See AccountingSchema.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/accountingSchema

PUT Set AltAddress Invoice

Updates the value of attribute 'AltAddress' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/altAddress

PUT Set BaseUnit InvoiceLine

Updates the value of attribute 'BaseUnit' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
lineId (string) The detail identifier.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/documentLines/{lineId}/baseUnit

PUT Set Check Invoice

Updates the value of attribute 'Check' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/check

PUT Set CommitmentReference InvoiceLine

Updates the value of attribute 'CommitmentReference' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
lineId (string) The detail identifier.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/documentLines/{lineId}/commitmentReference

PUT Set ComplementaryDescription InvoiceLine

Updates the value of attribute 'ComplementaryDescription' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
lineId (string) The detail identifier.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/documentLines/{lineId}/complementaryDescription

PUT Set DeliveryDate InvoiceLine

Updates the value of attribute 'DeliveryDate' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
lineId (string) The detail identifier.
companyKey (string) The company key.
value (DateTime) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/documentLines/{lineId}/deliveryDate

PUT Set DeliveryTerm Invoice

Updates the value of attribute 'DeliveryTerm' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/deliveryTerm

PUT Set Description InvoiceLine

Updates the value of attribute 'Description' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
lineId (string) The detail identifier.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/documentLines/{lineId}/description

PUT Set Discount Invoice

Updates the value of attribute 'Discount' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
companyKey (string) The company key.
value (decimal) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/discount

PUT Set Discount1 InvoiceLine

Updates the value of attribute 'Discount1' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
lineId (string) The detail identifier.
companyKey (string) The company key.
value (decimal) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/documentLines/{lineId}/discount1

PUT Set Discount2 InvoiceLine

Updates the value of attribute 'Discount2' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
lineId (string) The detail identifier.
companyKey (string) The company key.
value (decimal) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/documentLines/{lineId}/discount2

PUT Set Discount3 InvoiceLine

Updates the value of attribute 'Discount3' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
lineId (string) The detail identifier.
companyKey (string) The company key.
value (decimal) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/documentLines/{lineId}/discount3

PUT Set DocumentLineStatus InvoiceLine

Updates the value of attribute 'DocumentLineStatus' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
lineId (string) The detail identifier.
companyKey (string) The company key.
value (enum DocumentLineStatus) The request body should contain the new value for the attribute.
See DocumentLineStatus.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/documentLines/{lineId}/documentLineStatus

PUT Set DueDate Invoice

Updates the value of attribute 'DueDate' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
companyKey (string) The company key.
value (DateTime) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/dueDate

PUT Set EmailTo Invoice

Updates the value of attribute 'EmailTo' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/emailTo

PUT Set IsActive Invoice

Updates the value of attribute 'IsActive' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
companyKey (string) The company key.
value (bool) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/isActive

PUT Set ItemTaxSchema InvoiceLine

Updates the value of attribute 'ItemTaxSchema' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
lineId (string) The detail identifier.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/documentLines/{lineId}/itemTaxSchema

PUT Set ItemWithholdingTaxSchema InvoiceLine

Updates the value of attribute 'ItemWithholdingTaxSchema' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
lineId (string) The detail identifier.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/documentLines/{lineId}/itemWithholdingTaxSchema

PUT Set LoadingBuildingNumber Invoice

Updates the value of attribute 'LoadingBuildingNumber' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/loadingBuildingNumber

PUT Set LoadingCityName Invoice

Updates the value of attribute 'LoadingCityName' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/loadingCityName

PUT Set LoadingCountry Invoice

Updates the value of attribute 'LoadingCountry' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/loadingCountry

PUT Set LoadingDateTime Invoice

Updates the value of attribute 'LoadingDateTime' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
companyKey (string) The company key.
value (DateTimeOffset) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/loadingDateTime

PUT Set LoadingPoint Invoice

Updates the value of attribute 'LoadingPoint' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/loadingPoint

PUT Set LoadingPointAddress Invoice

Updates the value of attribute 'LoadingPointAddress' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/loadingPointAddress

PUT Set LoadingPostalZone Invoice

Updates the value of attribute 'LoadingPostalZone' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/loadingPostalZone

PUT Set LoadingStreetName Invoice

Updates the value of attribute 'LoadingStreetName' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/loadingStreetName

PUT Set Note Invoice

Updates the value of attribute 'Note' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/note

PUT Set NoteToRecipient Invoice

Updates the value of attribute 'NoteToRecipient' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/noteToRecipient

PUT Set Notification Invoice

Updates the value of attribute 'Notification' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/notification

PUT Set PartyAccountingSchema Invoice

Updates the value of attribute 'PartyAccountingSchema' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
companyKey (string) The company key.
value (enum AccountingSchema) The request body should contain the new value for the attribute.
See AccountingSchema.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/partyAccountingSchema

PUT Set PaymentAccountPostingId Invoice

Updates the value of attribute 'PaymentAccountPostingId' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
companyKey (string) The company key.
value (Guid) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/paymentAccountPostingId

PUT Set PaymentMethod Invoice

Updates the value of attribute 'PaymentMethod' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/paymentMethod

PUT Set PaymentTerm Invoice

Updates the value of attribute 'PaymentTerm' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/paymentTerm

PUT Set PostingDate Invoice

Updates the value of attribute 'PostingDate' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
companyKey (string) The company key.
value (DateTime) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/postingDate

PUT Set Quantity InvoiceLine

Updates the value of attribute 'Quantity' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
lineId (string) The detail identifier.
companyKey (string) The company key.
value (decimal) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/documentLines/{lineId}/quantity

PUT Set Remarks Invoice

Updates the value of attribute 'Remarks' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/remarks

PUT Set RoundingTaxableAmount InvoiceTax

Updates the value of attribute 'RoundingTaxableAmount' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
lineId (string) The detail identifier.
companyKey (string) The company key.
value (decimal) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/documentTaxes/{lineId}/roundingTaxableAmount

PUT Set RoundingTaxAmount InvoiceTax

Updates the value of attribute 'RoundingTaxAmount' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
lineId (string) The detail identifier.
companyKey (string) The company key.
value (decimal) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/documentTaxes/{lineId}/roundingTaxAmount

PUT Set SellerSupplierPartyAddress Invoice

Updates the value of attribute 'SellerSupplierPartyAddress' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/sellerSupplierPartyAddress

PUT Set SellerSupplierPartyName Invoice

Updates the value of attribute 'SellerSupplierPartyName' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/sellerSupplierPartyName

PUT Set SellerSupplierPartyTaxId Invoice

Updates the value of attribute 'SellerSupplierPartyTaxId' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/sellerSupplierPartyTaxId

PUT Set TransactionAccount InvoiceLine

Updates the value of attribute 'TransactionAccount' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
lineId (string) The detail identifier.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/documentLines/{lineId}/transactionAccount

PUT Set Unit InvoiceLine

Updates the value of attribute 'Unit' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
lineId (string) The detail identifier.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/documentLines/{lineId}/unit

PUT Set UnitCost InvoiceLine

Updates the value of attribute 'UnitCost' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
lineId (string) The detail identifier.
companyKey (string) The company key.
value (decimal) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/documentLines/{lineId}/unitCost

PUT Set UnitPrice InvoiceLine

Updates the value of attribute 'UnitPrice' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
lineId (string) The detail identifier.
companyKey (string) The company key.
value (decimal) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/documentLines/{lineId}/unitPrice

PUT Set UnloadingBuildingNumber Invoice

Updates the value of attribute 'UnloadingBuildingNumber' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/unloadingBuildingNumber

PUT Set UnloadingCityName Invoice

Updates the value of attribute 'UnloadingCityName' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/unloadingCityName

PUT Set UnloadingCountry Invoice

Updates the value of attribute 'UnloadingCountry' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/unloadingCountry

PUT Set UnloadingDateTime Invoice

Updates the value of attribute 'UnloadingDateTime' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
companyKey (string) The company key.
value (DateTimeOffset) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/unloadingDateTime

PUT Set UnloadingPoint Invoice

Updates the value of attribute 'UnloadingPoint' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/unloadingPoint

PUT Set UnloadingPointAddress Invoice

Updates the value of attribute 'UnloadingPointAddress' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/unloadingPointAddress

PUT Set UnloadingPostalZone Invoice

Updates the value of attribute 'UnloadingPostalZone' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/unloadingPostalZone

PUT Set UnloadingStreetName Invoice

Updates the value of attribute 'UnloadingStreetName' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/unloadingStreetName

PUT Set VehiclePlateNumber Invoice

Updates the value of attribute 'VehiclePlateNumber' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/vehiclePlateNumber

PUT Set Warehouse InvoiceLine

Updates the value of attribute 'Warehouse' in the specified entity record.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
lineId (string) The detail identifier.
companyKey (string) The company key.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/documentLines/{lineId}/warehouse

PUT Set Custom Attribute Invoice

Updates the value of 'CustomAttribute' in the specified entity record.

The following elements are required:

companyKey (string) The company key.
documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
customAttributeName (string) The custom attribute name.
value (ExtensibilityCustomAttributeValueResource) The request body should contain the new value for the custom attribute.
See ExtensibilityCustomAttributeValueResource.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/{customAttributeName}

PUT Set Custom Attribute InvoiceLine

Updates the value of 'CustomAttribute' in the specified entity record.

The following elements are required:

companyKey (string) The company key.
documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
lineId (string) The detail identifier.
customAttributeName (string) The custom attribute name.
value (ExtensibilityCustomAttributeValueResource) The request body should contain the new value for the custom attribute.
See ExtensibilityCustomAttributeValueResource.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

PUT /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/documentLines/{lineId}/{customAttributeName}

DELETE Operations

DELETE Invoice Line by identifier

Deletes the entity record that matches the specified identifier.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
companyKey (string) The company key.
lineId (string) The line identifier.

Response:

When successful, the response body is empty.

Response status codes:

204 NoContent. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

DELETE /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/documentLines/{lineId}

DELETE Invoice Tax by identifier

Deletes the entity record that matches the specified identifier.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
companyKey (string) The company key.
lineId (string) The line identifier.

Response:

When successful, the response body is empty.

Response status codes:

204 NoContent. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

DELETE /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/documentTaxes/{lineId}

DELETE Invoice WTax by identifier

Deletes the entity record that matches the specified identifier.

The following elements are required:

documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
companyKey (string) The company key.
lineId (string) The line identifier.

Response:

When successful, the response body is empty.

Response status codes:

204 NoContent. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

DELETE /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}/documentWTaxes/{lineId}

DELETE Invoice by identifier

Deletes the entity record that matches the specified identifier.

The following elements are required:

id (string) The record identifier.

Response:

When successful, the response body is empty.

Response status codes:

204 Deleted. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

DELETE /invoiceReceipt/invoices/{id}

DELETE Invoice by key

Deletes the entity record that matches the specified key.

The following elements are required:

companyKey (string) The company key.
documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.

Response:

When successful, the response body is empty.

Response status codes:

204 Deleted. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

DELETE /invoiceReceipt/invoices/{companyKey}/{documentType}/{serie}/{seriesNumber}

Resources


ApiInvoiceDocumentLinesResource

The following elements are required:

purchasesItem (string) The purchase item representing the good or service included on the invoice.
itemTaxSchema (string) The invoice line item tax schema. The tax schema identifies the group of taxes a item is liable for. The default tax schema is defined on the purchases item.
unit (string) The invoice line item purchases unit. The default purchases unit is defined on the purchases item.
description (string) The invoice line item description. The default is defined on the purchases item.
quantity (decimal) The invoice line item quantity. The default 1.
unitPrice (decimal) The invoice line item unit price. The default price is loaded from purchases item prices when there is a match on the combination of price list, currency, tax included and unit.
deliveryDate (DateTime) The expected line item delivery date. The default is the document date.
documentLineStatus (enum DocumentLineStatus) The document line status. The default is Open.
See DocumentLineStatus.
unitCost (decimal) The item current unit cost. Used only on inventory items, this value is infered from the material item depending on the warehouse used on this line.

The following elements are optional:

itemWithholdingTaxSchema (string) The invoice line item withholding tax schema. The withholding tax schema identifies the group of withholding taxes a item is liable for. The default withholding tax schema is defined on the purchases item.
baseUnit (string) The invoice line item base unit. The default unit is defined on the item.
warehouse (string) The invoice line item warehouse. The default is defined on the materials item.
discount1 (decimal) The memo line item discount 1 percetange. The default is 0.
discount2 (decimal) The invoice line item discount 2 percentage. The default is 0. This discount is applied over the remaining value after discount 1 is applied.
discount3 (decimal) The invoice line item discount 3 percentage. The default is 0. This discount is applied over the remaining value after discount 1 and 2 are applied.
complementaryDescription (string) The invoice line item complementary description. The default is defined on the sales item.
transactionAccount (string) The invoice line item transaction account. Inferred from the purchases item income account. Internally determined.
commitmentReference (string) Commitment Reference.


ApiInvoiceDocumentTaxesResource

The following elements are required:

roundingTaxableAmount (decimal) The rounding value of the invoice amount of revenue subject to tax.
roundingTaxAmount (decimal) The rounding value of the invoice tax amount. Internally determined.


ApiInvoiceDocumentWTaxesResource



ApiInvoiceResource

The following elements are required:

company (string) The company code is the central organizational unit within the system.
documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
accountingParty (string) The supplier designated in the invoice as the party to whom the memo should be sent. It may or may not be the party from whom the goods or services are received. The default is defined on the supplier party.
sellerSupplierParty (string) The supplier designated in the invoice as the party to whom the invoice is sell. It may or may not be the party from whom the goods or services are received. The default is defined on the supplier party.
paymentTerm (string) The term specifying the manner in which a trade will be done. Generally, these terms specify a period in which the buyer can pay the due amount. They can also demand some money to be paid in advance, paid in cash at delivery, a 30 day or longer period, or other similar arrangements for deferred payment. The default is defined on the supplier party.
paymentMethod (string) The financial transfer method used by the entity responsible for paying a transaction. For example, cash, transfer or check payments. The default is defined on the supplier party.
currency (string) The money unit used by the system, such as Euros (EUR) or United States Dollars (USD). This value is important for currency exchanges or to set the number of decimal places used to represent values. The default is defined on the supplier party.
documentDate (DateTime) The date when the document is issued.
exchangeRate (decimal) The price of the document's currency expressed in the company's base currency. In other words, the rate at which the document's currency can be exchanged for the company's base currency. The default is inferred using the defined exchange rates on the system for the document date and currency.
postingDate (DateTime) The date when the document is created.
discount (decimal) The discount percentage. The default is defined on the supplier party.
loadingCountry (string) The country of the physical location where the goods are loaded. The default is the supplier's address country.
unloadingCountry (string) The country of the physical location where the goods are unloaded. The default is the company's address country.

The following elements are optional:

accountingPartyName (string) The accounting party name. It is inferred from the accounting party.
accountingPartyTaxId (string) The accounting party tax code. It is inferred from the accounting party.
accountingPartyAddress (string) The accounting party address. It is inferred from the accounting party.
sellerSupplierPartyName (string) The seller supplier party name. It is inferred from the seller supplier party.
sellerSupplierPartyTaxId (string) The seller supplier party tax code. It is inferred from the seller supplier party.
sellerSupplierPartyAddress (string) The seller supplier party address. It is inferred from the seller supplier party.
altAddress (string) The alternative party address key to be used on the invoice. The alternative addresses keys are defined on the party additional addresses. When defined overrides the party address and unloading address values.
cashFlowItem (string) The incoming and outgoing cash flow caused by the main business activities. The component of the cash flow operations shows how much money is generated by a company's products or services. Generally, the changes made to the cash, banks, accounts receivables and accounts payable affects operational cash. The classification of each of these operations' types is made by using cash flows. Used when the document is a cash invoice.
financialAccount (string) A financial account that represents either a cash drawer or a bank account and must be used to define where to debit the value. A bank account is an account that exists in a financial institution. The financial institution holds someone's money, resulting in a positive balance. It can also be a credit or loans account in which the bank lends money, resulting in a negative balance or debit. Unlike a brokerage account, which allows the investor to buy and sell stocks, a bank account is used for savings. The types of bank accounts include savings accounts and current accounts. On an invoice either a cash drawer or a bank account must be used to define where to debit the value.
deliveryTerm (string) The conditions in a sales or transportation contract that specify the means of transportation. The default is defined on the supplier party.
documentLines (List of ApiInvoiceDocumentLinesResource) The invoice lines.
See ApiInvoiceDocumentLinesResource.
documentTaxes (List of ApiInvoiceDocumentTaxesResource) The invoice taxes.
See ApiInvoiceDocumentTaxesResource.
note (string) The invoice note.
exchangeRateDate (DateTime) The exchange’s rate date.
remarks (string) The invoice remarks.
paymentAccountPostingId (Guid) The unique identifier of the account posting.
noteToRecipient (string) Note to the invoice's recipient.
outgoingCheckLot (string) The outgoint lot of the check used for this invoice document. Applicable only when the payment is cash payment and the payment method is of type check.
check (string) The check used for this invoice. Applicable only when the payment is cash payment and the payment method is of type check.
loadingPoint (string) The physical location where the goods are loaded. Defines the loading from the freight. The default is the supplier's address.
loadingPointAddress (string) The physical location address where the goods are loaded. The default is the supplier's address.
loadingDateTime (DateTimeOffset) The goods loading date and time from the loading physical location. The default is the invoice creation date and time.
loadingStreetName (string) The street name of the physical location where the goods are loaded. The default is the supplier's address street name.
loadingBuildingNumber (string) The building number of the physical location where the goods are loaded. The default is supplier address building number.
loadingPostalZone (string) The postal zone of the physical location where the goods are loaded. The default is the supplier's address postal zone.
loadingCityName (string) The city name of the physical location where the goods are loaded. The default is the supplier's address city name.
vehiclePlateNumber (string) The vehicle plate used to transport the goods.
unloadingPoint (string) The physical location where the goods are unloaded. Defines the unloading from the freight. The default is the company's physical location.
unloadingPointAddress (string) The physical location address where the goods are unloaded. The default is the company's physical location address.
unloadingDateTime (DateTimeOffset) The goods unloading date and time on the unloading physical location.
unloadingStreetName (string) The street name of the physical location where the goods are unloaded. The default is the company's address street name.
unloadingBuildingNumber (string) The building number of the physical location where the goods are unloaded. The default is the company's address building number.
unloadingPostalZone (string) The postal zone of the physical location where the goods are unloaded. The default is the company's address postal zone.
unloadingCityName (string) The city name of the physical location where the goods are unloaded. The default is the company's address city name.
dueDate (DateTime) The due date. In some countries it is also known as law date.
accountingAltAddress (string) The alternative accounting party address key to be used on the invoice. The alternative addresses keys are defined on the party additional addresses. When defined overrides the accounting party address and unloading address values.
accountingSchema (enum AccountingSchema) The accounting organization method. The organization can follow the rules of "Cash Accounting" or "Accrual Accounting".
See AccountingSchema.
partyAccountingSchema (enum AccountingSchema) The supplier accounting organization method. The supplier organication can follow the rules of "Cash Accounting" or "Accrual Accounting".
See AccountingSchema.
notification (string) The invoice notification configuration. Inferred from the invoice type.
emailTo (string) The email(s) to send invoice notification. Inferred from the notification.
checkNumber (int) The number of the check used for this invoice. Applicable only when the payment is cash payment and the payment method is of type check.


InvoiceLineResource

The following elements are required:

purchasesItem (string) The purchase item representing the good or service included on the invoice.
currency (string) The money unit. Inferred from the invoice currency.
itemTaxSchema (string) The invoice line item tax schema. The tax schema identifies the group of taxes a item is liable for. The default tax schema is defined on the purchases item.
partyTaxSchema (string) The invoice supplier party tax schema. The tax schema identifies the group of taxes a party is liable for. The tax schema is defined in the supplier party.
unit (string) The invoice line item purchases unit. The default purchases unit is defined on the purchases item.
description (string) The invoice line item description. The default is defined on the purchases item.
quantity (decimal) The invoice line item quantity. The default 1.
unitPrice (decimal) The invoice line item unit price. The default price is loaded from purchases item prices when there is a match on the combination of price list, currency, tax included and unit.
taxTotal (decimal) Total amount of taxes for this line. Internally calculated.
deliveryDate (DateTime) The expected line item delivery date. The default is the document date.
documentLineStatus (enum DocumentLineStatus) The document line status. The default is Open.
See DocumentLineStatus.
allowanceChargeAmount (decimal) Total amount of taxes for this line. Internally calculated.
taxExclusiveAmount (decimal) The invoice line net value. The line value after discounts, excluding taxes. Internally calculated.
lineExtensionAmount (decimal) The invoice line payable amount. The line value including taxes and discounts. Internally calculated.
unitCost (decimal) The item current unit cost. Used only on inventory items, this value is infered from the material item depending on the warehouse used on this line.
grossValue (decimal) The invoice line value before taxes or discounts. Internally calculated.
conversionFactor (decimal) The conversion factor from the invoice line purchase unit to the purchase item base unit. In other words, the rate at which the item purchase's unit can be converter to the purchase item base unit.
itemType (enum ItemType) The invoice line item type. Inferred from the puchase item type. Internally determined.
See ItemType.

The following elements are optional:

itemWithholdingTaxSchema (string) The invoice line item withholding tax schema. The withholding tax schema identifies the group of withholding taxes a item is liable for. The default withholding tax schema is defined on the purchases item.
partyWithholdingTaxSchema (string) The invoice supplier party withholding tax schema. The withholding tax schema identifies the group of withholding taxes a party is liable for. The withholding tax schema is defined in the supplier party.
baseUnit (string) The invoice line item base unit. The default unit is defined on the item.
warehouse (string) The invoice line item warehouse. The default is defined on the materials item.
discount1 (decimal) The memo line item discount 1 percetange. The default is 0.
discount2 (decimal) The invoice line item discount 2 percentage. The default is 0. This discount is applied over the remaining value after discount 1 is applied.
discount3 (decimal) The invoice line item discount 3 percentage. The default is 0. This discount is applied over the remaining value after discount 1 and 2 are applied.
inventoryAmount (decimal) The value of stock represented by this line. Used only on inventory items, this value is internally calculated using the Unit Cost and quantity.
complementaryDescription (string) The invoice line item complementary description. The default is defined on the sales item.
sourceSchemaEntity (string) The schema's entity from originating document, possible values: Quotations, Orders, Deliveries, Invoices, GoodsReturns, Memos, DebitNotes.
sourceDoc (string) The source document using the format {..} when the invoice was transformed. The source document is usually the order. Internally determined.
sourceDocId (Guid) The unique identifier of the source document, when the invoice was transformed. The source document is usually the order. Internally determined.
sourceDocLine (int) The source document line number, when the invoice was transformed. Internally determined.
sourceDocLineId (Guid) The source document line id, when the invoice was transformed. Internally determined.
goodsReceiptNote (string) The goods receipt notification that originated the invoice line, when the invoice is transformed. Internally determined.
goodsReceiptNoteId (Guid) The goods receipt notification unique identifier that originated the invoice line, when the invoice is transformed. Internally determined.
goodsReceiptNoteLine (int) The goods receipt notification line number that originated the invoice line, when the invoice is transformed. Internally determined.
goodsReceiptNoteLineId (Guid) The goods receipt notification line unique identifier that originated the invoice line, when the invoice is transformed. Internally determined.
invoiceReceiptNotificationId (Guid) The invoice receipt notification unique identifier that originated the invoice line, when the invoice is transformed. Internally determined.
invoiceReceiptNotificationLineId (Guid) The invoice receipt notification line id that originated the invoice line, when the invoice is transformed. Internally determined.
transactionAccount (string) The invoice line item transaction account. Inferred from the purchases item income account. Internally determined.
printTaxCodes (string) Print Tax Codes.
printAllDiscounts (string) Discount.
commitmentReference (string) Commitment Reference.


InvoiceResource

The following elements are required:

company (string) The company code is the central organizational unit within the system.
(fk) Allowed value: the natural key of a record of type Company. These records are accessibly through the Companies service.
documentType (string) Defines the invoice's purpose. Distinguishes the business transactions to be posted. Part of the document natural key. The default invoice document type is defined in the purchases setup configuration setting.
(fk) Allowed value: the natural key of a record of type InvoiceType. These records are accessibly through the InvoiceTypes service.
serie (string) Defines the sequence to generate the series number. Part of the document natural key. The default serie is defined on the invoice document type.
(fk) Allowed value: the natural key of a record of type Serie. These records are accessibly through the Series service.
seriesNumber (int) The sequential number internally determined that uniquely identifies the +document within the invoice document type and serie. Part of the document natural key.
accountingParty (string) The supplier designated in the invoice as the party to whom the memo should be sent. It may or may not be the party from whom the goods or services are received. The default is defined on the supplier party.
(fk) Allowed value: the natural key of a record of type Party. These records are accessibly through the Parties service.
sellerSupplierParty (string) The supplier designated in the invoice as the party to whom the invoice is sell. It may or may not be the party from whom the goods or services are received. The default is defined on the supplier party.
(fk) Allowed value: the natural key of a record of type SupplierParty. These records are accessibly through the SupplierParties service.
paymentTerm (string) The term specifying the manner in which a trade will be done. Generally, these terms specify a period in which the buyer can pay the due amount. They can also demand some money to be paid in advance, paid in cash at delivery, a 30 day or longer period, or other similar arrangements for deferred payment. The default is defined on the supplier party.
(fk) Allowed value: the natural key of a record of type PaymentTerm. These records are accessibly through the PaymentTerms service.
paymentMethod (string) The financial transfer method used by the entity responsible for paying a transaction. For example, cash, transfer or check payments. The default is defined on the supplier party.
(fk) Allowed value: the natural key of a record of type PaymentMethod. These records are accessibly through the PaymentMethods service.
currency (string) The money unit used by the system, such as Euros (EUR) or United States Dollars (USD). This value is important for currency exchanges or to set the number of decimal places used to represent values. The default is defined on the supplier party.
(fk) Allowed value: the natural key of a record of type Currency. These records are accessibly through the Currencies service.
documentDate (DateTime) The date when the document is issued.
exchangeRate (decimal) The price of the document's currency expressed in the company's base currency. In other words, the rate at which the document's currency can be exchanged for the company's base currency. The default is inferred using the defined exchange rates on the system for the document date and currency.
postingDate (DateTime) The date when the document is created.
grossValue (decimal) The total value of goods and services before taxes or discounts.
discount (decimal) The discount percentage. The default is defined on the supplier party.
allowanceChargeAmount (decimal) The total’s discount over goods and services. Internally calculated.
taxExclusiveAmount (decimal) The invoice total net value. Total value of goods and services after discounts, excluding taxes. Internally calculated.
taxTotal (decimal) The total's tax value of goods and services. Internally calculated.
payableAmount (decimal) The invoice's amount. Total value of goods and services including taxes and discounts. Internally calculated.
wTaxTotal (decimal) The total’s withholding tax value of goods and services. Internally calculated.
totalLiability (decimal) The document's total liability. Internally calculated.
cashInvoice (bool) Indicates whether the invoice is a cash invoice or not. Defined internally and inferred from the invoice type.
documentStatus (enum DocumentStatus) The document status. Internally determined.
See DocumentStatus.
isTransformed (bool) Defines if the invoice was transformed from the other document. Internally determined.
loadingCountry (string) The country of the physical location where the goods are loaded. The default is the supplier's address country.
(fk) Allowed value: the natural key of a record of type Country. These records are accessibly through the Countries service.
unloadingCountry (string) The country of the physical location where the goods are unloaded. The default is the company's address country.
(fk) Allowed value: the natural key of a record of type Country. These records are accessibly through the Countries service.
discountInValueAmount (decimal) Discount In Value.
isLocked (bool) Is Locked.

The following elements are optional:

accountingPartyName (string) The accounting party name. It is inferred from the accounting party.
accountingPartyTaxId (string) The accounting party tax code. It is inferred from the accounting party.
accountingPartyAddress (string) The accounting party address. It is inferred from the accounting party.
sellerSupplierPartyName (string) The seller supplier party name. It is inferred from the seller supplier party.
sellerSupplierPartyTaxId (string) The seller supplier party tax code. It is inferred from the seller supplier party.
sellerSupplierPartyAddress (string) The seller supplier party address. It is inferred from the seller supplier party.
altAddress (string) The alternative party address key to be used on the invoice. The alternative addresses keys are defined on the party additional addresses. When defined overrides the party address and unloading address values.
(fk) Allowed value: the natural key of a record of type Address. These records are accessibly through the Addresses service.
cashFlowItem (string) The incoming and outgoing cash flow caused by the main business activities. The component of the cash flow operations shows how much money is generated by a company's products or services. Generally, the changes made to the cash, banks, accounts receivables and accounts payable affects operational cash. The classification of each of these operations' types is made by using cash flows. Used when the document is a cash invoice.
(fk) Allowed value: the natural key of a record of type CashFlowItem. These records are accessibly through the CashFlowItems service.
financialAccount (string) A financial account that represents either a cash drawer or a bank account and must be used to define where to debit the value. A bank account is an account that exists in a financial institution. The financial institution holds someone's money, resulting in a positive balance. It can also be a credit or loans account in which the bank lends money, resulting in a negative balance or debit. Unlike a brokerage account, which allows the investor to buy and sell stocks, a bank account is used for savings. The types of bank accounts include savings accounts and current accounts. On an invoice either a cash drawer or a bank account must be used to define where to debit the value.
(fk) Allowed value: the natural key of a record of type FinancialAccount. These records are accessibly through the FinancialAccounts service.
deliveryTerm (string) The conditions in a sales or transportation contract that specify the means of transportation. The default is defined on the supplier party.
(fk) Allowed value: the natural key of a record of type DeliveryTerm. These records are accessibly through the DeliveryTerms service.
documentLines (List of InvoiceLineResource) The invoice lines.
See InvoiceLineResource.
documentTaxes (List of InvoiceTaxResource) The invoice taxes.
See InvoiceTaxResource.
note (string) The invoice note.
exchangeRateDate (DateTime) The exchange’s rate date.
remarks (string) The invoice remarks.
isPrinted (bool) Indicates if the invoice has been printed. Internally determined.
taxIncluded (bool) Indicates whether the unit prices have taxes included or not. The value is inferred from the invoice series.
paymentAccountPostingId (Guid) The unique identifier of the account posting.
noteToRecipient (string) Note to the invoice's recipient.
outgoingCheckLot (string) The outgoint lot of the check used for this invoice document. Applicable only when the payment is cash payment and the payment method is of type check.
(fk) Allowed value: the natural key of a record of type OutgoingCheckLot.
check (string) The check used for this invoice. Applicable only when the payment is cash payment and the payment method is of type check.
(fk) Allowed value: the natural key of a record of type Check.
legalStamp (string) In some countries, the documents issued by a company have to contain mandatory remarks, clearly visible in printing, which may vary according to the document. These texts are printed under the signature terms. Internally determined.
isPaymentMethodCheck (bool) Determines if the used payment method is of type check. Applicable only when the payment is cash payment and the payment method is of type check. Internally determined.
loadingPoint (string) The physical location where the goods are loaded. Defines the loading from the freight. The default is the supplier's address.
loadingPointAddress (string) The physical location address where the goods are loaded. The default is the supplier's address.
loadingDateTime (DateTimeOffset) The goods loading date and time from the loading physical location. The default is the invoice creation date and time.
loadingStreetName (string) The street name of the physical location where the goods are loaded. The default is the supplier's address street name.
loadingBuildingNumber (string) The building number of the physical location where the goods are loaded. The default is supplier address building number.
loadingPostalZone (string) The postal zone of the physical location where the goods are loaded. The default is the supplier's address postal zone.
loadingCityName (string) The city name of the physical location where the goods are loaded. The default is the supplier's address city name.
vehiclePlateNumber (string) The vehicle plate used to transport the goods.
unloadingPoint (string) The physical location where the goods are unloaded. Defines the unloading from the freight. The default is the company's physical location.
unloadingPointAddress (string) The physical location address where the goods are unloaded. The default is the company's physical location address.
unloadingDateTime (DateTimeOffset) The goods unloading date and time on the unloading physical location.
unloadingStreetName (string) The street name of the physical location where the goods are unloaded. The default is the company's address street name.
unloadingBuildingNumber (string) The building number of the physical location where the goods are unloaded. The default is the company's address building number.
unloadingPostalZone (string) The postal zone of the physical location where the goods are unloaded. The default is the company's address postal zone.
unloadingCityName (string) The city name of the physical location where the goods are unloaded. The default is the company's address city name.
dueDate (DateTime) The due date. In some countries it is also known as law date.
accountingAltAddress (string) The alternative accounting party address key to be used on the invoice. The alternative addresses keys are defined on the party additional addresses. When defined overrides the accounting party address and unloading address values.
(fk) Allowed value: the natural key of a record of type Address. These records are accessibly through the Addresses service.
accountingSchema (enum AccountingSchema) The accounting organization method. The organization can follow the rules of "Cash Accounting" or "Accrual Accounting".
See AccountingSchema.
partyAccountingSchema (enum AccountingSchema) The supplier accounting organization method. The supplier organication can follow the rules of "Cash Accounting" or "Accrual Accounting".
See AccountingSchema.
notification (string) The invoice notification configuration. Inferred from the invoice type.
(fk) Allowed value: the natural key of a record of type Notification. These records are accessibly through the Notifications service.
emailTo (string) The email(s) to send invoice notification. Inferred from the notification.
checkNumber (int) The number of the check used for this invoice. Applicable only when the payment is cash payment and the payment method is of type check.
lockReason (string) Lock Reason.
(fk) Allowed value: the natural key of a record of type EntityLockReason. These records are accessibly through the EntityLockReasons service.
printedReportName (string) Printed Report Name.
isReprinted (bool) Is Reprinted.
isSigned (bool) Is Signed.


InvoiceTaxResource

The following elements are required:

taxableAmount (decimal) The amount of revenue subject to tax. This taxable amount is calculated by subtracting the corresponding discounts and allowance charges to the gross value. Internally determined.
taxAmount (decimal) The invoice's tax amount. Internally determined.
isExempt (bool) Indicates whether the invoice tax schema is exempt. Internally determined.
roundingTaxableAmount (decimal) The rounding value of the invoice amount of revenue subject to tax.
roundingTaxAmount (decimal) The rounding value of the invoice tax amount. Internally determined.
totalTaxableAmount (decimal) The total amount of revenue subject to tax.
totalTaxAmount (decimal) The total invoice tax amount. Internally determined.
taxTypeCode (string) Invoice tax type code. Internally determined.
currency (string) Money unit. Inferred from the invoice currency. Internally determined.

The following elements are optional:

taxPercentage (decimal) Invoice tax rate. Internally determined.
exemptionReasonCode (string) Indicates the invoice tax schema exemption reason. Applicable only if the tax schema is exempt. Internally determined.


ExtensibilityCustomAttributeValueResource

The following elements are required:

value (object) The custom attribute value.

Enumerations


AccountingSchema

1 Accrual Accrual Accounting Schema.
2 Cash


DocumentLineStatus

1 Open
2 Completed


DocumentStatus

1 Open
2 Completed


ItemType

1 Item
2 Service
3 SpecialSalesTaxes
4 Tax
5 Other