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": "ea5a8cd6-6ef4-463a-a650-9c04365c409c",
"InvoiceNumber": 2,
"CustomerId": "9a843c5c-f8b8-4bb1-b2a1-5beaa4148c20",
"Remarks": "sample string 4",
"InvoiceTotal": 5.0,
"PaymentStatus": 6,
"PaidDate": "2026-11-04T13:35:58.4215578+01:00",
"DueDate": "2026-11-04T13:35:58.4215578+01:00",
"EmailSent": true,
"SentDate": "2026-11-04T13:35:58.4215578+01:00",
"OutletId": "a4ff93cf-15d2-487b-86c5-bb293263ec6c",
"TerminalId": "d8b7b75e-93d2-47ad-8ffb-b74040de0ab5",
"ForeignInvoiceNumber": 10,
"Deleted": true,
"ExportStatus": 12,
"ExportError": "sample string 13",
"CreationDate": "2026-11-04T13:35:58.4215578+01:00",
"Synced": true,
"OrdersGuid": [
"64ec2699-8990-419e-9139-074e120d995c",
"0abf79e0-0400-4504-a569-42a673736d28"
],
"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.