Invoice totals matching
You can use invoice totals matching to help make sure that total invoice amounts don't deviate from expected amounts by more than an acceptable variance. In Dynamics 365 Finance, the Invoice totals matching details page compares six totals.
If the allowable tolerance for invoice totals matching is 20%, the system considers 100% variance percentage for the total discount amount as a matching discrepancy.
You can control invoice totals matching for the legal entity by selecting the Match invoice totals option on the Accounts payable parameters page. Finance performs matching on the expected invoice totals and the actual invoice totals. Then, it calculates expected invoice totals based on the prices, charges, and sales tax information from the purchase order and the quantities from the invoice.