POST api/Order/PostCustomerInvoice

Post Customer Inocise

Request Information

URI Parameters

None.

Body Parameters

Inoice model with list of orders linke with invoice

CustomerInvoice
NameDescriptionTypeAdditional 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": "b27ce490-d0d7-418d-9659-f1fd990d9e80",
  "InvoiceNumber": 2,
  "CustomerId": "bbffeb7b-3505-412c-8fef-475470c42289",
  "Remarks": "sample string 4",
  "InvoiceTotal": 5.0,
  "PaymentStatus": 6,
  "PaidDate": "2024-05-16T06:35:59.4697561+02:00",
  "DueDate": "2024-05-16T06:35:59.4697561+02:00",
  "EmailSent": true,
  "SentDate": "2024-05-16T06:35:59.4697561+02:00",
  "OutletId": "8df1b8ac-8a35-49d5-a877-3afaae52bb96",
  "TerminalId": "0494bb9f-7797-4f30-92a7-6f1361b28423",
  "ForeignInvoiceNumber": 10,
  "Deleted": true,
  "ExportStatus": 12,
  "ExportError": "sample string 13",
  "CreationDate": "2024-05-16T06:35:59.4707567+02:00",
  "Synced": true,
  "OrdersGuid": [
    "bff63ba1-b37b-4c56-9b81-6a191f9ac654",
    "5ac098ad-c3e1-4fd3-a8ee-f39362c2d621"
  ],
  "PaidStatus": "Okänd"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.