added
2024-09 Surcharge in Sales
23 days ago by ReadMe API
Surcharging Feature Update for X-Series:
- Added a new
SURCHARGE
adjustment type. - Introduced a new
surcharge
object within thepayment
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 theline_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: