POST customercredit/creditnote
By Customer Code Create Credit Note (Like POST New Sales Order (Customer, Shipto, Item Lines,)
Request Information
URI Parameters
None.
Body Parameters
Interprise.Web.Services.Models.CreditMemoInputName | 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. |
Post | boolean |
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.CreditMemoInput+CreditMemoItem |
None. |
|
CustomFields |
Collection of all the custom fields within a model |
Collection of Interprise.Web.Services.Models.CustomField |
None. |
Request Formats
{ "invoiceDate": "2025-04-29T10:44:18.4293821+01:00", "shippingDate": "2025-04-29T10:44:18.4293821+01:00", "customerCode": "sample string 1", "customerName": "sample string 2", "paymentTermCode": "sample string 3", "post": true, "sourceCode": "sample string 4", "customerPO": "sample string 5", "reference2": "sample string 6", "notes": "sample string 7", "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", "goodQty": 1.0, "defectiveQty": 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", "goodQty": 1.0, "defectiveQty": 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.CreditMemoInputName | Description | Type | Additional information |
---|---|---|---|
data | Interprise.Web.Services.Http.DataNodeOfInterprise.Web.Services.Models.CreditMemoInput |
None. |
|
links | Interprise.Web.Services.Http.LinksNode |
None. |
Response Formats
Sample not available.