SAP B1 Intercompany: A/R Invoice → B Purchase Invoice Draft

When an A/R invoice is added in company A for a business partner flagged as intercompany, mirror it into company B as a Purchase Invoice DRAFT for human review. Uses cross-company CoA mapping, stamps the source DocEntry into a UDF for idempotency, and appends the pair to a reconciliation report of unmatched intercompany documents.

Steps in this flow

  1. Company A: A/R Invoice Added
  2. Guard: Source DocEntry
  3. BP flagged intercompany?
  4. Map: CoA + CardCode/ItemCode (A→B)
  5. Halt if any line unmapped
  6. SL Login: Company B
  7. Company B: POST /Drafts (PurchaseInvoice)
  8. Append to IC Reconciliation Report
  9. Notify Finance: Draft Awaiting Review

All templates