- Previous: Promotions Details
- Up: Trade Promotion
- Next: Transport Management System
Tax Code Retrieval
This API allows to retrieve the SAP Document Type and Tax Code based on vendor, company, document and item information.
#### Request URI
#### Request Structure
#### Request Example
#### Response Example - Successful Retrieval
#### Response Example - No Tax Code Determined
#### Error Response Structure
#### Error Response Examples
| API field | Type | Description | Mandatory | Format / Constraints | SAP Mapping |
vendorCode |
String | Vendor identifier used for the Tax Code and Document Type determination. | Y | A non-empty value is required. | I_LIFNR |
companyCode |
String | Company code for which the Tax Code and Document Type must be determined. | Y | A non-empty value is required. | I_BUKRS |
documentType |
String | Indicates whether the document is an invoice or a credit note. | Y | Allowed values: I (invoice) or C (credit note). |
I_SIGN |
totalAmount |
String | Total amount of the document. | Y | A valid decimal value is required. Zero is allowed. | I_AMOUNT |
taxAmount |
String | Total tax amount of the document. | Y | A valid decimal value is required. Zero is allowed. | I_TAX |
stampDutyAmount |
String | Stamp duty amount associated with the document. | Y | A valid decimal value is required. Zero is allowed and must be provided when no stamp duty is applicable. | I_ZBOL |
conditionType |
String | Condition type used for the Tax Code determination. | Y | A non-empty value is required. Current expected value: XD15. |
IT_INBOUND_DATA/YCODE |
item (1..1) |
|||||
totalAmount |
String | Amount associated with the document item. | Y | A valid decimal value is required. Zero is allowed. | IT_INBOUND_DATA/DMBTR |
numberOfAgreement |
String | Agreement number associated with the document item. | Y | Numeric value required. Accepted range: 0-99999 (maximum 5 significant digits). Leading zeros are allowed. |
IT_INBOUND_DATA/NRCONTRATTO |
assignmentNumber |
String | Assignment number associated with the document item. | Y | The field must be present. An empty string is allowed. | IT_INBOUND_DATA/ZUONR |
itemText |
String | Text associated with the document item. | Y | The field must be present. An empty string is allowed. | IT_INBOUND_DATA/SGTXT |
xRef3 |
String | Reference information associated with the document item. | Y | The field must be present. An empty string is allowed. | IT_INBOUND_DATA/XREF3 |
#### Response Structure
| API field | Type | Mandatory | Description |
documentType |
String | Y | SAP Document Type determined for the provided input data. |
taxCode |
String | N | SAP Tax Code determined for the provided input data. Returned as null when no Tax Code is determined. |
| API field | Type | Mandatory | Description |
status |
String | Y | Response status. Returned as Error in case of failed processing. |
message |
String | Y | Error message describing the reason for the failure. |
Missing required value - HTTP 400
Invalid document type - HTTP 400
Invalid decimal value - HTTP 400
Invalid agreement number - HTTP 400
SAP / backend processing error - HTTP 500
Generic processing error - HTTP 500
- Previous: Promotions Details
- Up: Trade Promotion
- Next: Transport Management System
Docs Navigation
- Campari Open API
- Getting Started
- Connection Tester
- Accises
- Automatic GRC
- Bulk Shipment Order
- C4C Confirmation
- Coupa Integration
- Customer Master Data
- Dogana Connector
- EZFocus
- Flavor Inventory Snapshot
- Goods Receipt
- Group Reporting
- Indirect Customers
- Invoice Verification
- Invoice Management
- InvoicePACloud
- Journal Entries
- Liquid Movement
- Logistics Operators
- Manual Data Ingestion
- Material Master Data
- Material
- Retrieve Access Token
- Create Material
- Retrieve Material by Id
- Retrieve Material Types Information
- Retrieve Specific Material Type
- Retrieve Material Unit of Measures by Id
- Update Material by Id
- Convert Unit of Measure
- Insert New Materials in CTS
- Retrieve Material Details from SAP and Interspec
- Retrieve Material Details from SAP
- Retrieve Product Hierarchy
- Retrieve Material SKU Code
- One Plan
- Order
- Payroll
- Payment
- Picklist
- Plant Utilities
- Purchase Orders
- Product
- Production Order
- Remittance Management
- Reversal Management
- Sales Order
- SAP Utils
- SedApta Connector
- SendLinkToSAP
- Shipment
- Stibo Integration
- Stocks
- Trade Promotion
- Transport Management System
- Vendor Purchase Orders
- Vendor
- Vistex
- Vulnerability Response
- Warehouse Management
- WBS Automation
- mdgreplicationrel
0 Comments
Please sign in to post a comment.