A Credit Note in Unimarket is treated as a negative invoice. This means it will use the same structure as an invoice however with a negative quantity and negative totals, The unit price remains positive.
Note: Credits must only contain negative lines. They cannot have a mix of negative and positive lines. |
Example InvoiceDetailOrder
<InvoiceDetailOrder> <InvoiceDetailOrderInfo> <OrderReference orderID="684078"/> </InvoiceDetailOrderInfo> <InvoiceDetailItem invoiceLineNumber="2" quantity="-1.00"> <UnitOfMeasure>PACK</UnitOfMeasure> <UnitPrice> <Money currency="NZD">11.80</Money> </UnitPrice> <InvoiceDetailItemReference lineNumber="2"> <ItemID> <SupplierPartID>PROD12345</SupplierPartID> </ItemID> <Description lang="en">Example Product Description</Description> </InvoiceDetailItemReference> <SubtotalAmount> <Money currency="NZD">-11.80</Money> </SubtotalAmount> <Tax> <Money currency="NZD">-1.77</Money> <Description lang="en">GST</Description> </Tax> </InvoiceDetailItem> </InvoiceDetailOrder> |
Subtotal Calculation
Quantity: -1.00
<InvoiceDetailItem invoiceLineNumber="2" quantity="-1.00">
Unit Price: 11.80
<UnitPrice><Money currency="NZD">11.80</Money></UnitPrice>
Quantity x Unit Price = Subtotal
-1.00 x 11.80 = -11.80
<SubtotalAmount><Money currency="NZD">-11.80</Money></SubtotalAmount>
Example InvoiceDetailSummary
<InvoiceDetailSummary> <SubtotalAmount> <Money currency="NZD">-11.80</Money> </SubtotalAmount> <Tax> <Money currency="NZD">-1.77</Money> <Description lang="en">GST</Description> </Tax> <GrossAmount> <Money currency="NZD">-13.57</Money> </GrossAmount> <NetAmount> <Money currency="NZD">-13.57</Money> </NetAmount> </InvoiceDetailSummary> |
See the articles below for additional information on Invoice Integration:
Invoice Integration - Overview
Invoice Integration - cXML Request
Invoice Integration - cXML Header (Credentials)
Invoice Integration - InvoiceDetailSummary
Invoice Integration - InvoiceDetailOrder
Invoice Integration - Discount at Header Level
Invoice Integration - Shipping at Header Level
Invoice Integration - Shipping at Line Level
Invoice Integration - Shipping & Special Handling at Header Level
Invoice Integration - Shipping & Special Handling at Line Level