Define the intercompany relationship in the ERP: configure the selling company code and buying company code pairing, the intercompany markup or transfer pricing rule, and the intercompany GL accounts used for receivables and payables on each side.
When a sales order or purchase order is created in one entity that involves another entity as vendor or customer, the ERP should automatically generate the corresponding mirror document in the partner entity (intercompany PO from the intercompany SO, or vice versa); confirm this automation is enabled in the ERP configuration.
Post the goods issue in the selling entity and verify that the ERP creates the goods receipt and vendor invoice in the buying entity automatically, or trigger this via the intercompany billing API if not automatic.
For API-driven integrations, sequence the calls: create the outbound SO in entity A, retrieve the auto-generated PO number in entity B, post the goods movement in entity A, and confirm receipt in entity B; treat all steps as a logical transaction with compensating rollback logic.
Reconcile intercompany balances at period end: query the intercompany AR account in entity A and the intercompany AP account in entity B; amounts should net to zero before consolidation.
Known gotchas
Transfer pricing rules for intercompany transactions may need to comply with tax regulations (arm's length principle); the ERP configuration may not enforce this automatically, requiring a separate review step before posting.
Currency mismatches between entities (e.g., one entity in USD, the other in EUR) require explicit exchange rate handling in the intercompany posting; relying on the system default rate may not satisfy accounting requirements.
Partial deliveries on intercompany orders create open quantities on both the SO and PO; ensure the reconciliation process accounts for open intercompany balances, not just posted transactions.
Give your agent this knowledge — and 200+ more routes
One MCP install gives any agent live access to the full route map, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp