TaxUncommitted::getCalculatedTaxAmountForInvoice Method
Gets the calculated tax amount for the invoice.
Syntax
client server public static TaxAmountCur getCalculatedTaxAmountForInvoice(
RefTableId _documentTableId,
RefRecId _documentId,
Voucher _voucher,
InvoiceId _invoiceId,
boolean _includeUseTax)
Run On
Called
Parameters
- _documentTableId
Type: RefTableId Extended Data Type
The table ID for the transaction header.
- _documentId
Type: RefRecId Extended Data Type
The record ID of the transaction header.
- _voucher
Type: Voucher Extended Data Type
The voucher.
- _invoiceId
Type: InvoiceId Extended Data Type
The invoice ID.
- _includeUseTax
Type: boolean
A flag that indicates that the tax amount should include use tax.
Return Value
Type: TaxAmountCur Extended Data Type
The tax amount in transactional currency, which does not include tax adjustments.