PDF Export

Get the AVS tax data.

Path mapping(intern): /net/dsb/avs3/MasterData/getTaxdata-1.0.0
SAP REST: /GET_SHOP_TAXALL

URL

GET: /rest/{client}/taxdata?country=xx

Parameter Description
client client id
sp service provider. (mandatory if the user account can use different service provider values)
country Country Code

Response

The response is a JSON document.

Example (formated to improve readability):

[
 {
        "CONDITION": "011",
        "DEP_COUNTRY": "GB",
        "COUNTRY_KEY": "BE",
        "TAX_CLASS_CUS": "9",
        "TAX_CLASS_MAT": "2",
        "VALIDITY_END_DATE": "9999-12-31",
        "VALIDITY_START_DATE": "1998-01-01",
        "RATE": 0,
        "TAX_CODE": "AB",
        "DESCR" : "TEST"
    },
    {
        "CONDITION": "011",
        "DEP_COUNTRY": "GB",
        "COUNTRY_KEY": "BG",
        "TAX_CLASS_CUS": "1",
        "TAX_CLASS_MAT": "0",
        "VALIDITY_END_DATE": "9999-12-31",
        "VALIDITY_START_DATE": "2007-01-01",
        "RATE": 0,
        "TAX_CODE": "CD",
        "DESCR" : "TEST"
    }
]
JSON Field Description
CONDITION Condition table
DEP_COUNTRY Country of Departure
COUNTRY_KEY Country key
TAX_CLASS_CUS Tax classification 1 for customer
TAX_CLASS_MAT Tax classification material
VALIDITY_END_DATE Validity end date of the condition record
VALIDITY_START_DATE Validity start date of the condition record
RATE Rate (condition amount or percentage)
TAX_CODE Tax code
DESCR Description of the tax
HTTP Response Status Bedeutung
200 Success
401 Authorization required
500 Internal error
This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information