Footer discounts and VAT in France UBL XML
Issue
For French sales invoices with footer discounts or charges, UBL XML did not include these elements. The transmitted VAT could also correspond to the amount before they were applied.
Impact
Line amounts, VAT bases, and document totals could be inconsistent, causing Avalara to reject the invoice.
Fix
Footer discounts and charges are now included in the XML with their tax breakdown. Final VAT and tax-exclusive, discount, and charge totals take footer elements into account. Lines and their prices remain unchanged.
Expected result
UBL XML reflects the invoice's footer discounts and charges, along with consistent taxable bases, VAT, and totals, to avoid rejections caused by these differences.