GET
/
taxes
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,
      "customers_count": 0,
      "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,
      "customers_count": 0,
      "created_at": "2023-07-06T14:45:23Z"
    }
  ],
  "meta": {
    "current_page": 1,
    "next_page": null,
    "prev_page": null,
    "total_pages": 1,
    "total_count": 2
  }
}

Authorizations

Authorization
string
headerrequired

Bearer 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
taxes
object[]
required
meta
object
required