Unable import the AR transactionTax correctly with API AR_INVOICE_API_PUB.CREATE_SINGLE_INVOICE
Hi,
When i use the below scripts, the AR transaction is created, but the tax line is created with the default tax(VAT17), not the tax with the tax code(VAT6,VAT11) i populated. Could you pls indicate me where is the issue? thanks a lot.
DECLARE
p_msg_count NUMBER;
p_msg_data VARCHAR2(2000);
p_trx_header_tbl ar_invoice_api_pub.trx_header_tbl_type;
p_trx_lines_tbl ar_invoice_api_pub.trx_line_tbl_type;
p_trx_dist_tbl ar_invoice_api_pub.trx_dist_tbl_type;
p_trx_salescredits_tbl ar_invoice_api_pub.trx_salescredits_tbl_type;