OrderCalculateCalculations

  • Order amount for payment

  • Whether the tax is included in the product prices ("inclusive") or taxes are not included in product prices and need to be calculated on top ("exclusive")

  • delivery fee from venue to customer address

  • Order total discount

  • amount of processed external payment

  • if subtotal is less than minimal_order_ammount then minimun_surcharge is added to total

  • Order subsidy

  • Order subtotal (lowest unit), excluding discounts, taxes and fees

  • Total tax amount (lowest unit) of the order - depending on calculation_method is included in subtotal or not

  • Order tax exemption

  • Tax amount (lowest unit) by tax percentage - depending on your region / country, a tax breakdown may be required to be shown to your customer

    Properties: 1
  • Order tip amount

  • All-in payable total (lowest unit) of the order, including discounts, taxes and fees

Examples
{
  "calculation_method": "inclusive",
  "subtotal": 17692,
  "discount": 0,
  "subsidy": 0,
  "external_payment_amount": 300,
  "delivery_fee": 0,
  "minimum_surcharge": 0,
  "tip": 0,
  "tip_rate": 0,
  "total": 17692,
  "amount_for_payment": 17692,
  "tax": 842,
  "tax_exemption": 0,
  "tax_rates": {
    "10": 880
  },
  "customer_account_id": "6735e303-50a1-4887-9b11-915a6919cc66"
}