SAP Knowledge Base Article - Public

3129938 - Error message "Customer * is not defined in company code *" when releasing the billing document to financial accounting


  • The billing document is in status "To Be Posted".
  • The billing document can not be posted to accounting.
  • Error message "Customer * is not defined in company code *" is issued when releasing the billing document to financial accounting.



Reproducing the Issue

  1. Open Manage Billing Documents app
  2. Select the billing document
  3. Choose Post


The customer is not defined in the company code. It means no master record was created in the respective company code for the customer number.


Maintain the customer master record in the company code.

  1. Open Manage Customer Master Data app
  2. Enter the business partner
  3. Choose Edit
  4. In the Customer Master screen, choose Company Codes
  5. Choose Create
  6. Enter company code data

See Also

Follow the Master Data Scripts (MDS) for information on creating master data objects.
Follow the corresponding scope item description of the SAP Best Practices for SAP S/4HANA Cloud.‎


F5 102, F5102, e102, To Be Posted, release to accountng, CIIG, Internal CM STO Return, STO, RV_ACCOUNTING_DOCUMENT_CREATE, AC_DOCUMENT_CREATE, FI_CUSTOMER_CHECK, LFACSU05, SAPLFACS, VF_DEBI, LM_DEBI, KNA1, KNB1, I_KUNNR, I_BUKRS, KUNNR, BUKRS, ACCOUNTING_HEAD_LINE,TVFK-XFILKD, VOFA, Branch/head office relationship, company code, payer, sold-to, customer master, Maintain Business Partner, MDS, BND, Fakturaüberleitung, Debitor & ist im Buchungskreis & nicht vorgesehen, 2TS, Intercompany Stock Transfer Returns , KBA , SD-BIL-CA , Account Assignment , SD-BIL , Billing , SD-BIL-IV , Processing Billing Documents , FI-GL-GL , Basic Functions , Problem


SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions