POST invoice
Creates customer invoice
Request Information
URI Parameters
None.
Body Parameters
Invoice details
Interprise.Web.Services.Models.CustomerInvoiceInputName | Description | Type | Additional information |
---|---|---|---|
InvoiceDate |
Optional, default to Today's date |
date |
None. |
ShippingDate |
Optional |
date |
None. |
CustomerCode |
Optional when customer name is specified |
string |
None. |
CustomerName |
Optional when customer code is specified |
string |
None. |
PaymentTermCode |
Payment Term |
string |
None. |
PaymentTypeCode |
Payment Type |
string |
None. |
SourceCode | string |
None. |
|
CustomerPO | string |
None. |
|
Reference2 | string |
None. |
|
Notes | string |
None. |
|
FreightAmount | decimal number |
None. |
|
OtherAmount | decimal number |
None. |
|
ShipToAddress | Interprise.Web.Services.Models.CustomerInvoiceInput+InvoiceShipAddress |
None. |
|
BillToAddress | Interprise.Web.Services.Models.CustomerInvoiceInput+InvoiceBillToAddress |
None. |
|
Items | Collection of Interprise.Web.Services.Models.CustomerInvoiceInput+InvoiceItem |
None. |
|
CustomFields |
Collection of all the custom fields within a model |
Collection of Interprise.Web.Services.Models.CustomField |
None. |
Request Formats
{ "invoiceDate": "2025-04-29T16:14:18.132494+01:00", "shippingDate": "2025-04-29T16:14:18.132494+01:00", "customerCode": "sample string 1", "customerName": "sample string 2", "paymentTermCode": "sample string 3", "paymentTypeCode": "sample string 4", "sourceCode": "sample string 5", "customerPO": "sample string 6", "reference2": "sample string 7", "notes": "sample string 8", "freightAmount": 1.0, "otherAmount": 1.0, "shipToAddress": { "shipToName": "sample string 1", "shipToCode": "sample string 2", "shippingMethodCode": "sample string 3", "shipToAddress": "sample string 4", "shipToCity": "sample string 5", "shipToState": "sample string 6", "shipToPostalCode": "sample string 7", "shipToCountry": "sample string 8", "shipToCounty": "sample string 9" }, "billToAddress": { "billToAddress": "sample string 1", "billToCity": "sample string 2", "billToState": "sample string 3", "billToPostalCode": "sample string 4", "billToCounty": "sample string 5", "billToCountry": "sample string 6" }, "items": [ { "itemName": "sample string 1", "itemDescription": "sample string 2", "unitMeasureCode": "sample string 3", "warehouseCode": "sample string 4", "itemQuantity": 1.0, "itemUnitPrice": 1.0, "customFields": [ { "field": "sample string 1", "value": {} }, { "field": "sample string 1", "value": {} } ] }, { "itemName": "sample string 1", "itemDescription": "sample string 2", "unitMeasureCode": "sample string 3", "warehouseCode": "sample string 4", "itemQuantity": 1.0, "itemUnitPrice": 1.0, "customFields": [ { "field": "sample string 1", "value": {} }, { "field": "sample string 1", "value": {} } ] } ], "customFields": [ { "field": "sample string 1", "value": {} }, { "field": "sample string 1", "value": {} } ] }
Response Information
Resource Description
Interprise.Web.Services.Http.MetadataOfInterprise.Web.Services.Models.CustomerInvoiceInputName | Description | Type | Additional information |
---|---|---|---|
data | Interprise.Web.Services.Http.DataNodeOfInterprise.Web.Services.Models.CustomerInvoiceInput |
None. |
|
links | Interprise.Web.Services.Http.LinksNode |
None. |
Response Formats
Sample not available.