Background
In the previous release, the Self-Billing Cockpit only support the net amount comparison in Self-Billing with automatic posting. In case there are some tax differences between customer and supplier, it would led to the wrong billing documents and finance documents generated.
Solution
- Introduce two more fields in "SBWAP" transmission api "SdDocument" node level.
SAP API Hub:
https://api.sap.com/api/TransmissionReceiverAPI/overview
SAP Help Document:
https://help.sap.com/docs/CP_SELF_BILLING/3c59c5f3dc1c46f7872ae6124561ece8/56a0fe8ddbb1480fb212756f9...
In case customer send the "CustomerVatRegistrationNumber", system would compare this number with "VAT Registration No." from initial invoice in backend system.
In case customer send the "SupplierVATRegistrationNumber",system would compare this number with "VAT Registration No." from "Define Domestic VAT Registration Numbers" in backend system.
In case there are differences in each of those fields, system would drop an error and stop self-billing processing.
If there is some mistakes from customer side, supplier could deactive this self-billing document and inform customer to send a new one.
If there is some mistakes from supplier side, supplier shall create one new initial billing with correct VAT number or change the configuration of VAT number. Then re-simulate this self-billing documents.
Note: The company code master data would be replicated to Self-Billing Cockpit daily base. In case you change the "Define Domestic VAT Registration Numbers", you need to wait until tomorow to re-simulate the self-billing document.
- Introduce two more fields in "SBWAP" transmission api "SdDocumentItem" node level.
Receive "VatRate" and "VatAmount" from customer.
System would check the transmitted tax amount and tax rate valid or not in item level.
Eg: Transmitted Net Value 20EUR * Transmitted Tax Rate% = 2EUR which is difference with transmitted tax amount 2.4 EUR.
System drop an error as below. Supplier shall deactive this self-billing document and inform customer to send a new one .
In case customer don't send the tax amount and tax rate in self-billing document, system would not compare the tax amount and tax rate.
In case customer only send the tax rate, system would compare the tax rate and calculated the tax amount difference automatically.
Tax Amount Difference = Transmitted Net Value 20EUR * Transmitted Tax Rate 10% - Reference Tax Amount 4.2EUR = -2.2EUR
In case customer only send the tax amount, system would only compare the tax amount.
In case customer send both tax rate and tax amount, system would compare both and take the tax rate difference as higher priority.
Blog Post Series for SAP Self-Billing Cockpit