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": "93e6ef2e-b7b0-4f88-bec8-0aeb129476a4",
"InvoiceNumber": 2,
"CustomerId": "b75a32c5-9eea-4577-b718-5916f6047f23",
"Remarks": "sample string 4",
"InvoiceTotal": 5.0,
"PaymentStatus": 6,
"PaidDate": "2026-02-04T04:09:18.9149548+01:00",
"DueDate": "2026-02-04T04:09:18.9149548+01:00",
"EmailSent": true,
"SentDate": "2026-02-04T04:09:18.9149548+01:00",
"OutletId": "e987520f-eb02-4fba-b28a-01d6a5f8d44a",
"TerminalId": "f75383d8-9c1c-478e-b242-848dc1c3e50f",
"ForeignInvoiceNumber": 10,
"Deleted": true,
"ExportStatus": 12,
"ExportError": "sample string 13",
"CreationDate": "2026-02-04T04:09:18.9149548+01:00",
"Synced": true,
"OrdersGuid": [
"bcab8716-9132-4491-9b18-bffc630e99a8",
"e2bbd6b5-31b9-4390-9682-e66adba2bfb1"
],
"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.