Symptom
An invoice is created in EUR for Poland. On the billing document, VAT amounts must be displayed in PLN using the Daily Exchange Rate (D).
Even after configuring the company currency settings to use the Daily Rate:
- During sales order creation, the accounting exchange rate is correctly determined.
- During billing document creation, exchange rate type M (Monthly) is determined.
This leads to VAT amounts being calculated using the monthly rate, which does not meet business or local statutory requirements.
Environment
S/4HANA Cloud Public Edition
Reproducing the Issue
- Create an invoice in EUR for Poland.
- Ensure VAT is displayed in PLN and the company currency settings are configured to use the Daily Exchange Rate type (D).
- Generate the billing document.
- Observe that the monthly exchange rate (M) is applied instead of the daily exchange rate (D).
Cause
SAP determines the accounting exchange rate using a default exchange rate type M (Monthly) in the Billing Document. This is the standard behavior, even if a daily rate is used earlier during sales order creation.
Resolution
SAP provides a supported enhancement option to influence the Exchange Rate determination during Billing Document creation via the BAdI Custom Data Transfer for Billing Process Documents (SD_BIL_DATA_TRANSFER). Within this BAdI, the parameter BIL_DOC_RES can be modified to override the default Exchange Rate type M. For more details on implementation, refer Custom Data Transfer for Billing Process Documents | SAP Help Portal.
See Also
- Exchange Rate for Billing | SAP Help Portal.
- Custom Data Transfer for Billing Process Documents | SAP Help Portal.
- SAP Note 3557452 - Exchange rate for accounting is not updated properly.
- SAP Note 3554824 - Exchange rates are not correctly determined in Billing Documents - SAP S/4HANA Cloud.
- SAP Note 3245479 - Determination of Exchange Rate in the Billing Document - SAP S/4HANA Cloud Public Edition.
Keywords
exchange rate, billing document, VAT, PLN, daily rate, monthly rate, SAP S/4HANA Cloud, BAdI SD_BIL_DATA_TRANSFER, BIL_DOC_RES, accounting exchange rate, Poland, incorrect exchange rate determination. , KBA , SD-BIL-IV-2CL , Processing Billing Documents (Public Cloud) , SD-BIL , Billing , Problem
SAP Knowledge Base Article - Public