ERPClimb logoERPClimb
Billing
SD / O2Cadvanced 5 min read

SD Billing Part 7: Intercompany Billing and Internal Revenue/Cost Flow

Preview · a free account unlocks the full lesson

Key takeaway

How intercompany sales are billed: the customer invoice from the selling company code, the intercompany invoice (IV) from the delivering company code, internal customer per sales organization, intercompany pricing (PI01/IV01), account determination, and posting the payable in the ordering company (automatic via IDoc or manual).

In this lessonShow sections

Visual overview

SD Billing Part 7: Intercompany Billing and Internal Revenue/Cost Flow — learning sheetFlow: Assign a foreign plant to the sales org → Maintain internal customer and PI01 records → Create order, delivery, PGI in the delivering plant → Bill customer (F2) and intercompany (IV); post the payable. Key ideas: THE SCENARIO; CONFIGURATION; BILLING; THE SELLING COMPANY'S PAYABLE. Watch out: Missing intercompany billing leaves the delivering company with cost of goods but no revenue.ERPClimb.com / SD / LESSON 8/10 / LEARNING SHEETSD Billing Part 7: Intercompany Billing and InternalRevenue/Cost Flow1 · HOW IT FLOWS1Assign a foreignplant to thesales org2Maintaininternalcustomer and…3Create order,delivery, PGI inthe delivering…4Bill customer(F2) andintercompany…2 · KEY IDEAS EXPLAINEDThe ScenarioSales order in sales org of company A; deliveringplant belongs to company B.Delivery and PGI in B's plant.ConfigurationPlant assigned to A's sales org/channel (OVX6) →intercompany possible.Internal customer number per sales org(intercompany settings).BillingF2 to customer via VF04 in A.IV via VF04 in B (intercompany billing due list).The Selling Company's PayableManual MIRO or automatic via IDoc INVOIC (outputfrom IV).Cost in A = intercompany price.3 · REMEMBER · WATCH OUTRememberIntercompany sales: the selling company code invoices the customer(F2), the delivering company code invoices the selling company (IV).The selling sales org is represented as an internal customer in thedelivering company (assigned per sales organization).Intercompany price: condition PI01 (statistical in the customerinvoice, used as IV01 in the intercompany invoice).!Watch outMissing intercompany billing leavesthe delivering company with cost ofgoods but no revenue.4 · IN A REAL PROJECTA customer invoice posted correctly, but the supplying company showed inventory reductions without revenue formonths. Intercompany billing documents were due but nobody ran VF04 in the delivering company, because theprocess owner assumed it was automatic. A scheduled intercompany billing job, IDoc-based vendor invoice…Original ERPClimb learning sheet • Verify against your SAP release and edition

Explanation

Part 6 covered billing plans; this part is about billing across company codes in an intercompany sales scenario. In this setup, the selling company code invoices the end customer using a standard invoice (F2), while the delivering company code — the one that actually ships the goods — invoices the selling company through a separate intercompany invoice (IV).

The selling sales organization is represented inside the delivering company as an internal customer, assigned per sales organization in the intercompany configuration. The intercompany price itself comes from condition type PI01, which is statistical in the customer-facing invoice but reused as condition IV01 to become the actual, postable price in the intercompany invoice.

Setting this up means assigning the foreign plant to the selling company's sales organization and distribution channel through OVX6, which is what makes intercompany processing possible in the first place, maintaining the internal customer number for that sales organization under the intercompany settings, assigning the order type to intercompany billing type IV, and maintaining PI01 in the customer pricing procedure alongside IV01 in the intercompany pricing procedure.

Billing then happens in two steps: the F2 invoice goes to the customer via VF04 run in the selling company, and the IV invoice is created via VF04 in the delivering company's intercompany billing due list, with VKOA routing the intercompany revenue to the correct accounts based on the internal customer's account assignment group.

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.

  • Full explanation
  • 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

Referenced SAP objects

Reviewed reference pages for the objects this page mentions.

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.