The ERP owns the record
Customer codes, stock, fiscal rules and order numbers belong in the ERP. A quoting layer should read them, not clone them. The moment two systems both claim to own the customer record, reconciliation becomes a permanent job.
Two patterns that work
The first is a file hand-off: a CSV or XLSX with a stable schema, an explicit version and a rejection report. It is unglamorous, testable and often the fastest path to value. The second is an API hand-off with idempotency keys, explicit retries and a dead-letter queue for rejected records.
Test the boundary
Before rollout, run the same order twice and confirm the ERP creates one record. Send a malformed line and confirm it is rejected with a readable reason. Disconnect the network mid-hand-off and confirm nothing is half-written. These tests are boring; they are also the difference between a demo and an operable system.