cancel
Showing results for 
Search instead for 
Did you mean: 

Line item model when creating an account over API: discount + tax information

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.

 

boylec
Member
0 REPLIES 0