tax_lines is present on both line_items and order level

New Member
1 0 1

Hi Community! First post :)


The documentation says:

"When creating an order through the API, tax lines can be specified on the order or the line items but not both. Tax lines specified on the order are split across the taxable line items in the created order."


And from the testing I have been doing on the orders endpoint of the API, I seem to be getting tax_lines both on order and line item level. I am wondering how should this be interpreted? Is it a bug?