Currency, Quantity & Percentage Format


Important!

Quantity, UnitPrice, DiscountPercent and VatPercent for each order row is expected to be given in minor currency.

var Cart = {
    Items: [{                   // In this example we create
        Quantity: 100,          // one item
        Name: "Computer",       // called “Computer”
        UnitPrice: 500000,      // with a price of 5000 SEK,
        DiscountPercent: 1000,  // a discount of 10%
        VatPercent: 2500        // and 25% VAT
    }]
};