We create transactions over API. When looking at the XML schema, the line item model on the create transaction request can take several fields which describe tax and discount amounts for those line items.
These same fields are available when retrieving a transaction by transaction ID over API (GetTransactionDetails request).
However, when we populate the discountAmount, taxAmount, and related fields the resulting transactions simply have 0 and false for all of those fields.
This brings me to my question:
How do we populate discount/tax fields of line items when creating a transaction? If it can't be done over API when creating the transaction then why do these fields even exist? Surely there is a way to provide this information when creating a transaction if the fields exist on the transaction line item model.
11-07-2023 07:04 AM - edited 11-07-2023 07:18 AM