Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Yokoy Tax rates API

Tax rates. Tax rates apply to expenses, trips, and invoices. In Yokoy, you can consult them in **Admin > VAT / Tax rates**. For invoices, you can set up advanced tax components to adjust to complex tax scenarios. See [Set up advanced tax rates for invoices](https://help.yokoy.ai/en/articles/223727-set-up-advanced-tax-rates-for-invoices).

Yokoy Tax rates API is one of 22 APIs that Yokoy publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Tax rates. The published artifact set on APIs.io includes an OpenAPI specification and authentication docs.

This API exposes 5 operations across 2 paths, and defines 5 schemas. It is described by OpenAPI 3.0.0, at version 1.41.0.

Requests are made against 2 base URLs: https://api.yokoy.ai/v1/organizations/{organizationId}, https://api.test.yokoy.ai/v1/organizations/{organizationId}.

5 operations 2 paths 5 schemas 2 GET1 PATCH1 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
1.41.0
Base URL
https://api.yokoy.ai/v1/organizations/{organizationId}
Authentication
OAuth 2.0
Resource Areas
1

Authentication & Security 1

Yokoy Tax rates API declares 1 security scheme for authenticating requests. It supports OAuth 2.0 (OAuth2) using the clientCredentials flow.

  • OAuth2 — Authentication to the Yokoy API relies on the standard OAuth2 client credentials flow. 1. Obtain an access token Perform a POST request to https://accounts.yok…

Paths & Operations 5

Across 2 paths, the API surfaces 5 operations — 2 GET, 1 PATCH, 1 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Tax rates 5

Tax rates. Tax rates apply to expenses, trips, and invoices. In Yokoy, you can consult them in Admin VAT / Tax rates. For invoices, you can set up advanced tax components to adjus…

GET
/legal-entities/{legalEntityId}/tax-rates
List all tax rates
listTaxRates 4 params → 200400401403429500502503
POST
/legal-entities/{legalEntityId}/tax-rates
Create a tax rate
createTaxRate 3 params body → 201400401403429500502503
GET
/legal-entities/{legalEntityId}/tax-rates/{taxRateId}
Get a tax rate by ID
getTaxRate 4 params → 200401403404429500502503
PATCH
/legal-entities/{legalEntityId}/tax-rates/{taxRateId}
Modify a tax rate
modifyTaxRate 4 params body → 200400401403404429500502
PUT
/legal-entities/{legalEntityId}/tax-rates/{taxRateId}
Update a tax rate
updateTaxRate 4 params body → 200400401403404429500502

Schemas 5

The contract defines 5 schemas that model the data the API accepts and returns. The most detailed are TaxRate (12 properties), TaxComponents (7 properties), Error (2 properties), AdvancedTaxRate (1 property). Each schema is shown below with its type and property counts.

TaxComponents
object
Advanced tax configuration has to be enabled for the legal entity to use tax rate components. Applicable only for invoices. If tax components are present, tax…
7 properties 4 required
DateString
string
AdvancedTaxRate
object
1 property 1 required
Error
object
2 properties 2 required
TaxRate
object
12 properties 6 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

yokoy-tax-rates-api-openapi.yml Raw ↑

Other APIs Yokoy publishes across the network.

Yokoy Card account API
Yokoy Company card API
Yokoy Cost center API
Yokoy Daily statement API
Yokoy Expense API
Yokoy Expense category API
Yokoy External invoice API
Yokoy Finance export API
Yokoy FX rates API
Yokoy Goods receipt API
Yokoy Invoice API
Yokoy Invoice category API