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"
{
"taxes": [
{
"lago_id": "41190609-391a-4368-9549-d4348a85a8cd",
"name": "TVA",
"code": "french_standard_vat",
"description": "French standard VAT",
"rate": 20,
"applied_to_organization": true,
"created_at": "2023-07-06T14:35:58Z"
},
{
"lago_id": "2e034a10-6652-4daf-a600-b085184f93ad",
"name": "TVA",
"code": "french_reduced_vat",
"description": "French reduce VAT",
"rate": 5,
"applied_to_organization": false,
"created_at": "2023-07-06T14:45:23Z"
}
],
"meta": {
"current_page": 1,
"next_page": null,
"prev_page": null,
"total_pages": 1,
"total_count": 2
}
}This endpoint retrieves all existing taxes representing a customizable tax rate applicable to either the organization or a specific customer.
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"
{
"taxes": [
{
"lago_id": "41190609-391a-4368-9549-d4348a85a8cd",
"name": "TVA",
"code": "french_standard_vat",
"description": "French standard VAT",
"rate": 20,
"applied_to_organization": true,
"created_at": "2023-07-06T14:35:58Z"
},
{
"lago_id": "2e034a10-6652-4daf-a600-b085184f93ad",
"name": "TVA",
"code": "french_reduced_vat",
"description": "French reduce VAT",
"rate": 5,
"applied_to_organization": false,
"created_at": "2023-07-06T14:45:23Z"
}
],
"meta": {
"current_page": 1,
"next_page": null,
"prev_page": null,
"total_pages": 1,
"total_count": 2
}
}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"
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Page number.
1
Number of records per page.
20
Taxes
Show child attributes
Unique identifier of the tax, created by Lago.
"1a901a90-1a90-1a90-1a90-1a901a901a90"
Name of the tax.
"TVA"
Unique code used to identify the tax associated with the API request.
"french_standard_vat"
The percentage rate of the tax
20
This field is deprecated and will be removed in a future version. When set to true, it applies the tax to the organization's default billing entity. To apply or remove a tax from any billing entity (including the default one), please use the PUT /billing_entities/:code endpoint instead.
true
Creation date of the tax.
"2023-07-06T14:35:58Z"
Internal description of the tax
"French standard VAT"
Show child attributes
Was this page helpful?