2 weeks ago
**Subject:** How to keep Invoice Request in "To Be Invoiced" status and switch between Invoice/Credit Memo
Hello SAP Community,
I'm working with the ManageCustomerInvoiceRequestIn web service and have two questions:
**Question 1: How to prevent automatic Invoice creation?**
I need to create Invoice Requests that remain in **"To Be Invoiced"** status (not automatically converted to Customer Invoice) so I can manually edit them before creating the invoice.
**What I've tried:**
- `SettlementPriorityCode=2`: Still creates Invoice automatically (we don't use Down Payments)
- `SettlementBlockedIndicator=true`: Creates Invoice Request in "Blocked" status, which cannot be released
- `actionCode="04"`: Still creates Invoice automatically
**Question:** Is there an XML configuration to create an Invoice Request that stays in "To Be Invoiced" status without being blocked?
**Question 2: How to specify Invoice vs Credit Memo?**
What XML element controls whether an Invoice Request creates an Invoice or Credit Memo? I see `ReceivablesPropertyMovementDirectionCode` at item level:
- Code `1` = Decrease (Credit Memo)
- Code `2` = Increase (Invoice)
**Question:** Is this the correct way to specify Invoice vs Credit Memo, or is there a header-level setting?
**Sample XML (with sensitive data removed):**
```xml
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:glob="http://sap.com/xi/SAPGlobal20/Global">
<soap:Header/>
<soap:Body>
<glob:CustomerInvoiceRequestBundleMaintainRequest_sync>
<CustomerInvoiceRequest actionCode="01">
<BaseBusinessTransactionDocumentID>TEST001</BaseBusinessTransactionDocumentID>
<SettlementPriorityCode>1</SettlementPriorityCode>
<ProposedInvoiceDate>2025-11-17</ProposedInvoiceDate>
<ProposedDeviatingPostingDate>2025-11-17</ProposedDeviatingPostingDate>
<Name>Test Description</Name>
<BuyerParty>
<InternalID>CUSTOMER001</InternalID>
</BuyerParty>
<ProductRecipientParty>
<InternalID>CUSTOMER001</InternalID>
</ProductRecipientParty>
<AccountsReceivableDueItemTypeCode>ZR002</AccountsReceivableDueItemTypeCode>
<BillToParty>
<InternalID>CUSTOMER001</InternalID>
</BillToParty>
<BillFromParty>
<InternalID>COMPANY001</InternalID>
</BillFromParty>
<SalesUnitParty>
<InternalID>SALESUNIT001</InternalID>
</SalesUnitParty>
<PayerParty>
<InternalID>CUSTOMER001</InternalID>
</PayerParty>
<EmployeeResponsibleParty>
<InternalID>EMPLOYEE001</InternalID>
</EmployeeResponsibleParty>
<SalesAndServiceBusinessArea>
<DistributionChannelCode>01</DistributionChannelCode>
</SalesAndServiceBusinessArea>
<CashDiscountTerms>
<Code>1002</Code>
</CashDiscountTerms>
<PaymentControl>
</PaymentControl>
<PricingTerms>
<PricingProcedureCode>PPSTD1</PricingProcedureCode>
<CurrencyCode>KRW</CurrencyCode>
</PricingTerms>
<Item>
<BaseBusinessTransactionDocumentItemID>10</BaseBusinessTransactionDocumentItemID>
<ReceivablesPropertyMovementDirectionCode>2</ReceivablesPropertyMovementDirectionCode>
<Description languageCode="EN">Test Item Description</Description>
<Quantity unitCode="EA">1</Quantity>
<QuantityTypeCode>EA</QuantityTypeCode>
<PriceAndTax>
<PriceComponent>
<TypeCode>7PR1</TypeCode>
<Rate>
<DecimalValue>200000</DecimalValue>
<CurrencyCode>KRW</CurrencyCode>
<BaseDecimalValue>1</BaseDecimalValue>
<BaseMeasureUnitCode>EA</BaseMeasureUnitCode>
</Rate>
</PriceComponent>
</PriceAndTax>
<ProductTaxDetails>
<ProductTaxationCharacteristicsCode listID="KR">310</ProductTaxationCharacteristicsCode>
</ProductTaxDetails>
<AccountingCodingBlockAssignment>
<AccountingCodingBlock>
<AccountingCodingBlockTypeCode>ACC</AccountingCodingBlockTypeCode>
<GeneralLedgerAccountAliasCode>GL001</GeneralLedgerAccountAliasCode>
</AccountingCodingBlock>
</AccountingCodingBlockAssignment>
</Item>
</CustomerInvoiceRequest>
</glob:CustomerInvoiceRequestBundleMaintainRequest_sync>
</soap:Body>
</soap:Envelope>
```
Any guidance would be greatly appreciated!
Thank you,
Request clarification before answering.
Dear requester:
**Question 1: How to prevent automatic Invoice creation?**
Please check the KBA: 2389023 - How to Influence the Status of an External Invoice Request Created via the Web Service
https://me.sap.com/notes/0002389023
The SettlementPriorityCode influences the creation and release of an invoice from an invoice request.
**Question 2: How to specify Invoice vs Credit Memo?**
Please check the KBA 2181036 - When Invoicing External Customer Invoice Request a Customer Invoice is Created Even Though the Total Value is Negative
https://me.sap.com/notes/0002181036
In case, your request payload is modified as per the guidance, but still cannot created the invoice request properly, please create a case to SAP support, including the request payload, and the permission to test.
Thanks,
Adie
SAP Support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 11 | |
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.