Taxlyne Docs
API

Resources

Every endpoint an API key can reach, the scope each one needs, and the endpoints keys cannot reach at all.

Every path below is relative to the base URL — https://api.taxlyne.com/api/v1.

104 endpoints across 16 resources are reachable with an API key. A further 29 refuse keys entirely, listed at the end.

This page is the map: which resource, which endpoint, which scope. For exact request and response fields, use the interactive reference — it is generated from the code and cannot go stale.

Invoices

Create, file, amend and cancel invoices.

MethodEndpointScope
GET/invoicesinvoices:read
POST/invoicesinvoices:write
GET/invoices/:idinvoices:read
DELETE/invoices/:idinvoices:delete
POST/invoice/transmit/:irninvoices:write
PATCH/invoice/transmit/:irninvoices:write
GET/invoice/transmit/pullinvoices:read
GET/invoice/transmit/self-health-checkinvoices:read
POST/invoices/:id/cancelinvoices:write
POST/invoices/:id/linesinvoices:write
POST/invoices/:id/mark-paidinvoices:write
POST/invoices/:id/payment-statusinvoices:write
POST/invoices/:id/signinvoices:write
POST/invoices/:id/submitinvoices:write
POST/invoices/:id/validateinvoices:write
GET/invoice/transmit/lookup/:irninvoices:read
POST/invoices/:id/lines/:lineIdinvoices:write
DELETE/invoices/:id/lines/:lineIdinvoices:write
GET/invoice/transmit/lookup/tin/:tininvoices:read

Customers

The buyers you invoice. Nested under a business.

MethodEndpointScope
GET/businesses/:businessId/customerscustomers:read
POST/businesses/:businessId/customerscustomers:write
GET/businesses/:businessId/customers/:idcustomers:read
PATCH/businesses/:businessId/customers/:idcustomers:write
DELETE/businesses/:businessId/customers/:idcustomers:delete

Inventory

Products and services you sell, with stock movements.

MethodEndpointScope
GET/inventoryinventory:read
POST/inventoryinventory:write
GET/inventory/:idinventory:read
PUT/inventory/:idinventory:write
DELETE/inventory/:idinventory:delete
POST/inventory/:id/adjustinventory:write
GET/inventory/:id/movementsinventory:read
GET/inventory/sku/:skuinventory:read

Businesses

Your own businesses, and their FIRS onboarding.

MethodEndpointScope
GET/businessesbusiness:read
POST/businessesbusiness:write
GET/businesses/:idbusiness:read
PATCH/businesses/:idbusiness:write
DELETE/businesses/:idbusiness:delete
GET/businesses/assignedbusiness:read
POST/businesses/register-and-onboardbusiness:write
POST/businesses/:id/logobusiness:write
POST/businesses/:id/onboardbusiness:write
POST/businesses/firs/resolvebusiness:read

Credit and debit notes

Adjustments against an invoice already filed.

MethodEndpointScope
GET/credit-debit-notescredit-notes:read
POST/credit-debit-notescredit-notes:write
GET/credit-debit-notes/:idcredit-notes:read

Payments

Payments recorded against an invoice.

MethodEndpointScope
GET/invoices/:id/paymentspayments:read
POST/invoices/:id/paymentspayments:write

FIRS reference data

The code lists you need to build a valid invoice.

MethodEndpointScope
GET/firs/countriesfirs:read
GET/firs/currenciesfirs:read
GET/firs/hs-codesfirs:read
GET/firs/invoice-typesfirs:read
GET/firs/lgasfirs:read
GET/firs/payment-meansfirs:read
GET/firs/self-checkfirs:read
GET/firs/service-codesfirs:read
GET/firs/statesfirs:read
GET/firs/tax-categoriesfirs:read
GET/firs/invoice/:irn/confirmfirs:read
GET/firs/irn/:irn/validatefirs:read

Accounting integrations

Connect Zoho, QuickBooks, Odoo or Xero.

MethodEndpointScope
GET/integrationsintegrations:read
GET/integrations/:idintegrations:read
GET/integrations/supported-erp-integrationsintegrations:read
POST/integrations/odoo/createintegrations:write
POST/integrations/quickbooks/createintegrations:write
GET/integrations/xero/connectintegrations:write
POST/integrations/xero/createintegrations:write
POST/integrations/zoho/createintegrations:write
GET/integrations/odoo/:integrationId/sync-invoicesintegrations:write
DELETE/integrations/odoo/disconnect/:integrationIdintegrations:delete
GET/integrations/quickbooks/:integrationId/sync-invoicesintegrations:write
GET/integrations/quickbooks/connect/:businessIdintegrations:write
DELETE/integrations/quickbooks/disconnect/:integrationIdintegrations:delete
GET/integrations/xero/:integrationId/sync-invoicesintegrations:write
DELETE/integrations/xero/disconnect/:integrationIdintegrations:delete
GET/integrations/zoho/:integrationId/sync-invoicesintegrations:write
GET/integrations/zoho/connect/:businessIdintegrations:write
DELETE/integrations/zoho/disconnect/:integrationIdintegrations:delete

Webhooks

Register endpoints to be notified of events.

MethodEndpointScope
GET/webhookswebhooks:read
POST/webhookswebhooks:write
GET/webhooks/:idwebhooks:read
PATCH/webhooks/:idwebhooks:write
DELETE/webhooks/:idwebhooks:delete
GET/webhooks/eventswebhooks:read
GET/webhooks/:id/deliverieswebhooks:read
POST/webhooks/:id/rotate-secretwebhooks:write
POST/webhooks/:id/testwebhooks:write

Received invoices

Invoices other businesses have sent you.

MethodEndpointScope
GET/received-invoicesreceived-invoices:read
GET/received-invoices/:idreceived-invoices:read

Notifications

Your in-app notifications.

MethodEndpointScope
GET/notificationsnotifications:read
GET/notifications/:idnotifications:read

Audit history

What your account has done.

MethodEndpointScope
GET/audit/meaudit:read

Statistics

Invoice analytics for a business.

MethodEndpointScope
GET/stats/:businessId/invoice-analyticsstats:read
GET/stats/:businessId/invoice-analytics-over-timestats:read

System integrator

Dashboards and settings for integrator accounts.

MethodEndpointScope
GET/system-integrators/dashboard/invoices-over-timesi:read
GET/system-integrators/dashboard/overviewsi:read
GET/system-integrators/dashboard/recent-activitiessi:read
GET/system-integrators/settings/time-and-languagesi:read
PATCH/system-integrators/settings/time-and-languagesi:write
GET/system-integrators/usage/api-calls-over-timesi:read
GET/system-integrators/usage/error-distributionsi:read
GET/system-integrators/usage/statssi:read
GET/system-integrators/usage/top-endpointssi:read

Storage

Signed URLs for files your business owns.

MethodEndpointScope
POST/storage/signed-urlstorage:read

Profile

Who the current credentials belong to.

MethodEndpointScope
GET/auth/meprofile:read

Endpoints an API key cannot reach

These refuse a key whatever scopes it holds, because they change who can act or what they can act with. They need a signed-in session — see Scopes and permissions for why a scope cannot substitute.

MethodEndpoint
GET/api-key
POST/api-key
GET/api-key/:id
DELETE/api-key/:id
GET/api-key/:id/reveal
POST/auth/logout
POST/auth/logout-all
POST/billing/initialize
GET/billing/verify/:reference
GET/roles
POST/roles
GET/roles/:id
PATCH/roles/:id
DELETE/roles/:id
GET/roles/permissions
POST/subscription-tiers
PATCH/subscription-tiers/:id
DELETE/subscription-tiers/:id
PATCH/system-integrators/settings/change-password
GET/user
GET/user-subscriptions/active
POST/user-subscriptions/purchase-extra-units
POST/user-subscriptions/purchase-tier
GET/user/:id
DELETE/user/:id/delete
PATCH/user/:id/reactivate
PATCH/user/:id/suspend
PATCH/user/:id/update
POST/user/create

There are also staff-only endpoints under /admin, which are not part of the customer API and are omitted here.

A 404 may mean "not in this environment". Staging usually runs a little ahead of production, so a newly added endpoint can be absent in production until the next release. Check the one you need responds in production before shipping.

On this page