SAP Knowledge Base Article - Public

2956392 - How to remove billing block by API for sales orders - SAP S/4HANA Cloud


You are using the API Credit Memo Request (A2X) to create a credit memo request. When the credit memo request is created, it automatically receives a default billing block Y8 - Check Credit Memo.



Reproducing the Issue

  1. A credit memo request is being created using the API Credit Memo Request (A2X).
  2. After the document is created, it automatically receives a billing block.


For this and similar OData APIs, you can use the property <HeaderBillingBlockReason> for billing block relevant configuration.


If you want to remove billing blocks from credit memo requests, a PATCH request - /A_CreditMemoRequest('{CreditMemoRequest}') can be triggered to update the blocked credit memo request. If the property <HeaderBillingBlockReason> is maintained as below, the field for billing block will be left as initial.

  • XML format: <HeaderBillingBlockReason/> 
  • json format: "HeaderBillingBlockReason": ""

See Also

SAP Help Portal - Credit Memo Request Header


API_CREDIT_MEMO_REQUEST_SRV, Billing Block, Sales Document, OData API, HeaderBillingBlockReason, Remove Billing Block, Credit Memo Request, Sales Order , KBA , SD-SLS-API , API , SD-SLS-API-2CL , API (Public Cloud) , How To


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