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": "049782c7-9947-4550-897e-859a77a1b18b",
"InvoiceNumber": 2,
"CustomerId": "f741e657-942a-4549-bbe7-fb1fe3ccc15b",
"Remarks": "sample string 4",
"InvoiceTotal": 5.0,
"PaymentStatus": 6,
"PaidDate": "2026-03-21T23:42:15.5019787+01:00",
"DueDate": "2026-03-21T23:42:15.5019787+01:00",
"EmailSent": true,
"SentDate": "2026-03-21T23:42:15.5019787+01:00",
"OutletId": "381eb353-905c-41f2-bc5d-26e4720ff1f0",
"TerminalId": "f9f575fa-1ab3-4eab-8469-272056a9a931",
"ForeignInvoiceNumber": 10,
"Deleted": true,
"ExportStatus": 12,
"ExportError": "sample string 13",
"CreationDate": "2026-03-21T23:42:15.5019787+01:00",
"Synced": true,
"OrdersGuid": [
"470a7d99-84a5-4fc1-ab0b-1e709ce45544",
"7ebcf190-556f-42d9-a24e-eb66f8087ef5"
],
"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.