POST api/v{version}/Invoices/ImportInvoice?key={key}
Imports an invoice
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| key |
The API key |
string |
Required |
| version | string |
None. |
Body Parameters
The invoice to import
InvoiceInDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| BarCode | string |
None. |
|
| Company | string |
None. |
|
| Creditor | string |
None. |
|
| DeliveryNoteNumber | string |
None. |
|
| InvoiceDate | date |
None. |
|
| InvoiceLines | Collection of InvoiceLineInDTO |
None. |
|
| InvoiceNumber | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"BarCode": "sample string 1",
"Company": "sample string 2",
"Creditor": "sample string 3",
"DeliveryNoteNumber": "sample string 4",
"InvoiceDate": "2025-12-19T17:08:23.2843687+01:00",
"InvoiceLines": [
{
"Amount": 1.0,
"DeliveryNumber": 1,
"Discount": 1.0,
"ItemCode": "sample string 1",
"OrderNumber": 1,
"Price": 1.0,
"Quantity": 1.0,
"Reference": "sample string 2"
},
{
"Amount": 1.0,
"DeliveryNumber": 1,
"Discount": 1.0,
"ItemCode": "sample string 1",
"OrderNumber": 1,
"Price": 1.0,
"Quantity": 1.0,
"Reference": "sample string 2"
}
],
"InvoiceNumber": "sample string 5"
}
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |