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": "e080f6e2-483e-447f-898b-c88ef63de9c6",
"InvoiceNumber": 2,
"CustomerId": "22b7156c-b435-42ae-a64f-655092fbc10c",
"Remarks": "sample string 4",
"InvoiceTotal": 5.0,
"PaymentStatus": 6,
"PaidDate": "2026-05-06T16:16:47.6904356+02:00",
"DueDate": "2026-05-06T16:16:47.6904356+02:00",
"EmailSent": true,
"SentDate": "2026-05-06T16:16:47.6904356+02:00",
"OutletId": "75d25853-9f2a-453a-bccc-560bcf305560",
"TerminalId": "6db295d4-5702-4ac3-87a9-7c43b9efbb93",
"ForeignInvoiceNumber": 10,
"Deleted": true,
"ExportStatus": 12,
"ExportError": "sample string 13",
"CreationDate": "2026-05-06T16:16:47.6904356+02:00",
"Synced": true,
"OrdersGuid": [
"24d68670-059f-48d6-9b7e-569ae5527cd1",
"246979f6-190d-4411-8372-f75a74508069"
],
"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.