Symptom
When selecting Submit in eDocument Cockpit for South Korea e‑Tax Invoice, the submission fails.
- Error message: "Error with your business code"
- Message No.: EDOCUMENT_KR038
- Diagnosis: "You have a 3-character business code assigned by SmartBill. However, the business code configured in the system doesn't meet the 3-character length requirement."
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Open the eDocument Cockpit.
- Search for the target eDocument.
- Choose Submit.
- Observe the error "Error with your business code".
- Double-click the error to view Message No. EDOCUMENT_KR038 and the diagnosis text.
Cause
The system retrieves the business code by looking up the VAT Registration Number of the Business Place as a key against the Tax Number 2 field in the ASP_BUSINESS_CODE value mapping (namespace /EDOKR).
If the two values do not match exactly, the lookup returns an empty result. An empty value does not satisfy the 3-character length requirement for the business code, which triggers error EDOCUMENT_KR038.
The mismatch can occur in either direction: the Tax Number 2 in the value mapping was not maintained with the correct VAT Registration Number of the Business Place, or the Tax Number 2 in the Business Place configuration (Define Business Place for South Korea, SSCUI ID: 104040) was not maintained correctly so it no longer corresponds to the value in the value mapping.
Resolution
Please follow the steps below to resolve the issue:
- In your configuration environment, use the search function to open the Define Business Place for South Korea configuration activity (SSCUI ID: 104040).
- Enter your company code.
- Select the relevant business place. Choose Details.
- Note the value in the Tax Number 2 field. This is the VAT Registration Number of your business place.
- Open the Configure Value Mapping app.
- Enter namespace /EDOKR and value mapping name ASP_BUSINESS_CODE. Choose Run.
- Switch to change mode.
- In the Tax Number 2 field, confirm it matches exactly the value noted in step 1. Correct if necessary.
- Save your changes.
- Create a new document and verify the submission completes successfully in the eDocument Cockpit.
See Also
Keywords
eDocument Cockpit, EDOCUMENT_KR038, error with your business code, South Korea, KR e-Tax Invoice, submit error, SmartBill, business code, 3-character, value mapping, ASP_BUSINESS_CODE, electronic document, document compliance , KBA , CA-GTF-CSC-EDO-KR , Document Compliance South Korea , Bug Filed
SAP Knowledge Base Article - Public