v1

latestOpenAPI 3.1.0AGPLv32026-07-26168262527.5 KB
taxes

Update a tax

This endpoint updates an existing tax representing a customizable tax rate applicable to either the organization or a specific customer.

put/taxes/{code}

Request body

Example request

{
  "tax": {
    "name": "TVA",
    "code": "french_standard_vat",
    "rate": "20.0",
    "description": "French standard VAT",
    "applied_to_organization": true
  }
}

Response

Tax updated

Example response

{
  "tax": {
    "lago_id": "1a901a90-1a90-1a90-1a90-1a901a901a90",
    "name": "TVA",
    "code": "french_standard_vat",
    "description": "French standard VAT",
    "rate": 20,
    "applied_to_organization": true,
    "created_at": "2023-07-06T14:35:58Z"
  }
}