B2B invoicing — how an order finds the right account
Shopify B2B + Brightpearl hierarchy · spec v0.4 · July 2026
Scenario Invoice dispatch Click any box for details
Order customer
Billing (the invoice)
Delivery
Invoice email

The correct-not-create window — one order’s timeline

The connector downloads every order and email-matches it to some contact — often the wrong one. That’s fine: nothing financial happens until shipment, so the middleware quietly fixes the order inside the safe window.

SAFE WINDOW — THE ORDER CAN STILL BE CORRECTED LOCKED — INVOICED ORDERS CANNOT BE EDITED Order downloads uninvoiced · email-matched (maybe wrong contact) n8n PATCH lands here customer + billing → the site’s primary contact Mark shipped BP raises the invoice → order locks Invoice emailed Shopify app (interim) · BP rule (future)