
Billing documents are generated by SAP Tax and Revenue Management:
- By form-based tax scenario, via transaction FMCAPFPF or the "Create Tax Assessment" button in the form bundle framework
- By object-based tax scenario, via transactions FMCABILLI and FMCABILLM
Other sources can also generate billing documents:
- External Billing Systems: Integrate billing records from third-party billing platforms using either BAPI or IDoc interfaces. For PSCD, the recommended BAPI is BAPI_FMCABILLDOC_CREATE_MULT.
- The SAP Social Services Management Solution
- The SAP Real Estate Management, for Property Tax
- The SAP Sales and Distribution component.
The invoicing process entails:
- Producing accounting documents for either invoice claims or credit notes derived from billing records.
- Reconciling accounting entries with advance payments received.
- Aiding in the calculation and imposition of extra fees, interests, and discounts.
- Compiling data required for invoice printout, that is, generating print documents.
- Generating accounting records in PSCD: Invoicing can also handle PSCD documents, for instances like reconciling prepaid amounts with invoicing receivables.

The inbound interface accepts data from one or multiple billing documents sourced from external systems. This can be executed synchronously through an RFC call using a BAPI. Alternatively, asynchronous processing with IDocs can be employed via an ALE interface.
The data from external documents is mapped to the respective structures and fields of the ERP billing document.
Upon successful consistency checks, the billing documents are stored in the database. Additionally, an invoicing order is established for each of these documents. These invoicing orders allow the invoicing software to efficiently pinpoint particular billing documents awaiting processing. Once a billing document has been successfully invoiced, its associated invoicing order is removed.
If needed, customer enhancements (BAdIs) can be utilized to input extra data into custom tables.
Invoicing identifies new billing documents that haven't been processed yet through the invoicing orders. Among its various tasks, invoicing generates new invoicing documents based on these billing documents and records the revenues in PSCD.
The invoicing order acts as a catalyst for the invoicing process. It's a provisional record in the DFKKINV_TRIG table symbolizing a source document awaiting invoicing. This order aids in selecting the source documents for invoicing and is discarded once the source document undergoes successful invoicing.
An invoicing order comes into existence when:
- A billing document geared towards invoicing is established (with the Source Document Category INVBI).
- Separate invoices within a grouped bill are formulated (under the Source Document Category COLBI).
- An SD billing request designed for integration into PSCD invoicing is produced (with the Source Document Category SD).
- A user initiates the necessary invoicing transactions, defining their selection criteria.
The invoicing report identifies the contract accounts set for invoicing by accessing the selection parameters of the invoicing trigger DFKKINV_TRIG. It focuses on the source document categories pertinent to the invoicing routine, which have the capability to initiate invoicing.
To pick invoicing orders for the invoicing process, the Analyze Invoicing Orders report can be employed. If needed, this report can also process the invoicing orders, or kick off an invoicing simulation.