Tax calculation for sales order invoice
Hi,
I am creating sales orders invoices using the AR_INVOICE_API_PUB.create_single_invoice. But i need to also include tax lines when generating the invoice. By passing line_type as "TAX", i am able to generate tax lines also. But how can we dynamically retrieve the tax details with different Tax Classification Code. Currently, i am using Location as the tax classification code but if i were to choose VAT, how can i dynamically get the data related to that.
What i need is a query that can connect the tax classification code with the details of the tax