Interface BillingDocumentService
- All Superinterfaces:
BatchService<BillingDocumentServiceBatch>
- All Known Implementing Classes:
DefaultBillingDocumentService
Consumers of this inbound service can read and cancel billing documents inside your system by sending OData requests. In addition, they can request entire billing documents in PDF format. The service makes billing document data available through its header, item, business partner, and pricing element entities..
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | API_BILLING_DOCUMENT_SRV |
| API Version: | 1.1.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Billing Integration(SAP_COM_0120), Excise Tax Integration(SAP_COM_0568) |
| Scope Items: | External Billing(1Z6), External Billing(OZ6), Enablement of SAP Excise Tax Management(4LO) |
| Authentication Methods: | x509 |
| Business Object: | Billing Document |
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Creates a fluent helper for the Cancel OData function import.Deprecated.Fetch multipleBillingDocumententities.Deprecated.Fetch multipleBillingDocumentItementities.Deprecated.Fetch multipleBillingDocumentItemPartnerentities.Deprecated.Fetch multipleBillingDocumentItemPrcgElmntentities.Deprecated.Fetch multipleBillingDocumentItemTextentities.Deprecated.Fetch multipleBillingDocumentPartnerentities.Deprecated.Fetch multipleBillingDocumentPrcgElmntentities.Deprecated.Fetch multipleBillingDocumentTextentities.getBillingDocumentByKey(String billingDocument) Deprecated.Fetch a singleBillingDocumententity using key fields.getBillingDocumentItemByKey(String billingDocument, String billingDocumentItem) Deprecated.Fetch a singleBillingDocumentItementity using key fields.getBillingDocumentItemPartnerByKey(String billingDocument, String billingDocumentItem, String partnerFunction) Deprecated.Fetch a singleBillingDocumentItemPartnerentity using key fields.getBillingDocumentItemPrcgElmntByKey(String billingDocument, String billingDocumentItem, String pricingProcedureStep, String pricingProcedureCounter) Deprecated.Fetch a singleBillingDocumentItemPrcgElmntentity using key fields.getBillingDocumentItemTextByKey(String billingDocument, String billingDocumentItem, String language, String longTextID) Deprecated.Fetch a singleBillingDocumentItemTextentity using key fields.getBillingDocumentPartnerByKey(String billingDocument, String partnerFunction) Deprecated.Fetch a singleBillingDocumentPartnerentity using key fields.getBillingDocumentPrcgElmntByKey(String billingDocument, String pricingProcedureStep, String pricingProcedureCounter) Deprecated.Fetch a singleBillingDocumentPrcgElmntentity using key fields.getBillingDocumentTextByKey(String billingDocument, String language, String longTextID) Deprecated.Fetch a singleBillingDocumentTextentity using key fields.Deprecated.Creates a fluent helper for the GetPDF OData function import.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.Methods inherited from interface com.sap.cloud.sdk.datamodel.odata.helper.batch.BatchService
batch
-
Field Details
-
DEFAULT_SERVICE_PATH
Deprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint.- See Also:
-
-
Method Details
-
withServicePath
Deprecated.Overrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
getAllBillingDocument
Deprecated.Fetch multipleBillingDocumententities.- Returns:
- A fluent helper to fetch multiple
BillingDocumententities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getBillingDocumentByKey
Deprecated.Fetch a singleBillingDocumententity using key fields.- Parameters:
billingDocument- Billing DocumentConstraints: Not nullable, Maximum length: 10
- Returns:
- A fluent helper to fetch a single
BillingDocumententity using key fields. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllBillingDocumentItem
Deprecated.Fetch multipleBillingDocumentItementities.- Returns:
- A fluent helper to fetch multiple
BillingDocumentItementities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getBillingDocumentItemByKey
@Nonnull BillingDocumentItemByKeyFluentHelper getBillingDocumentItemByKey(String billingDocument, String billingDocumentItem) Deprecated.Fetch a singleBillingDocumentItementity using key fields.- Parameters:
billingDocumentItem- Billing ItemConstraints: Not nullable, Maximum length: 6
billingDocument- Billing DocumentConstraints: Not nullable, Maximum length: 10
- Returns:
- A fluent helper to fetch a single
BillingDocumentItementity using key fields. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllBillingDocumentItemPartner
Deprecated.Fetch multipleBillingDocumentItemPartnerentities.- Returns:
- A fluent helper to fetch multiple
BillingDocumentItemPartnerentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getBillingDocumentItemPartnerByKey
@Nonnull BillingDocumentItemPartnerByKeyFluentHelper getBillingDocumentItemPartnerByKey(String billingDocument, String billingDocumentItem, String partnerFunction) Deprecated.Fetch a singleBillingDocumentItemPartnerentity using key fields.- Parameters:
partnerFunction- Partner FunctionConstraints: Not nullable, Maximum length: 2
billingDocumentItem- Billing ItemConstraints: Not nullable, Maximum length: 6
billingDocument- Billing DocumentConstraints: Not nullable, Maximum length: 10
- Returns:
- A fluent helper to fetch a single
BillingDocumentItemPartnerentity using key fields. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllBillingDocumentItemPrcgElmnt
Deprecated.Fetch multipleBillingDocumentItemPrcgElmntentities.- Returns:
- A fluent helper to fetch multiple
BillingDocumentItemPrcgElmntentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getBillingDocumentItemPrcgElmntByKey
@Nonnull BillingDocumentItemPrcgElmntByKeyFluentHelper getBillingDocumentItemPrcgElmntByKey(String billingDocument, String billingDocumentItem, String pricingProcedureStep, String pricingProcedureCounter) Deprecated.Fetch a singleBillingDocumentItemPrcgElmntentity using key fields.- Parameters:
billingDocumentItem- Billing ItemConstraints: Not nullable, Maximum length: 6
pricingProcedureCounter- Condition CounterConstraints: Not nullable, Maximum length: 3
billingDocument- Billing DocumentConstraints: Not nullable, Maximum length: 10
pricingProcedureStep- Step NumberConstraints: Not nullable, Maximum length: 3
- Returns:
- A fluent helper to fetch a single
BillingDocumentItemPrcgElmntentity using key fields. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllBillingDocumentItemText
Deprecated.Fetch multipleBillingDocumentItemTextentities.- Returns:
- A fluent helper to fetch multiple
BillingDocumentItemTextentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getBillingDocumentItemTextByKey
@Nonnull BillingDocumentItemTextByKeyFluentHelper getBillingDocumentItemTextByKey(String billingDocument, String billingDocumentItem, String language, String longTextID) Deprecated.Fetch a singleBillingDocumentItemTextentity using key fields.- Parameters:
billingDocumentItem- Billing ItemConstraints: Not nullable, Maximum length: 6
language- Language KeyConstraints: Not nullable, Maximum length: 2
billingDocument- Billing DocumentConstraints: Not nullable, Maximum length: 10
longTextID- Text IDConstraints: Not nullable, Maximum length: 4
- Returns:
- A fluent helper to fetch a single
BillingDocumentItemTextentity using key fields. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllBillingDocumentPartner
Deprecated.Fetch multipleBillingDocumentPartnerentities.- Returns:
- A fluent helper to fetch multiple
BillingDocumentPartnerentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getBillingDocumentPartnerByKey
@Nonnull BillingDocumentPartnerByKeyFluentHelper getBillingDocumentPartnerByKey(String billingDocument, String partnerFunction) Deprecated.Fetch a singleBillingDocumentPartnerentity using key fields.- Parameters:
partnerFunction- Partner FunctionConstraints: Not nullable, Maximum length: 2
billingDocument- Billing DocumentConstraints: Not nullable, Maximum length: 10
- Returns:
- A fluent helper to fetch a single
BillingDocumentPartnerentity using key fields. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllBillingDocumentPrcgElmnt
Deprecated.Fetch multipleBillingDocumentPrcgElmntentities.- Returns:
- A fluent helper to fetch multiple
BillingDocumentPrcgElmntentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getBillingDocumentPrcgElmntByKey
@Nonnull BillingDocumentPrcgElmntByKeyFluentHelper getBillingDocumentPrcgElmntByKey(String billingDocument, String pricingProcedureStep, String pricingProcedureCounter) Deprecated.Fetch a singleBillingDocumentPrcgElmntentity using key fields.- Parameters:
pricingProcedureCounter- Condition CounterConstraints: Not nullable, Maximum length: 3
billingDocument- Billing DocumentConstraints: Not nullable, Maximum length: 10
pricingProcedureStep- Step NumberConstraints: Not nullable, Maximum length: 3
- Returns:
- A fluent helper to fetch a single
BillingDocumentPrcgElmntentity using key fields. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllBillingDocumentText
Deprecated.Fetch multipleBillingDocumentTextentities.- Returns:
- A fluent helper to fetch multiple
BillingDocumentTextentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getBillingDocumentTextByKey
@Nonnull BillingDocumentTextByKeyFluentHelper getBillingDocumentTextByKey(String billingDocument, String language, String longTextID) Deprecated.Fetch a singleBillingDocumentTextentity using key fields.- Parameters:
language- Language KeyConstraints: Not nullable, Maximum length: 2
billingDocument- Billing DocumentConstraints: Not nullable, Maximum length: 10
longTextID- Text IDConstraints: Not nullable, Maximum length: 4
- Returns:
- A fluent helper to fetch a single
BillingDocumentTextentity using key fields. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
cancel
Deprecated.Creates a fluent helper for the Cancel OData function import.
- Parameters:
billingDocument- Constraints: Not nullable, Maximum length: 11000Original parameter name from the Odata EDM: BillingDocument
- Returns:
- A fluent helper object that will execute the Cancel OData function import with the provided
parameters. To perform execution, call the
executemethod on the fluent helper object.
-
getPDF
Deprecated.Creates a fluent helper for the GetPDF OData function import.
- Parameters:
billingDocument- Constraints: Not nullable, Maximum length: 11000Original parameter name from the Odata EDM: BillingDocument
- Returns:
- A fluent helper object that will execute the GetPDF OData function import with the provided
parameters. To perform execution, call the
executemethod on the fluent helper object.
-