Transportation managementFreight bills and invoices
action:TMSAutoMatchBatch
Used by
Transportation coordinator
Business process
Manage freight and transportation
Menu item
action:TMSAutoMatchBatch
Setup steps
1 on this page
How this guide was checked
Source
Written from Microsoft's official Dynamics 365 documentation.
Recommended values
Based on Microsoft's documentation. A sound starting point to adjust to your own business requirements.
Tests
A ready-to-run test, “Auto matching follows the largest-first order”, to confirm this setup in your own test environment.
Show what matters for
SETUP GUIDEHow to set it up8 sections. Choose a role to highlight what matters to you.
Everyone
1What it is and why
What it is
A periodic task that matches all available freight invoices with freight bills at once, according to the setup of the audit master and freight bill type.
What you do here
Use this task to run automatic freight reconciliation, so that freight invoices are matched with freight bills without matching each invoice line by hand.
Example
For example, a freight bill of 1,500.00 has invoices of 1,000.00, 600.00 and -100.00. Auto matching matches 1,000.00, then 500.00 of the second invoice, and the freight bill is fully matched, so the -100.00 invoice isn't processed.
The page in Dynamics 365. page title tab to open what to set or check
About the examples: Examples and screenshots in this guide use BEAT, a demo company in a Dynamics 365 test environment. Use your own company's codes and values instead of copying them.
When to run it
When to run it
When carrier freight invoices have arrived and are waiting to be matched to the freight bills that were created when the loads were confirmed.
How often
On the schedule set by Match interval in Transportation management parameters when Automatically match and pay the freight invoice is turned on (Microsoft recommends at least 120 seconds), or on demand when new carrier invoices arrive.
Batch settings
Run it as a recurring batch job so freight invoices are matched on the reconciliation schedule without matching each invoice line by hand.
What the output shows
Freight invoices and freight bills set to Partially matched or Fully matched. Differences inside the audit master tolerance go to the overpayment or underpayment reason code. An invoice that stays unmatched usually has a mandatory freight bill type value that differs from the bill, or a difference outside the tolerance.
Match freight invoices with freight bills automatically, within the audit master tolerances.
Steps from Microsoft
Go to Transportation management > Freight bills and invoices > Auto match batch.
Before the first run, set up a freight bill type assignment and an audit master for each shipping carrier. Auto matching only pairs a bill and an invoice when the mandatory freight bill type criteria match, and it uses the audit master tolerance for differences.
Run the job. It sorts the unmatched freight invoices by amount, largest first, and matches them one by one until the freight bill has no positive remaining amount.
Match freight invoices with negative amounts by hand on the Freight bill and invoice matching page. Once a freight bill is fully matched, auto matching doesn't process the remaining invoices for it.
Review the invoices the job couldn't match and reconcile them manually before you post the invoices for payment.
A freight invoice with a negative amount stays unmatched after the batch
Auto matching sorts invoices by amount, largest first, and stops when the freight bill has no positive remaining amount. Match negative invoices by hand. Microsoft Learn
Invoices stay unmatched although the amounts are close
Check the audit master tolerance for the carrier and that the mandatory criteria of the freight bill type are filled on both the freight bill and the invoice. Microsoft Learn
Test checklist
A test invoice with the same amount as its freight bill shows Fully matched.
An invoice with a small difference inside the tolerance is matched with the expected reason code.
An invoice outside the tolerance stays unmatched for manual review.
Turn on Automatically match and pay the freight invoice with a Match interval of at least 120 seconds, after a freight bill type, a freight bill type assignment and an audit master exist for each carrierLearn gives 120 seconds as the minimum standard recommended match interval, and auto matching only pairs a bill and an invoice when the freight bill type criteria match, using the audit master tolerance for differences.
On this system the page opens for Transportation coordinator. Automatically match and pay the freight invoice must be turned on in Transportation management parameters for the automated match and pay batch jobs. No Feature management feature needs to be turned on for this page.
Per company: the batch matches the freight invoices and freight bills of the current legal entity. Microsoft Learn
Can it be undone
Partly: Unmatched invoices stay open for manual matching. Vendor invoice journals that the parameters create and post stay in the ledger.
If you change it later
Sets the match status of freight invoices and freight bills. When Write vendor invoice journal and Post journal are turned on in the parameters, the reconciliation also creates and posts vendor invoice journals. Microsoft Learn
Technical architect
6Technical
Menu item
action:TMSAutoMatchBatch
Who can open it
1 security role. Select a role to see its duties and privileges.
PrivilegeView the auto match batchTMSAutoMatchBatchView
Roles worked out from Microsoft's standard security setup and checked in a working Dynamics 365 system (version 10.0.49)
Roles to set it up and use it
To use itTransportation coordinator TMSTransportationCoordinatorGive people one of these roles. On this system, 1 role can run this page.Checked in Dynamics 365
Load order: Auto match batch has no data entity in Data management, so it can't be loaded from a file or a configuration template. It is a periodic task and stores no setup; set up the freight bill types, assignments and audit masters it uses, which have their own entities.Checked in Dynamics 365