XeroAPI / Xero-Java

Official Java client for use with Xero API
MIT License
78 stars 88 forks source link

GST on Expenses for LineItems #371

Closed arifainchtein closed 3 months ago

arifainchtein commented 3 months ago

Hello, I am using the api to create a payment , i need to set the tax rate for each line item to GST On Expenses, however, that option is not available on the TaxType class. If i dont put anything, it defaults to BASEXCLUDED which is wrong. How can i set the taxrate of a lineitem to GST n Expenses? thanks

github-actions[bot] commented 3 months ago

PETOSS-537

github-actions[bot] commented 3 months ago

Thanks for raising an issue, a ticket has been created to track your request

dev-welli commented 3 months ago

To override the default tax rate of an account, you'll need to use the TaxType field and specify it to the value that you want to use. For "GST on Expenses" in AUstralia, the TaxType is INPUT

Xero Developer Center: Tax Types