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 Finance export API

Finance export mechanism in Yokoy. The Yokoy API exposes three different endpoints for the management of finance exports:1. `/export-tasks` to trigger an export (separate endpoints for the expense and the invoice module).This action is equivalent to clicking the "Export" button under Finance > Export within the Yokoy application.As a result of a successful export, the expenses/invoices are set to the exported state.2. `/export-tasks/{exportTaskId}` to poll the details (in particular the status) of the asynchronous export job.3. `/export-tasks/{exportTaskId}/artefacts` to fetch the artefacts for those export facilities that support this functionality.To generate the standard Yokoy export artefacts, the export facility "Yokoy Standard Export (API)" must be selected in Yokoy (Admin > Integrations).The data model of the standard export artefacts (ExpenseExportArtefact and InvoiceExportArtefact) is described in the following OpenAPI specification.

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

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

This API exposes 5 operations across 5 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 5 paths 5 schemas 3 GET2 POST

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 Finance export 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 5 paths, the API surfaces 5 operations — 3 GET, 2 POST. Each is listed below with its method, path, parameters, and response codes.

Finance export 5

Finance export mechanism in Yokoy. The Yokoy API exposes three different endpoints for the management of finance exports: 1. /export-tasks to trigger an export (separate endpoints…

POST
/legal-entities/{legalEntityId}/expense-export-facilities/{exportFacility}/export-tasks
Trigger expense export
triggerExpenseExport 2 params body → 200204400401403404422429
GET
/legal-entities/{legalEntityId}/export-tasks
List all export jobs
listExportJobs 4 params → 200401403404429500502503
GET
/legal-entities/{legalEntityId}/export-tasks/{exportTaskId}
Get export job status
getExportStatus 4 params → 200401403404429500502503
GET
/legal-entities/{legalEntityId}/export-tasks/{exportTaskId}/artefacts
Get export artefacts
getExportArefacts 3 params → 200401403404429500502503
POST
/legal-entities/{legalEntityId}/invoice-export-facilities/{exportFacility}/export-tasks
Trigger invoice export
triggerInvoiceExport 3 params body → 200204400401403404429500

Schemas 5

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

InvoiceExportArtefact
object
5 properties
ExpenseExportTaskInformation
object
1 property
ExpenseExportArtefact
object
5 properties
InvoiceExportTaskInformation
object
1 property
Error
object
2 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

yokoy-finance-export-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 FX rates API
Yokoy Goods receipt API
Yokoy Invoice API
Yokoy Invoice category API
Yokoy Invoice payment terms API