The InvoiceTerms JSON object defines the terms of an invoice in the Dsco system.

- Make sure you're familiar with JSON before continuing.
- The JSON objects are defined using Orderly.  Optional attrs end with a "?" all others are required.

- isodate fields use one of these ISO 8601 format: 2014-01-01T10:30:00.000+01:00, 2014-01-01T10:30:00.000+0100, 2014-01-01T10:30:00.000Z
- Dsco reserves the right to add new attributes at any time so Partners should ensure their validators won't break should this happen

Definition

    Object
{
    string type?;                         # The type of the terms
    isodate basisDate?;                   # The supplier-provided unique ID for the invoice
    double discountPercent?;              # The associated order's PO Number
    isodate discountDueDate?              # The discount due date
    int discountDaysDue?;                 # The number of days the discount is due in
    isodate netDueDate?;                  # The net due date
    int netDueDays?;                      # The number of days until the net due date
    double discountAmount?;               # The discount amount
    int dayOfMonth?;                      # The day of the month
    double totalAmountSubjectToDiscount?; # The subtotal excluding line items
};
  

Example

    {
    "type": "the type",
    "basisDate": "2014-01-01T10:30:00+01:00",
    "discountPercent": .7
}
  
Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.