Skip to Content
0
Aug 21, 2020 at 06:46 AM

Billing Document Request - Create API splitting criteria

92 Views

Hi Experts, We are using the following API to create billing document requests in the system: https://api.sap.com/api/BDR_REQUEST_IN/overview We are trying to create a single billing document request with three items by sending the following message: <?xmlversion="1.0"encoding="ISO-8859-1"?> <soapenv:Envelopexmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"xmlns:sd="http://sap.com/xi/SD-BIL"xmlns:yy1="http://SAPCustomFields.com/YY1_"> <soapenv:Body> <sd:BillingDocumentRequestRequest> <MessageHeader> <CreationDateTime>2020-07-08T15:06:11.00Z</CreationDateTime> <SenderBusinessSystemID>HCP_TEST</SenderBusinessSystemID> <SenderParty> <InternalID>FI11A</InternalID> </SenderParty> </MessageHeader> <GlobalParameters> <ReferenceDocumentLogicalSystem>REV_SYSTEM</ReferenceDocumentLogicalSystem> </GlobalParameters> <BillableDocument> <ReferenceDocument>183933XXX</ReferenceDocument> <BillableDocumentItem> <ReferenceDocumentItem>10</ReferenceDocumentItem> <SalesDocumentType>EO01</SalesDocumentType> <SalesDocumentItemCategory>ED01</SalesDocumentItemCategory> <BillingDocumentRequestType>BDR1</BillingDocumentRequestType> <DistributionChannel>10</DistributionChannel> <Division>00</Division> <BillingDocumentDate>2020-03-04</BillingDocumentDate> <SoldToParty>17973</SoldToParty> <TransactionCurrency>EUR</TransactionCurrency> <TaxDepartureCountry>DE</TaxDepartureCountry> <CustomerReference>LX6112A692AD</CustomerReference> <Material>LX6112A692AD</Material> <ProductHierarchyNode></ProductHierarchyNode> <Quantity>3.000</Quantity> <ServicesRenderedDate>2020-03-03</ServicesRenderedDate> <HigherLevelItem></HigherLevelItem> <PricingDate>2020-03-03</PricingDate> <PriceDetnExChangeRate>1.000</PriceDetnExChangeRate> <Plant>ES20</Plant> <PricingElement> <ConditionType>PMP0</ConditionType> <ConditionRateValue>620826</ConditionRateValue> <ConditionCurrency>EUR</ConditionCurrency> <ConditionQuantity>1000</ConditionQuantity> </PricingElement> <yy1:YY1_SD_SB>C83FE099</yy1:YY1_SD_SB> </BillableDocumentItem> <BillableDocumentItem> <ReferenceDocumentItem>20</ReferenceDocumentItem> <SalesDocumentType>EO01</SalesDocumentType> <SalesDocumentItemCategory>ED01</SalesDocumentItemCategory> <BillingDocumentRequestType>BDR1</BillingDocumentRequestType> <DistributionChannel>10</DistributionChannel> <Division>