public interface TaxClient extends CisClient
| Modifier and Type | Method and Description |
|---|---|
CisTaxDoc |
adjust(java.lang.String xClientRef,
java.lang.String tenantId,
java.lang.String taxDocId,
CisOrder order)
Adjusts a previously submitted or invoiced tax document.
|
<any> |
cancel(java.lang.String xClientRef,
java.lang.String tenantId,
java.lang.String taxDocId)
Cancels a previously submitted or invoiced tax document.
|
<any> |
exists(java.lang.String xClientRef,
java.lang.String tenantId,
java.lang.String taxDocId)
Checks if a tax document exists.
|
CisTaxDoc |
invoice(java.lang.String xClientRef,
java.lang.String tenantId,
CisOrder order)
Creates an invoice based on the provided order details.
|
CisTaxDoc |
post(java.lang.String xClientRef,
java.lang.String tenantId,
CisOrder order)
Submits taxes for the given order.
|
CisTaxDoc |
quote(java.lang.String xClientRef,
java.lang.String tenantId,
CisOrder order)
Returns a tax quote for the order.
|
CisTaxDoc quote(java.lang.String xClientRef, java.lang.String tenantId, CisOrder order)
xClientRef - client ref to pass in the headertenantId - tenantId to pass in the headerorder - The order details to get the quote forCisTaxDoc post(java.lang.String xClientRef, java.lang.String tenantId, CisOrder order)
Submits taxes for the given order.
Taxes can be posted when the order is placed, which will create a persisted tax document for later reference.
xClientRef - client ref to pass in the headertenantId - tenantId to pass in the headerorder - The order details to post taxes forCisTaxDoc invoice(java.lang.String xClientRef, java.lang.String tenantId, CisOrder order)
Creates an invoice based on the provided order details.
Invoiced orders can be adjusted or cancelled.
xClientRef - client ref to pass in the headertenantId - tenantId to pass in the headerorder - The order details to invoice taxes for<any> cancel(java.lang.String xClientRef,
java.lang.String tenantId,
java.lang.String taxDocId)
Cancels a previously submitted or invoiced tax document.
xClientRef - client ref to pass in the headertenantId - tenantId to pass in the headertaxDocId - id of the tax document we want to cancelCisTaxDoc adjust(java.lang.String xClientRef, java.lang.String tenantId, java.lang.String taxDocId, CisOrder order)
Adjusts a previously submitted or invoiced tax document.
xClientRef - client ref to pass in the headertenantId - tenantId to pass in the headertaxDocId - id of the tax document we want to adjustorder - CisOrder with lineitems to be cancelled<any> exists(java.lang.String xClientRef,
java.lang.String tenantId,
java.lang.String taxDocId)
Checks if a tax document exists.
xClientRef - client ref to pass in the headertenantId - tenantId to pass in the headertaxDocId - The location URI of the document (can be relative or absolute)Copyright © 2018 SAP SE. All Rights Reserved.