Verify CSV and API invoice handoffs
Use authorized test copies of the same approved invoice in separate nonproduction ERP companies, or restore the approved test fixture before switching routes. Keep the source reference and compare the final ERP state. A CSV accepted for import and an API request accepted for processing both need a confirmed accounting result.
Follow one $700 invoice to its actual accounting state
In this synthetic US example, 20 accepted units at $35 support an approved $700 invoice, with no earlier bills, tax, freight or discounts. The intended destination is Company A. The ERP rejects an inactive expense account. The goods and agreed price can remain valid while the accounting mapping needs correction.
The accounting owner confirms the correct permitted account. The integration owner fixes the mapping and determines a safe retry. After submission, verify one intended $700 payable in Company A with the original supplier invoice reference. Keep the rejected attempt as history. Creating a new invoice number merely to bypass a duplicate warning obscures the relationship.
For an uncertain timeout, first establish whether the ERP created a record. A failure to receive a response is not proof that nothing was posted. Check the destination using the connection’s actual identity/reconciliation method before another creation attempt.
Compare a CSV import and an API by outcomes
Before each test, confirm there is no existing draft, held or approved bill, pending import, or unresolved request for the fixture’s source key. Check that its 20 accepted units are still available and restore the approved fixture if an earlier run used them. For the $700 example, compare one confirmed $700 payable in each isolated run. Use only the selected route for the actual invoice.
If some columns are hidden, focus the table and use the arrow keys, or scroll across.
| Check | For an operated CSV/import route | For an API route |
|---|---|---|
| Document identity | Stable source key and import batch reference | Stable source key and destination request/record reference |
| Accepted lines | Import results for every intended row | Per-record response and destination fields |
| Failure ownership | Person reviewing rejected rows and rerunning only agreed scope | Person handling validation errors and uncertain responses |
| Evidence access | Defined source-document link or attachment process | Defined source-document link or attachment process |
| Duplicate control | Verify repeat-file behavior in the actual import | Verify repeated-request behavior in the actual connection |
Those are evaluation questions, not a claim that either method guarantees completeness. A file copied successfully can still contain rejected invoice rows. An API’s HTTP success can coexist with record-level validation errors in some interfaces. Xero’s official API specification documents invoice validation fields and response options; inspect the actual response contract used by the connection.
Calitem’s native integrations avoid routine manual file transfers. Evaluate the configured Calitem route as deployed; use the CSV column to assess an existing or proposed alternative, rather than making customers prepare routine files for a native connection.
For a failed or uncertain batch, use the invoice import recovery procedure. For overall rollout acceptance criteria, use the ERP handoff test.
Review a partial batch without duplicating accepted work
Consider two independent approved invoices, $700 and $300. The first is accepted and the second rejected. Expected accepted payable total is currently $700, with $300 unresolved. After a correct retry of the second, the accepted total should be $1,000 across the two intended invoices. Reprocessing the first as another payable would produce $1,700, an extra $700 liability. A batch-level done label cannot explain those states.
Verify the Calitem and ERP outcome
Have Calitem extract and compare the $700 invoice with available purchasing records, then apply the configured approvals and accounting preparation. Accounting confirms the intended company, supplier, accounts and classifications before handoff. If the ERP rejects the record, retain the actual error and assign the field decision to its owner. Re-review a changed purchasing amount separately from an accounting-map correction.
Pilot three distinct states. For the inactive account, the integration owner reconciles the rejected row or request, the actual invoice reference and any open import, in Company A and any earlier destination. When the rejection is terminal and no draft or bill exists, confirm the 20 accepted units remain unused and unreserved. Fix the account and run the configured route once, then verify one $700 bill.
When the outcome is uncertain, check the import or API attempt and search the intended company and any earlier destination for drafts, approved but unposted bills and posted records. Hold the new submission until both the attempt and the actual record status are known. If a $700 bill already exists, preserve its ID and use the authorized correction on that record. For an already posted bill, check actual payments, applied credits and the open balance before any separate action. In the partial-batch test, correct only the failed $300 row after its own checks and verify the original $700 record remains in place; the approved total is then $1,000. Accounting confirms the final posting status, destination fields and source access for each unique invoice.
Record the accepted destination ID and final state beside each source document. Completion means the intended invoices reached the right accounting result once, with remaining exceptions assigned and visible.
