PdcPurchaseInvoiceLine.VATAmount
Declaration
VAT as double
Description
The VAT amount of the invoice line.
Notes
The VAT amount of the invoice line is automatically calculated with the amount and the VAT percentage. But can also be set after setVATCode. To support a alternative vat amount.
Code example
set objPI = Pdc.logistics.PurchaseInvoices.Open("00029")
if IsValid(objPI) then
objPI.InvoiceNo = "00029-001"
objPI.PurchaseInvoiceLineList.Items(1).VATAmount = 12
if not objPI.Save then
msgbox objPI.ErrorMessages
end if
else
msgbox "The invoice number is not found in PdC."
end if