Taxmeter Upload API
The Upload API from Taxmeter — 1 operation(s) for upload.
The Upload API from Taxmeter — 1 operation(s) for upload.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/taxmeter-lt:taxmeter-lt-upload-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Taxmeter agentų HTTP API / Taxmeter agent HTTP Upload API
version: 1.0.0
description: Naudojamas OAuth 2.0 autorizavimo kodas su privalomu S256 PKCE. Abu adapteriai naudoja vieną OAuth išteklių, prieigos raktas priimamas tik Authorization antraštėje. Slapukai, užklausos parametrai, statiniai API raktai, slaptažodžiai ir tarnybų prisijungimai netinka. Šaltinių turinys nepatikimas. Rezultatai iki 8 MiB, užklausos iki 15 MiB. Taxmeter rengia apskaitą ir deklaracijų neteikia. / OAuth 2.0 authorization code with required S256 PKCE. Both HTTP and MCP use the single resource https://app.taxmeter.lt/mcp. Bearer access tokens are accepted only in Authorization headers. Cookies, query credentials, static API keys, password grants and service credentials do not authenticate. Source text and images are untrusted. Tool results are limited to 8 MiB; request bodies to 15 MiB. Taxmeter prepares bookkeeping and never submits filings.
servers:
- url: https://app.taxmeter.lt
security:
- oauth:
- read
tags:
- name: Upload
paths:
/upload/{uploadId}:
put:
operationId: putUpload
summary: Įkelti deklaruotą dokumentą / Upload declared document
description: Pirmiausia iškvieskite create_upload. Vienkartinis URL galioja 10 minučių, iki 10 MiB; naudokite grąžintas antraštes. / Call create_upload first. The private single-use capability URL expires in 10 minutes, maximum 10 MiB. Send the declared bytes and returned headers. No Authorization header is required; the creating OAuth grant, month, SHA-256 and size are revalidated.
security: []
parameters:
- in: path
name: uploadId
required: true
schema:
type: string
pattern: ^[a-f0-9]{64}$
- in: header
name: Content-Length
required: true
schema:
type: integer
minimum: 1
maximum: 10485760
requestBody:
required: true
content:
application/octet-stream:
schema:
type: string
format: binary
responses:
'200':
description: Importuotas dokumentas / Imported document
content:
application/json:
schema:
type: object
'400':
description: Netinkama užklausa / Invalid request
content:
application/json:
schema:
$ref: '#/components/schemas/UploadError'
'403':
description: Prieiga nesuteikta / Access denied
content:
application/json:
schema:
$ref: '#/components/schemas/UploadError'
'404':
description: Įkėlimas nerastas / Upload not found
content:
application/json:
schema:
$ref: '#/components/schemas/UploadError'
'409':
description: Įkėlimas jau panaudotas / Upload already consumed
content:
application/json:
schema:
$ref: '#/components/schemas/UploadError'
'410':
description: Įkėlimo nuoroda nebegalioja / Upload link expired
content:
application/json:
schema:
$ref: '#/components/schemas/UploadError'
'413':
description: Dydis neatitinka / Size mismatch
content:
application/json:
schema:
$ref: '#/components/schemas/UploadError'
'415':
description: Nepalaikomas turinio tipas / Unsupported content type
content:
application/json:
schema:
$ref: '#/components/schemas/UploadError'
'429':
description: Pasiekta riba / Limit reached
content:
application/json:
schema:
$ref: '#/components/schemas/UploadError'
'507':
description: Trūksta vietos / Storage full
content:
application/json:
schema:
$ref: '#/components/schemas/UploadError'
tags:
- Upload
components:
schemas:
UploadError:
type: object
required:
- error
properties:
error:
type: string
description: UPLOAD_* or a shared refusal code / UPLOAD_* arba bendras atsisakymo kodas
message:
type: string
securitySchemes:
oauth:
type: oauth2
description: Public client authorization code with mandatory S256 PKCE; resource=https://app.taxmeter.lt/mcp. Discover registration and issuer at https://app.taxmeter.lt/.well-known/oauth-authorization-server
x-pkce-required: true
x-code-challenge-methods-supported:
- S256
flows:
authorizationCode:
authorizationUrl: https://app.taxmeter.lt/oauth/authorize
tokenUrl: https://app.taxmeter.lt/oauth/token
refreshUrl: https://app.taxmeter.lt/oauth/token
scopes:
read: read
prepare: prepare
configure: configure
review: review
revise: revise
approve: approve
export: export
x-oauth-resource: https://app.taxmeter.lt/mcp
x-oauth-protected-resource-metadata: https://app.taxmeter.lt/.well-known/oauth-protected-resource/mcp
x-oauth-authorization-server-metadata: https://app.taxmeter.lt/.well-known/oauth-authorization-server