added

2024-09 Surcharge in Sales

Surcharging Feature Update for X-Series:

  • Added a new SURCHARGE adjustment type.
  • Introduced a new surcharge object within the payment field in the /api/2.0/sales endpoint. This object includes the surcharge rule and the amount charged for the specific payment. Multiple rules will be consolidated under n rates.
  • Added an array called surcharges within the line_items object in the /api/2.0/sales endpoint. This array reflects the distributed surcharge calculation applied to each line item and differs from the surcharge object in the payment field.

Affected APIs: