Marketplaces (Amazon/noon/Salla) → SAP B1 Invoices + Settlement JE

Marketplace order intake and settlement reconciliation. Orders in via Salla webhook / Amazon SP-API polling → SAP B1 Invoice (marketplace-paid orders go straight to AR invoice against an FBA/fulfilled warehouse). Settlement reports import as Journal Entries splitting commission, shipping fees and net payout. Returns handled as Credit Notes.

Steps in this flow

  1. Marketplace: Order/Settlement Event
  2. Guard: Marketplace Order ID
  3. SL Login (B1SESSION)
  4. Route by Event Type
  5. SL: POST /Invoices (marketplace-paid)
  6. SL: POST /JournalEntries (settlement)
  7. SL: POST /CreditNotes (return)
  8. Log Posting Result

All templates