TaxUncommitted::getActualNonRecoverableVATAmtForDocAndVo Method
Gets the actual tax in cost price for the invoice.
Syntax
client server public static TaxAmountCur getActualNonRecoverableVATAmtForDocAndVo(
RefTableId _documentTableId,
RefRecId _documentId,
Voucher _voucher,
[SelectableDataArea _companyId])
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.
- _companyId
Type: SelectableDataArea Extended Data Type
If supplied, then the tax amount returned will be for the given company.
If not supplied, the tax amount will include tax for all companies; optional.
Return Value
Type: TaxAmountCur Extended Data Type
The tax in cost price in transactional currency, which includes tax adjustments.