ERPClimb logoERPClimb
Third-Party Sales
SD / O2Cintermediate 4 min read

SD Third-Party Sales Part 3: MM Integration, Invoice Verification and Billing

Preview · a free account unlocks the full lesson

Key takeaway

Close the third-party loop: PO with account assignment to the sales order, optional statistical goods receipt, vendor invoice verification (MIRO) updating the invoice receipt quantity, customer billing based on that quantity via copy control, cost and margin postings, and handling partial shipments and price differences.

In this lessonShow sections

Visual overview

SD Third-Party Sales Part 3: MM Integration, Invoice Verification and Billing — learning sheetFlow: Create order and PO → Post partial vendor invoice → Bill customer; check billed quantity equals invoiced quantity. Key ideas: PURCHASE ORDER; GOODS RECEIPT (OPTIONAL); INVOICE VERIFICATION; CUSTOMER BILLING. Watch out: Billing on order quantity instead of invoice receipt quantity bills goods the vendor never shipped.ERPClimb.com / SD / LESSON 3/3 / LEARNING SHEETSD Third-Party Sales Part 3: MM Integration, InvoiceVerification and Billing1 · HOW IT FLOWS1Create order and PO2Post partial vendorinvoice3Bill customer; checkbilled quantity equalsinvoiced quantity2 · KEY IDEAS EXPLAINEDPurchase OrderAccount assignment 1 (third-party) to sales orderitem.Delivery address customer ship-to.Goods Receipt (Optional)Statistical GR confirms vendor shipment (nostock).Can be used as billing trigger per design.Invoice VerificationMIRO posts vendor invoice: Dr COGS(account-assigned), Cr vendor.Updates invoice receipt quantity on the orderitem.Customer BillingTAS billing relevance F → billing quantity =invoiced quantity.VTFA order → invoice with requirement and billingquantity settings.3 · REMEMBER · WATCH OUTRememberThe PO is account-assigned to the sales order item; vendor invoicecost posts to COGS (sales order account assignment).With billing relevance F, the customer can be billed only for thequantity invoiced by the vendor (invoice receipt quantity).Optional statistical goods receipt records vendor shipmentconfirmation without stock.!Watch outBilling on order quantity instead ofinvoice receipt quantity bills goodsthe vendor never shipped.4 · IN A REAL PROJECTA specialty equipment distributor billed third-party items on order quantity. When vendors shipped partially,customers were billed for undelivered items and disputes followed. Using billing relevance F with VTFA billingbased on invoice receipt quantity, plus statistical GR for shipment confirmation, aligned invoices with…Original ERPClimb learning sheet • Verify against your SAP release and edition

Explanation

Parts 1 and 2 covered the third-party sales process and its configuration; this lesson follows the MM integration through to billing. The purchase order created for a third-party item is account-assigned back to the sales order item (account assignment category 1), with the delivery address set to the customer's ship-to, so the vendor ships directly to the customer.

An optional statistical goods receipt can be posted to confirm that the vendor has shipped, without actually posting stock, since the goods never physically arrive at the company's own warehouse; depending on the process design, this statistical GR can even be used as the trigger for billing the customer.

The vendor invoice itself is posted through invoice verification (MIRO), which debits cost of goods sold on the account assignment from the sales order and credits the vendor, and this posting also updates the invoice receipt quantity recorded against the sales order item.

Customer billing is tied to that invoice receipt quantity rather than to the order quantity: with billing relevance F set on the item category (TAS), the billing quantity is driven by the quantity the vendor has actually invoiced, and copy control (VTFA) from order to invoice carries the requirement and billing-quantity settings that enforce this.

Billing the customer on the order quantity instead of the invoice receipt quantity would mean invoicing the customer for goods the vendor never actually shipped, so this link matters.

On the financial side, the margin on a third-party sales order item is simply the revenue billed to the customer minus the vendor cost posted to that same account assignment, price differences are posted against the account assignment, and partial vendor shipments naturally lead to partial customer billing as each invoice receipt comes in.

To see this working, create a sales order and its purchase order, post a partial vendor invoice, and then bill the customer, confirming that the billed quantity matches the invoiced quantity — the goal is that the customer invoice quantity always follows the vendor invoice quantity, with the margin visible per order.

Free account

Create a free account to keep reading

You have read the opening of this lesson. A free ERPClimb account unlocks the rest of it, every other lesson and topic, and your learning history, so you can pick up exactly where you stopped. No card needed.

  • Code example
  • Real project scenario
  • Common mistakes
  • Best practices
  • Interview angle

One tap with Google works too. Every topic keeps its first lesson open to everyone.

Keep exploring

Check before use: lesson examples are educational, not a guarantee of correctness for your SAP edition or release. Sample code has not been executed on your SAP system. Confirm API availability, syntax, authorizations and business impact in an approved development or test environment.