Taxes
List all taxes
This endpoint retrieves all existing taxes representing a customizable tax rate applicable to either the organization or a specific customer.
GET
/
taxes
Authorization
Query
LAGO_URL="https://api.getlago.com"
API_KEY="__YOUR_API_KEY__"
curl --location --request GET "$LAGO_URL/api/v1/taxes?per_page=2&page=1" \
--header "Authorization: Bearer $API_KEY"
{
"meta": {
"current_page": 1,
"total_count": 2,
"total_pages": 1
},
"taxes": [
{
"applied_to_organization": true,
"code": "french_standard_vat",
"created_at": "2023-07-06T14:35:58Z",
"customers_count": 0,
"description": "French standard VAT",
"lago_id": "41190609-391a-4368-9549-d4348a85a8cd",
"name": "TVA",
"rate": 20
},
{
"applied_to_organization": false,
"code": "french_reduced_vat",
"created_at": "2023-07-06T14:45:23Z",
"customers_count": 0,
"description": "French reduce VAT",
"lago_id": "2e034a10-6652-4daf-a600-b085184f93ad",
"name": "TVA",
"rate": 5
}
]
}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
page
integer
Page number.
per_page
integer
Number of records per page.
Response
200 - application/json
meta
object
requiredtaxes
object[]
requiredWas this page helpful?
LAGO_URL="https://api.getlago.com"
API_KEY="__YOUR_API_KEY__"
curl --location --request GET "$LAGO_URL/api/v1/taxes?per_page=2&page=1" \
--header "Authorization: Bearer $API_KEY"
{
"meta": {
"current_page": 1,
"total_count": 2,
"total_pages": 1
},
"taxes": [
{
"applied_to_organization": true,
"code": "french_standard_vat",
"created_at": "2023-07-06T14:35:58Z",
"customers_count": 0,
"description": "French standard VAT",
"lago_id": "41190609-391a-4368-9549-d4348a85a8cd",
"name": "TVA",
"rate": 20
},
{
"applied_to_organization": false,
"code": "french_reduced_vat",
"created_at": "2023-07-06T14:45:23Z",
"customers_count": 0,
"description": "French reduce VAT",
"lago_id": "2e034a10-6652-4daf-a600-b085184f93ad",
"name": "TVA",
"rate": 5
}
]
}