We have created a new functionality in our system to allow us to issue credit for invoices.
We send the invoices as XML to AX, but when the invoices are processed, the VAT is added twice.
This is the invoice XML
<ns0:AccountNum>708120</ns0:AccountNum>
<ns0:AccountType>Ledger</ns0:AccountType>
<ns0:AmountCurCredit>0.00</ns0:AmountCurCredit>
<ns0:AmountCurDebit>45.00</ns0:AmountCurDebit>
<ns0:CCFRAR_TaxAmountAMT>7.50</ns0:CCFRAR_TaxAmountAMT>
<ns0:CurrencyCode>GBP</ns0:CurrencyCode>
This is the credit note XML
<ns0:AccountNum>708120</ns0:AccountNum>
<ns0:AccountType>Ledger</ns0:AccountType>
<ns0:AmountCurCredit>45.00</ns0:AmountCurCredit>
<ns0:AmountCurDebit>0.00</ns0:AmountCurDebit>
<ns0:CCFRAR_TaxAmountAMT>7.50</ns0:CCFRAR_TaxAmountAMT>
<ns0:CurrencyCode>GBP</ns0:CurrencyCode>
Do we need to put the credit VAT as a negative number in order to be processed correctly?
Many thanks