ERP API integration from record creation to business completion

Understand how ERP API integration differs from data transfer, and define invoice creation, validation, posting and payment milestones in your scope.

DigiventiLast reviewed · 6 min read
On this page

When you commission an ERP API integration, “the invoice arrived successfully” needs a precise meaning. Is the invoice available for someone to review, ready for accounting, posted, or showing the latest payment position? Those are different outcomes, and the integration scope should say which outcome the business is buying.

The central distinction is between transferring information and asking the ERP to perform a business operation. A record containing the right customer, amounts and invoice lines may be a necessary input. It is not, by itself, evidence that the intended business process has finished.

Send the information or invoke the operation

Creating or updating a record answers a data question: what information should the ERP hold? Invoking a business operation answers a process question: what should the ERP do with that information?

The invoice example in the Diginomica discussion captures a useful design principle. Instead of an external agent attempting to process an invoice itself, it can invoke an already-built, deterministic workflow. The established workflow performs the execution rather than having its logic recreated by the caller.

That principle is equally useful when designing an ordinary API integration. The external application can supply information and request an operation, while the ERP remains responsible for the business logic exposed through that operation. The important qualification is “exposed”: the design must identify a supported interface that actually performs the required work, not assume that any writable invoice record provides it.

Consider the difference between asking an integration supplier to “send invoices to the ERP” and asking it to “create invoices for review, then submit approved invoices through the supported posting operation and retrieve the result.” The latter makes the intended business boundary explicit. It also leaves room to decide that posting should remain a human responsibility.

Define the invoice milestones separately

For an illustrative customer-invoice workflow, distinguish the following milestones in the requirements. These are business meanings to agree with finance and operations, rather than endpoint names to assume every ERP uses.

  • Draft creation: the invoice information is present and available for review or correction. Define the identifier and information that prove the draft exists.
  • Validation: the invoice has passed the checks required before it may proceed. Specify whether this means basic data checks, business approval, accounting checks, or a combination.
  • Posting: the required accounting operation has completed. Define the ERP evidence that demonstrates this result, rather than accepting the existence of the invoice as proof.
  • Payment status: the receiving application has the agreed view of settlement, including how to represent an outstanding balance or a partially settled invoice.

Keeping validation separate in the requirements does not prescribe a separate validation API call. Ask which checks occur during creation, which occur when the business operation runs, and which require approval or another action. A successful early check should not be used as evidence that a later milestone has completed.

Posting and payment also answer different business questions. In this workflow, posting is the accounting milestone; payment status describes settlement. If the commissioned integration ends at posting, make that boundary visible to the people using its results. If it must also display payment status, include the retrieval and interpretation of that status in scope.

Official Zoho ERP invoice documentation provides a concrete, narrower example of separately exposed operations. It documents invoice creation with the authorization scope ERP.invoices.CREATE, and a separate action for marking an invoice as sent. “Create” and “mark as sent” therefore belong as distinct actions in a design using those interfaces. Neither label should be substituted for the accounting or settlement milestone the business actually requires.

Keep the ERP rules and integration responsibilities distinct

Invoking an established workflow gives the design somewhere to place execution responsibility. It does not remove the need to understand the operation’s contract: the inputs it requires, the checks it performs, its configuration dependencies and the result it exposes.

For an invoice posting API, ask the supplier to explain the supported operation in business terms. What must already exist before it can run? Which customer, account and tax details must be supplied or resolved? Which rules are applied by the operation? What approval must have happened beforehand? Identify the answers for the chosen ERP and deployment, rather than carrying assumptions over from another product.

Configuration belongs in this discussion because it determines the business setup against which the proposed operation must be evaluated. Have the functional owner confirm the relevant account mappings, tax treatment, posting permissions and approval requirements. Have the integration owner show how the external request reaches the supported operation. Do not assign the same rule to both sides without a clear reason.

If the interface does not expose the required operation, the scope has a decision to make: retain a manual step, change the workflow, use another supported interface, or assess an extension. Do not quietly replace “invoke ERP posting” with “write records that resemble a posted invoice.” For SAP-specific extension decisions, clean-core extension placement addresses where additional functionality should belong. Here, the prior question is what business operation the integration needs to accomplish.

The same clarity is useful across operational systems. A manufacturing requirement should identify which system owns each business event before specifying the messages exchanged. ERP and MES responsibilities explores that division in production workflows; the API contract then needs to express the agreed responsibility as an observable result.

Commission a business result, not just a connection

A useful integration scope connects each required milestone to its supported operation, prerequisites, completion evidence and exception owner. That is more informative than a list of records to synchronize.

For the invoice example, request a walkthrough that follows the same document from creation to the agreed endpoint. Ask the supplier to distinguish the response confirming creation from the evidence confirming posting. Where payment visibility is included, identify the source of that information and how the external application will associate it with the invoice.

Include the unfinished path as well. If creation succeeds but the next operation fails, who corrects the invoice, where does that correction happen, and how does the process resume without creating another invoice? The answer should preserve the business distinction between “received,” “awaiting action” and “completed.”

Whether the calls run directly or through an integration platform is a separate architectural choice. Direct ERP API integration versus middleware helps frame that decision. Settle the required business outcome first so that either approach can be evaluated against the same scope. For an existing integration facing an upgrade, the Odoo API migration audit addresses the different question of what must change to preserve its behavior.

A successful ERP integration should make its stopping point unmistakable. A draft may be exactly the right deliverable. So may a posted invoice with payment visibility. The mistake is commissioning one while expecting the other. If you need help defining that boundary, explore ERP integration and functional configuration support before implementation begins.

Need help with ERP?

We provide IT consultants for projects and ongoing technical work. Tell us what you need help with.

Contact us
Back to all articles