POST api/Order/PostCustomerInvoice
Post Customer Inocise
Request Information
URI Parameters
None.
Body Parameters
Inoice model with list of orders linke with invoice
CustomerInvoice| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| InvoiceNumber | integer |
None. |
|
| CustomerId | globally unique identifier |
None. |
|
| Remarks | string |
None. |
|
| InvoiceTotal | decimal number |
None. |
|
| PaymentStatus | integer |
None. |
|
| PaidDate | date |
None. |
|
| DueDate | date |
None. |
|
| EmailSent | boolean |
None. |
|
| SentDate | date |
None. |
|
| OutletId | globally unique identifier |
None. |
|
| TerminalId | globally unique identifier |
None. |
|
| ForeignInvoiceNumber | integer |
None. |
|
| Deleted | boolean |
None. |
|
| ExportStatus | integer |
None. |
|
| ExportError | string |
Max length: 500 |
|
| CreationDate | date |
None. |
|
| Synced | boolean |
None. |
|
| OrdersGuid | Collection of globally unique identifier |
None. |
|
| PaidStatus | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "c62f63e1-c8cb-4940-ad32-707adbdf2bd6",
"InvoiceNumber": 2,
"CustomerId": "67993608-66ed-4761-b3b3-cbc5e2f5a542",
"Remarks": "sample string 4",
"InvoiceTotal": 5.0,
"PaymentStatus": 6,
"PaidDate": "2026-09-20T13:17:21.0612428+02:00",
"DueDate": "2026-09-20T13:17:21.0612428+02:00",
"EmailSent": true,
"SentDate": "2026-09-20T13:17:21.0612428+02:00",
"OutletId": "8a04cf77-dd82-44c6-8196-0280ac1222d5",
"TerminalId": "520d27c9-9ee4-4372-893d-ff679e02a835",
"ForeignInvoiceNumber": 10,
"Deleted": true,
"ExportStatus": 12,
"ExportError": "sample string 13",
"CreationDate": "2026-09-20T13:17:21.0612428+02:00",
"Synced": true,
"OrdersGuid": [
"c1c719d3-d81e-45de-93ea-6dc60c886e6d",
"0f150fde-8507-4f3b-80ca-07e0e40628bf"
],
"PaidStatus": "Okänd"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.