Back to blog

July 2, 2026

B2B quote-to-cash ecommerce architecture: from RFQ to ERP sync

Explore B2B quote-to-cash ecommerce architecture, from RFQ approvals and pricing to ERP sync, tax, inventory, reconciliation, and risk controls for growth.

B2B quote-to-cash ecommerce architecture: from RFQ to ERP sync

B2B Quote-to-Cash Ecommerce Architecture: From RFQ to ERP Sync

In B2B ecommerce, the sale rarely starts with "add to cart." It often starts with a request for quote, moves through negotiation and internal approval, then becomes an order, invoice, fulfillment event, and ERP transaction. That is why custom ecommerce architecture matters: the platform must reflect how the business actually sells.

"Quote-to-cash" means the full commercial workflow from the first RFQ to cash collection and reconciliation. In a B2B context, that workflow usually includes account-specific pricing, negotiated terms, purchase orders, tax exemption rules, credit limits, inventory availability, partial shipments, invoices, payments, returns, and credit memos.

A strong quote-to-cash flow connects the storefront, customer portal, pricing engine, approval logic, credit control, tax calculation, invoicing, fulfillment systems, and ERP integration. The goal is not simply to make quoting digital. The goal is to make every commercial decision traceable, approved, synchronized, and recoverable.

For example, a buyer requests pricing for 500 units. The ecommerce platform captures the RFQ, the pricing service applies contract and volume rules, the sales team adjusts margin, a manager approves the discount, the customer accepts the revised quote before expiration, and the order is submitted to the ERP with the correct customer account, products, price version, tax treatment, stock allocation, credit status, and payment terms. Depending on the architecture, tax may be calculated by a tax engine, stock may come from ERP, WMS, or OMS, and credit may be owned by ERP or finance. The important point is that each system knows what it owns.

The RFQ-to-ERP Lifecycle

A practical B2B quote-to-cash architecture usually follows this sequence:

  1. RFQ creation The buyer selects products, quantities, requested delivery dates, shipping address, purchase order requirements, and any special terms. The customer portal should support buyer roles, parent-child accounts, account-specific catalogs, and saved RFQ drafts.
  2. Price calculation Pricing may include contract pricing, tiered pricing, customer-specific discounts, volume breaks, freight rules, currency conversion, rebates, and temporary promotions. The architecture must define whether pricing is calculated in ecommerce, ERP, CPQ, or a dedicated pricing engine.
  3. Sales review and quote versioning Sales can edit margin, availability, lead times, substitutions, and delivery options. Every revision should create a new quote version so the business can see what changed, who changed it, and which version the customer accepted.
  4. Approval logic Approval rules determine when a quote requires review. Common triggers include margin below threshold, discount above limit, order value above budget, restricted products, non-standard payment terms, or delivery to a new location. Approval delegation is important when managers are unavailable.
  5. Customer acceptance The customer accepts a specific quote version, usually with attached legal terms, payment terms, expiration date, tax exemption status, and purchase order reference. Acceptance should be logged with timestamp, user, account, IP/session metadata where appropriate, and accepted terms.
  6. Order conversion The accepted quote becomes an order. This step should lock the accepted commercial terms, validate customer permissions, confirm the PO requirement, and prevent outdated quote versions from being converted.
  7. Credit, payment, tax, and inventory checks Credit limits may be checked in ERP or a finance system. Tax may be calculated through a tax engine. Inventory may be promised from ERP, WMS, or OMS. For complex B2B sales, this step must handle partial shipments, backorders, split warehouses, and multi-currency orders.
  8. ERP sales order creation The order is sent to ERP through an API, middleware, iPaaS, or message queue. The ERP response should return the ERP order number, accepted line items, status, exceptions, and any changes required for fulfillment or finance.
  9. Fulfillment, invoicing, and status updates ERP, WMS, OMS, or a 3PL updates shipment status, tracking, backorders, invoice numbers, and payment status. Ecommerce should expose those events in the customer portal.
  10. Reconciliation and recovery Finance and operations need reports that compare ecommerce orders, ERP orders, invoices, payments, credit memos, and failed sync attempts. This is where many B2B ecommerce projects either become reliable infrastructure or another manual workaround.

System-of-Record Decisions Matter

One of the most important architectural questions is simple: which system owns which data?

If two systems both believe they own pricing, inventory, customer credit, or invoice status, the business will eventually see conflicting totals, incorrect order confirmations, duplicate records, or finance reconciliation gaps. Before development starts, define the system of record for each domain.

Data Domain

Common System of Record

Ecommerce Role

Key Risk if Undefined

Customer accounts

ERP / CRM

Display account data, enforce login and permissions

Wrong billing account or shipping address

Buyer users and roles

Ecommerce / IAM / customer portal

Manage user access, approval rights, budgets

Unauthorized orders or blocked buyers

Product master

ERP / PIM

Display catalog, attributes, media, availability rules

Incorrect SKUs or outdated product data

Account-specific catalog

ERP / PIM / ecommerce

Show only eligible products

Restricted items exposed to wrong accounts

Contract pricing

ERP / CPQ / pricing engine

Request or cache approved prices

Stale or incorrect customer pricing

Tiered and volume pricing

Pricing engine / ERP / CPQ

Calculate or display price breaks

Margin leakage or quote disputes

Inventory availability

ERP / WMS / OMS

Show ATP/availability and lead time

Overselling, race conditions, backorder errors

Tax calculation

Tax engine / ERP

Apply exemption and jurisdiction rules

Tax mismatch between order and invoice

Credit limits and holds

ERP / finance system

Check status before order release

Orders accepted for blocked accounts

Quotes

Ecommerce / CPQ

Manage RFQ, revisions, approval, acceptance

No audit trail for negotiated terms

Sales orders

ERP

Submit clean order and display status

Duplicate orders or failed fulfillment

Invoices and credit memos

ERP / finance system

Display documents and balances

Customer portal disagrees with finance

Payments

PSP / ERP / finance system

Capture, authorize, or display payment status

Paid orders not reconciled

This table is not universal. Some organizations use ERP as the center of everything. Others use CPQ for quote logic, PIM for product data, OMS for order orchestration, and a tax engine for compliance. The architecture is healthy when ownership is explicit and integration contracts are clear.

An integration contract defines the fields, formats, validation rules, error responses, retry behavior, and ownership assumptions between systems. For example, if ecommerce submits a sales order to ERP, the contract should specify whether ecommerce sends final tax, estimated tax, or tax exemption evidence for ERP or a tax engine to validate.

Integration Patterns for Quote-to-Cash

Not every integration should work the same way. B2B quote-to-cash usually needs a mix of synchronous and asynchronous patterns.

Synchronous API calls are useful when the user needs an immediate answer. Examples include real-time price checks, credit status checks, available-to-promise inventory, tax estimates, or customer account validation.

Asynchronous events or message queues are better for processes that must be reliable even if another system is temporarily unavailable. Examples include order submission, ERP order confirmation, invoice updates, shipment updates, and credit memo creation.

Middleware or iPaaS can help when ERP mapping is complex, especially in multi-entity ERP environments with different companies, warehouses, tax rules, currencies, or chart-of-account requirements.

Webhooks are useful for status updates, but they should not be treated as guaranteed delivery unless combined with retries, logging, and reconciliation.

Batch sync may still be appropriate for product catalogs, price lists, customer account updates, or invoice history when real-time latency is not required.

The best architecture is not always the most real-time architecture. The best architecture is the one that matches business risk. A price shown to a buyer may need real-time validation; a product image update may not.

Common B2B Edge Cases to Design For

Many quote-to-cash failures happen because the "happy path" was designed but the real B2B exceptions were not. Important edge cases include:

  • Quote expiration: What happens if the customer accepts after the validity date?
  • Quote revision conflicts: Can a buyer accept version 2 while sales is editing version 3?
  • Contract pricing: Which agreement applies when a customer belongs to multiple account groups?
  • Tiered pricing: Are volume breaks based on line quantity, annual commitment, or total order value?
  • Multi-currency pricing: Which exchange rate is used, and when is it locked?
  • Tax exemption: Where are exemption certificates stored and validated?
  • Purchase order workflows: Is a PO number required before order submission or before invoice release?
  • Parent-child accounts: Can a parent buyer order for a child location? Who receives the invoice?
  • Approval delegation: Who approves when the assigned manager is unavailable?
  • Budget limits: Are limits enforced by buyer, department, location, or account?
  • Partial shipments: Can one order produce multiple shipments and invoices?
  • Backorders: Does the customer accept split delivery or require complete shipment?
  • Returns and credit memos: Are RMA and credit status visible in the portal?
  • Multi-entity ERP: Which legal entity, warehouse, tax registration, and currency apply?
  • Substitutions: Can sales replace unavailable products during quoting?
  • Restricted products: Are compliance, region, or customer eligibility rules enforced before quoting?

These scenarios shape the data model, approval matrix, integration timing, and customer portal experience. They should be captured before implementation, not discovered during user acceptance testing.

Risk Controls That Prevent Expensive Failures

The main benefit of quote-to-cash automation is control. Customer-specific pricing, negotiated terms, order limits, approval rules, tax treatment, and invoice visibility can be automated instead of handled through email. The downside is complexity. Poor data models or weak ERP sync can create duplicate orders, wrong prices, tax mismatches, and finance reconciliation issues. We covered related failure patterns in Ecommerce ERP Integration Failures, especially around sync reliability, and Ecommerce Data Model Mistakes, which explains how weak product, account, and order models create downstream problems.

Practical controls include:

  • Idempotency keys: Prevent duplicate ERP orders if a user clicks twice or a retry runs after timeout.
  • Retry queues: Automatically retry temporary failures such as ERP downtime or network errors.
  • Dead-letter queues: Isolate failed messages that need human review instead of losing them silently.
  • Quote and order versioning: Preserve the exact commercial terms accepted by the customer.
  • Approval logs: Record who approved discounts, margin exceptions, payment terms, and restricted items.
  • Field-level validation: Reject orders with missing tax codes, invalid SKUs, expired quotes, or inactive accounts.
  • Reconciliation reports: Compare ecommerce orders, ERP orders, invoices, payments, and credit memos.
  • Rollback or compensation flows: Define what happens if payment succeeds but ERP order creation fails, or if ERP accepts the order but inventory allocation fails.
  • Race-condition handling: Revalidate inventory and price at quote acceptance or order conversion, not only when the RFQ is created.
  • Exception dashboards: Give operations and finance a single view of orders stuck between systems.

A short anonymized example illustrates the impact. In one industrial distribution workflow, the pre-automation process required sales operations to re-enter accepted quotes into ERP, then finance manually checked payment terms and tax exemption status. The architecture was changed so accepted quote versions generated ERP sales orders through a queued integration with idempotency keys, validation errors, and a reconciliation dashboard. The measurable gains were not only faster order entry; the larger benefit was fewer pricing disputes and clearer ownership when an order failed validation. For many B2B teams, those operational metrics-quote cycle time, manual touches per order, order-entry error rate, failed-sync resolution time, and invoice mismatch rate-are the best way to measure quote-to-cash architecture quality.

Platform Choice: Shopify Plus, Shopware, or Custom?

Decision-makers should avoid forcing advanced B2B workflows into a simple DTC platform without validation. But the right answer is not automatically "custom." Shopify Plus, Shopware, or another B2B ecommerce platform may work well when the workflow fits available B2B features, apps, APIs, and extension points.

A standard or semi-standard platform is often sufficient when:

  • Pricing rules are simple or can be handled by existing B2B pricing features.
  • Approval workflows have few steps.
  • ERP integration is straightforward.
  • Customer hierarchies are shallow.
  • There are limited legal entities, currencies, and warehouses.
  • The business can adapt some internal processes to the platform.
  • Time to market is more important than deep workflow customization.

Deeper custom web app development becomes more attractive when:

  • Quote approval has multiple roles, thresholds, delegations, and exception paths.
  • Pricing depends on contract terms, margin rules, rebates, tiers, regions, and customer groups.
  • ERP rules are heavily customized or differ by business unit.
  • The customer account hierarchy is complex.
  • The portal must support advanced PO, budget, tax exemption, or compliance workflows.
  • Integration volume is high enough that queueing, observability, and recovery design are critical.
  • Total cost of ownership favors building around the business process instead of bending the business process around platform limits.

Shopify Plus and Shopware can both support serious B2B use cases through extensions, APIs, and custom development. The architectural question is how much of the quote-to-cash process can live cleanly inside the platform, how much must be externalized into services, and how much complexity will accumulate over time. See our comparison of Shopware vs Shopify vs Custom Ecommerce for a broader look at fit by growth stage, customization depth, and operating model.

Architecture Checklist Before Development

The best ecommerce software partner will design quote-to-cash as a business process first and software second. Before development, define the commercial rules, data ownership, integration contracts, audit requirements, and failure recovery model.

Use this checklist before implementation:

  • Who owns customer, product, price, inventory, tax, credit, invoice, and payment data?
  • Which pricing rules must be real time, and which can be cached?
  • What quote versions, expiration rules, and acceptance logs are required?
  • What approval matrix applies by margin, discount, order value, buyer role, and payment term?
  • How are parent-child accounts, buyer permissions, budgets, and PO requirements handled?
  • Which system validates tax exemption and jurisdiction rules?
  • Which system confirms inventory, lead time, partial shipment, and backorder status?
  • How are multi-currency, multi-warehouse, and multi-entity ERP scenarios handled?
  • What happens if ERP order creation fails after customer acceptance?
  • What prevents duplicate orders during retries?
  • Where are failed syncs monitored, retried, and reconciled?
  • Which reports prove that ecommerce orders, ERP orders, invoices, payments, and credit memos match?
  • What security, audit, and compliance requirements apply to quote approvals and customer data?

That is how B2B ecommerce becomes scalable infrastructure instead of another manual workaround. The architecture should not only help customers request quotes; it should protect margin, reduce manual work, give finance reliable records, and keep ERP, ecommerce, and operations aligned from RFQ to cash.

Let's talk about your project idea!

Tell us about your project. We’ll help you plan the architecture, scope, and execution.

Get in touch

© Webalize 2026