Taxas
APIs de taxas fornecem dados de impostos para integrar em sistemas, facilitando cálculos e conformidade legal.
Last updated
APIs de taxas fornecem dados de impostos para integrar em sistemas, facilitando cálculos e conformidade legal.
Last updated
GET /taxes?filter[tax_code]=<código de Taxa> &filter[tax_country_region]=<código da região>
Exemplo:
GET /api/taxes?filter[tax_code]=NOR&filter[tax_country_region]=BE
{
"data": [
{
"type": "taxes",
"id": "103",
"attributes": {
"tax_country_region": "BE",
"tax_code": "NOR",
"description": "Normal",
"tax_percentage": "21",
"tax_expiration_date": null,
"vat_tax_id": null
}
}
]
}
GET /taxes?filter[tax_code]=<código de Taxa> &filter[tax_country_region]=<a região do IVA>&filter[tax_percentage]=<a percentagem de taxa>
Exemplo:
{{base_url}}/api/taxes?filter[tax_code]=NOR&filter[tax_country_region]=BE&filter[tax_percentage]=21
{
"data": [
{
"type": "taxes",
"id": "103",
"attributes": {
"tax_country_region": "BE",
"tax_code": "NOR",
"description": "Normal",
"tax_percentage": "21",
"tax_expiration_date": null,
"vat_tax_id": null
}
}
]
}
Obter Todas as Taxas
/api/taxes
BE
NOR
21
curl -L \
--url '{{base_url}}/api/taxes'
No body
/ Sucesso / Sucesso
Obter Todas as Taxas de OSS
/api/oss_taxes
curl -L \
--url '{{base_url}}/api/oss_taxes'
{
"data": [
{
"id": "AT",
"type": "oss_taxes",
"attributes": {
"code": "AT",
"country_name": "Áustria",
"tax_country_region": "AT",
"int": [
"13#1"
],
"nor": [
"20#1"
],
"red": [
"10#1"
]
}
},
{
"id": "BE",
"type": "oss_taxes",
"attributes": {
"code": "BE",
"country_name": "Bélgica",
"tax_country_region": "BE",
"int": [
"12#1"
],
"nor": [
"21#1"
],
"red": [
"6#1"
]
}
},
{
"id": "BG",
"type": "oss_taxes",
"attributes": {
"code": "BG",
"country_name": "Bulgária",
"tax_country_region": "BG",
"int": [
"9#1"
],
"nor": [
"20#1"
],
"red": []
}
},
{
"id": "CY",
"type": "oss_taxes",
"attributes": {
"code": "CY",
"country_name": "Chipre",
"tax_country_region": "CY",
"int": [
"9#1"
],
"nor": [
"19#1"
],
"red": [
"5#1"
]
}
},
{
"id": "CZ",
"type": "oss_taxes",
"attributes": {
"code": "CZ",
"country_name": "República Checa",
"tax_country_region": "CZ",
"int": [
"15#1"
],
"nor": [
"21#1"
],
"red": [
"10#1"
]
}
},
{
"id": "DE",
"type": "oss_taxes",
"attributes": {
"code": "DE",
"country_name": "Alemanha",
"tax_country_region": "DE",
"int": [],
"nor": [
"19#1"
],
"red": [
"7#1"
]
}
},
{
"id": "DK",
"type": "oss_taxes",
"attributes": {
"code": "DK",
"country_name": "Dinamarca",
"tax_country_region": "DK",
"int": [],
"nor": [
"25#1"
],
"red": []
}
},
{
"id": "EE",
"type": "oss_taxes",
"attributes": {
"code": "EE",
"country_name": "Estónia",
"tax_country_region": "EE",
"int": [],
"nor": [
"20#1"
],
"red": [
"9#1"
]
}
},
{
"id": "EL",
"type": "oss_taxes",
"attributes": {
"code": "EL",
"country_name": "Grécia",
"tax_country_region": "EL",
"int": [
"13#1"
],
"nor": [
"24#1"
],
"red": [
"6#1"
]
}
},
{
"id": "ES",
"type": "oss_taxes",
"attributes": {
"code": "ES",
"country_name": "Espanha",
"tax_country_region": "ES",
"int": [
"10#1"
],
"nor": [
"21#1"
],
"red": [
"4#1"
]
}
},
{
"id": "FI",
"type": "oss_taxes",
"attributes": {
"code": "FI",
"country_name": "Finlândia",
"tax_country_region": "FI",
"int": [
"14#1"
],
"nor": [
"24#1"
],
"red": [
"10#1"
]
}
},
{
"id": "FR",
"type": "oss_taxes",
"attributes": {
"code": "FR",
"country_name": "França",
"tax_country_region": "FR",
"int": [
"5.5#1",
"10#2"
],
"nor": [
"20#1"
],
"red": [
"2.1#1"
]
}
},
{
"id": "HR",
"type": "oss_taxes",
"attributes": {
"code": "HR",
"country_name": "Croácia",
"tax_country_region": "HR",
"int": [
"13#1"
],
"nor": [
"25#1"
],
"red": [
"5#1"
]
}
},
{
"id": "HU",
"type": "oss_taxes",
"attributes": {
"code": "HU",
"country_name": "Hungria",
"tax_country_region": "HU",
"int": [
"18#1"
],
"nor": [
"27#1"
],
"red": [
"5#1"
]
}
},
{
"id": "IE",
"type": "oss_taxes",
"attributes": {
"code": "IE",
"country_name": "Irlanda",
"tax_country_region": "IE",
"int": [
"9#1",
"13.5#2"
],
"nor": [
"23#1"
],
"red": [
"4.8#1"
]
}
},
{
"id": "IT",
"type": "oss_taxes",
"attributes": {
"code": "IT",
"country_name": "Itália",
"tax_country_region": "IT",
"int": [
"5#1",
"10#2"
],
"nor": [
"22#1"
],
"red": [
"4#1"
]
}
},
{
"id": "LT",
"type": "oss_taxes",
"attributes": {
"code": "LT",
"country_name": "Lituânia",
"tax_country_region": "LT",
"int": [
"9#1"
],
"nor": [
"21#1"
],
"red": [
"5#1"
]
}
},
{
"id": "LU",
"type": "oss_taxes",
"attributes": {
"code": "LU",
"country_name": "Luxemburgo",
"tax_country_region": "LU",
"int": [
"7#1",
"13#2"
],
"nor": [
"16#1"
],
"red": [
"3#1"
]
}
},
{
"id": "LV",
"type": "oss_taxes",
"attributes": {
"code": "LV",
"country_name": "Letónia",
"tax_country_region": "LV",
"int": [
"12#1"
],
"nor": [
"21#1"
],
"red": [
"5#1"
]
}
},
{
"id": "MC",
"type": "oss_taxes",
"attributes": {
"code": "MC",
"country_name": "Mónaco",
"tax_country_region": "MC",
"int": [
"5.5#1",
"10#2"
],
"nor": [
"20#1"
],
"red": []
}
},
{
"id": "MT",
"type": "oss_taxes",
"attributes": {
"code": "MT",
"country_name": "Malta",
"tax_country_region": "MT",
"int": [
"7#1"
],
"nor": [
"18#1"
],
"red": [
"5#1"
]
}
},
{
"id": "NL",
"type": "oss_taxes",
"attributes": {
"code": "NL",
"country_name": "Países Baixos",
"tax_country_region": "NL",
"int": [],
"nor": [
"21#1"
],
"red": [
"9#1"
]
}
},
{
"id": "PL",
"type": "oss_taxes",
"attributes": {
"code": "PL",
"country_name": "Polónia",
"tax_country_region": "PL",
"int": [
"8#1"
],
"nor": [
"23#1"
],
"red": [
"5#1"
]
}
},
{
"id": "PT",
"type": "oss_taxes",
"attributes": {
"code": "PT",
"country_name": "Portugal",
"tax_country_region": "PT",
"int": [
"13#1"
],
"nor": [
"23#1"
],
"red": [
"6#1"
]
}
},
{
"id": "PT-AC",
"type": "oss_taxes",
"attributes": {
"code": "PT-AC",
"country_name": "Portugal - Açores",
"tax_country_region": "PT-AC",
"int": [
"9#1"
],
"nor": [
"16#1"
],
"red": [
"4#1"
]
}
},
{
"id": "PT-MA",
"type": "oss_taxes",
"attributes": {
"code": "PT-MA",
"country_name": "Portugal - Madeira",
"tax_country_region": "PT-MA",
"int": [
"12#1"
],
"nor": [
"22#1"
],
"red": [
"5#1"
]
}
},
{
"id": "RO",
"type": "oss_taxes",
"attributes": {
"code": "RO",
"country_name": "Roménia",
"tax_country_region": "RO",
"int": [
"9#1"
],
"nor": [
"19#1"
],
"red": [
"5#1"
]
}
},
{
"id": "SE",
"type": "oss_taxes",
"attributes": {
"code": "SE",
"country_name": "Suécia",
"tax_country_region": "SE",
"int": [
"12#1"
],
"nor": [
"25#1"
],
"red": [
"6#1"
]
}
},
{
"id": "SI",
"type": "oss_taxes",
"attributes": {
"code": "SI",
"country_name": "Eslovénia",
"tax_country_region": "SI",
"int": [
"9.5#1"
],
"nor": [
"22#1"
],
"red": [
"5#1"
]
}
},
{
"id": "SK",
"type": "oss_taxes",
"attributes": {
"code": "SK",
"country_name": "Eslováquia",
"tax_country_region": "SK",
"int": [
"10#1"
],
"nor": [
"20#1"
],
"red": []
}
}
]
}
Sucesso