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": "41f83e66-5ef3-4365-95e3-2a2fb099ee33",
"InvoiceNumber": 2,
"CustomerId": "ca84d3b1-7162-4058-a30f-ed1e7296139f",
"Remarks": "sample string 4",
"InvoiceTotal": 5.0,
"PaymentStatus": 6,
"PaidDate": "2026-06-21T22:48:27.9745441+02:00",
"DueDate": "2026-06-21T22:48:27.9745441+02:00",
"EmailSent": true,
"SentDate": "2026-06-21T22:48:27.9745441+02:00",
"OutletId": "c7cf3ff9-453b-4c07-8f57-3274a1f04373",
"TerminalId": "610114fe-ea20-43a1-a947-8e012046867d",
"ForeignInvoiceNumber": 10,
"Deleted": true,
"ExportStatus": 12,
"ExportError": "sample string 13",
"CreationDate": "2026-06-21T22:48:27.9745441+02:00",
"Synced": true,
"OrdersGuid": [
"f2c49c48-84f3-49ba-8245-4f55e6c52957",
"4f3ce40a-b3f9-4121-8af4-6c876176992f"
],
"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.