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": "4a49f3ec-4d22-4774-8bf9-6f9131637137",
"InvoiceNumber": 2,
"CustomerId": "8aecfde5-5d78-4344-96f6-6e922830302b",
"Remarks": "sample string 4",
"InvoiceTotal": 5.0,
"PaymentStatus": 6,
"PaidDate": "2026-08-06T01:29:38.0734478+02:00",
"DueDate": "2026-08-06T01:29:38.0734478+02:00",
"EmailSent": true,
"SentDate": "2026-08-06T01:29:38.0734478+02:00",
"OutletId": "4cb9aba9-fed0-494b-897d-5a9b8f3cbf4d",
"TerminalId": "c7d6b73f-2527-4126-8961-a4b5c700592b",
"ForeignInvoiceNumber": 10,
"Deleted": true,
"ExportStatus": 12,
"ExportError": "sample string 13",
"CreationDate": "2026-08-06T01:29:38.0734478+02:00",
"Synced": true,
"OrdersGuid": [
"393767b4-248f-4fd0-934e-8a7485c4fcb1",
"081ef85c-8d72-452c-b13e-65e1a75661f9"
],
"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.