Skip to content
← Back to blog

Test an ERP invoice handoff

An invoice handoff passes when accounting can find one intended bill in the correct ERP company and trace its approved lines back to the supplier invoice, purchase order and receiving records. Check the destination’s actual posting state and access to supporting documents. If a submission times out, reconcile the destination and the original attempt, including queued or in-flight work, before sending another request to create the bill.

Run the handoff test with Calitem

Start with one illustrative US purchase. Invoice H-81 is dated November 30, names buyer Entity A and bills 30 units at $10 and 20 units at $15. Its two approved PO lines and receiving records support the full quantities at those prices. The $600 USD bill has no tax, freight, discounts or earlier allocations in this example.

  1. Review the documents. Bring H-81, the PO and acceptance records into the agreed Calitem workflow. Compare the extracted supplier, buyer, source line, quantity and price with the originals. Receiving proves the quantity accepted and purchasing resolves any difference in the terms.
  2. Approve the actual version. Accounting confirms the destination supplier, entity and coding. Use the configured approval workflow and keep its decision with the invoice version. If a changed amount needs renewed approval under your policy, obtain that decision before using the revised result.
  3. Verify one destination record. After submission, have accounting open the actual ERP bill, check the company and $600 amount, and trace both lines and the original document. For this pilot, success means one bill posted under the approved coding with the required supporting records accessible.

Name the owner of each record and decision

In this pilot, purchasing maintains H-81’s order in the ERP, receiving maintains the accepted counts, and AP retains the original supplier invoice. Calitem uses the available purchasing records for comparison and the configured workflow for approvals and accounting preparation. Accounting verifies the ERP result. Treasury establishes settlement from its own records. If receiving data comes from a warehouse system, record which receipt reference links it to the PO and who resolves any conflict between the two systems.

Preserve the original line and the posted identity

Keep H-81 and its source lines 001 and 002 alongside the linked PO and receipt lines, internal review reference, company and actual ERP bill and line IDs. When a source line splits into two accounting allocations, both destination rows still point back to that one source line. Microsoft documents how the API invoice ID can differ from the underlying posted record’s ID in Business Central. Verify the keys in your actual destination. Business Central purchase invoice resource

Check destination company, coding and access

Entity A approves $180 to North and $120 to South from each of H-81’s two $300 lines, yielding $360 North and $240 South. Entity B uses the same short cost-center code 100 for a different department. Check the actual destination company identifier and each approved dimension before submission, then open the resulting record and verify them together. Keep the source address and amounts intact when accounting updates a mapping. If a reorganization changes the mapping, record its effective date and identify pending invoices that use the earlier version.

In the approved test environment, verify that the connector can use Entity A and that an operation outside its company scope receives the expected denial or restriction. Check which company actually holds the accepted invoice. A correctly spelled company name in the input gives insufficient evidence of where the transaction arrived.

Verify the destination supplier and its status

If Entity A’s mapped supplier is inactive, give the supplier-master owner the printed name, buyer, existing vendor ID and reason for the inactive state. The owner verifies the authorized supplier or approves a mapping change. Retain the source name and old-to-new ID relationship with H-81. Resume after a valid destination supplier is established. Record if master data is read or updated, which system owns it and who approves a conflict.

Let accounting establish the tax mapping

Bring the printed tax fields, transaction type, supplier/buyer details and any relevant evidence to accounting. H-81 shows zero tax in this example. The accounting team selects the appropriate code under Entity A’s rules and verifies the destination calculation. Treat a difference as a mapping or tax question to resolve before closing the case, with both original and calculated values preserved.

Review service access with the ERP administrator

List which companies the connection uses and which operations it needs, such as reading approved vendors or receiving data, creating the invoice record and retrieving its state. Confirm posting permission separately if the workflow requires it. Test one needed operation and one deliberately ungranted operation in the agreed environment. Retain scope, configuration identifiers and the observed result in the test record. Keep credentials in the approved credential store. Business Central service-to-service authentication

Verify the accepted record

Agree what authorizes submission and how the ERP identifies a draft, a record awaiting its own review and a posted bill. If H-81 reaches an ERP draft that still requires approval, record that state and the remaining owner. Then confirm the posted state against the approved version and company. Have an authorized accounting reviewer open the actual supporting file or approved source link from the intended working environment. Check the correct invoice, all pages and the connection to its PO and receiving evidence. Business Central, for example, gives an attachment its own identity and records its parent. Business Central attachment resource

Reconcile amounts and quantities at line level

Compare each source line, the approved amount and the ERP result. H-81 should still show the relationship to 30 units at $10 and 20 at $15 in USD. Each source line accounts for $300 across its allocations. Check the $360 North and $240 South totals and the expected currency, discount, tax and charges. A $600 grand total can conceal swapped items, missing units or an allocation in the wrong company. Business Central purchase invoice line resource

Resolve the posting period through accounting

Suppose H-81 reaches posting review on December 2 after November closes. Preserve the November 30 invoice date and actual receiving date. Accounting determines the allowed posting date and verifies it in the ERP. Have the owner check whether any dependent due date, exchange rate or approval needs review before the approved change. Microsoft documents separate invoice and posting date behavior in Dynamics 365 Finance. Dynamics 365 Finance invoice dates

Resolve a failed or uncertain submission

Route the first unresolved question to its owner. If the evidence supports 24 of the first 30 billed units in a pilot variant, receiving establishes the six-unit gap and purchasing checks billing terms. If the ERP rejects the supplier or posting period, the supplier-data or accounting owner validates the destination field. After a timeout, the integration owner and AP first establish whether the authorized request reached the ERP.

Keep one invoice across multiple attempts

In the H-81 test, the first submission times out. An authorized destination check finds one $600 draft in Entity A. Record its reference and continue from that draft using the approved route. AP and the integration owner reconcile the original attempt as well as the destination record. A queued or in-flight request can still create H-81 after an empty bill lookup. If a matching draft, pending, approved or posted record exists, retain its ID and follow its authorized disposition without another create. Keep rejected or closed record and attempt references as well.

If any write is outstanding or its state is unknown, hold creation, preserve the invoice identity and attempt IDs, and assign the next check to the integration owner. Authorize a retry only after confirming no matching bill or draft, closure of all earlier queued or in-flight writes, and reconciliation of receipt reservations and version-specific approval. The same accepted quantities must be available for this authorized attempt and no earlier attempt may still reserve them or carry an approval that can trigger another write. Use the original H-81 identity with a distinct attempt reference, then verify one $600 Entity A bill and its source lines. An empty destination lookup alone is insufficient. For throttling, follow the destination’s documented waiting and retry policy. Business Central API limits

Choose status transport deliberately

A direct response can confirm the operation it reports. A queued response can confirm receipt of a request before the invoice is created or posted. Specify the authoritative source for final state and match each notice to the invoice identity and attempt. Test a delayed draft notice after a confirmed posting and a repeated notice with the same identity. The case should remain tied to the verified posting. Microsoft notes that some Finance and Operations business events can reach consumers out of order. Finance and Operations business events

Reconcile the sent population to actual results

At a stated cutoff, reconcile distinct invoice identities to the latest known ERP result. Record each invoice’s buyer, amount and currency, approved version, attempts, destination reference, status and owner for open work. In a ten-invoice batch, eight may be posted and one may await ERP approval while H-81’s outcome is unknown. Once accounting verifies one posted $600 H-81, report nine posted and one pending. Keep the first timeout in attempt history. Attempt counts can increase while the population still has ten invoice identities.

Plan rollback for processing and accounting

Agree how the integration owner can pause new submissions, retain queued work and restore the last approved configuration. Reconcile accepted and unknown records before resuming. Once H-81 is posted, any adjustment or reversal belongs to accounting under its approved procedure. Link that record to the original supplier invoice and ERP bill and verify the resulting balance.

Verify scope before an upgrade or migration

For each required object, record the source owner, operation, direction, company, expected timing and observed result. Include read access to the PO and accepted receipts, creation or transfer of the approved invoice, access to its supporting evidence and retrieval of the actual posting result. Separate what the connection documentation establishes, what was demonstrated in the current environment, and what still needs a test.

Define what bidirectional means for each field

For each field that may move in both directions, test source ownership, update direction, timing and conflict handling. Reading supplier records from the ERP and sending approved invoices back demonstrates two flows. If the project also expects supplier edits to travel in either direction, demonstrate them separately and verify which value wins a conflict. Likewise, record exactly which approved fields or status changes reach the source system after posting.

Use the same cases before and after an upgrade

Save the versions, expected outcomes and observed records before the change. Repeat the clean H-81, closed-period, inactive supplier, out-of-scope company and lost response tests afterward. Include a previously accepted invoice received again. Verify company, line identities, amounts, coding, approval status and supporting evidence, then assign each changed result to its owner before resuming production work.

Carry invoice identity across a migration

If old connector reference OLD-81 and new connector reference NEW-81 both point to H-81, retain both and link them to its posted ERP bill. At the migration cutoff, reconcile queued, rejected, unknown and posted invoices using their source identities and actual destination results. Confirm which work the new connection is authorized to resume. H-81 already has one posted record, so its new connector reference should link back to that result.

Test evidence outside the review tool

Agree what the next reviewer needs and how they can obtain it through the deployed setup. Ask for an actual output from the pilot using the agreed report, file, API or destination record. Have a second authorized reviewer reconstruct H-81 without the original operator’s help. They should find one invoice, two source lines, 30 and 20 original units, $600 of goods and $600 of approved allocations across North and South. If the output repeats a source amount on several accounting rows, specify what each row represents and group by source line before summing. Verify leading zeros, currency, decimal precision, dates and access to the original pages in the receiving environment.

Suppose purchasing later agrees a $50 price correction on H-81. Accounting verifies a $30 credit received and $20 applied. The evidence should support three amounts and their document links, including $20 still unreceived and $10 received but unapplied. With no other payments or adjustments, application of $20 reduces the $600 open balance to $580. Keep the original billed amount, credit and application visible as separate records.

Finally, reconcile distinct invoice and line counts to the selected population at the same cutoff. Test an authorized reviewer and one outside the allowed company scope with the administrator. Record the actual delivered fields, any omitted records, who can reopen the evidence and how long a linked source remains usable. Sign off when the agreed result is reproducible from the records available to the reviewer.

Get started with Calitem today.

Reduce supplier spend by improving how you manage purchases.

Book a demo

Want to learn more?

Book a demo with our team.

Calitem uses this information to contact you about your request. See our Privacy policy.