---
title: "Įkelti deklaruotą dokumentą / Upload declared document"
method: PUT
path: "/upload/{uploadId}"
---

# Įkelti deklaruotą dokumentą / Upload declared document

`PUT /upload/{uploadId}`

## Request

- Base URL: `https://app.taxmeter.lt`
- URL: `https://app.taxmeter.lt/upload/{uploadId}`
- Auth: none required

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.

## Path parameters

- `uploadId` string, required

## Headers

- `Content-Length` integer, required

## Response `200`

Importuotas dokumentas / Imported document

- object

## Other responses

- `400`: Netinkama užklausa / Invalid request
- `403`: Prieiga nesuteikta / Access denied
- `404`: Įkėlimas nerastas / Upload not found
- `409`: Įkėlimas jau panaudotas / Upload already consumed
- `410`: Įkėlimo nuoroda nebegalioja / Upload link expired
- `413`: Dydis neatitinka / Size mismatch
- `415`: Nepalaikomas turinio tipas / Unsupported content type
- `429`: Pasiekta riba / Limit reached
- `507`: Trūksta vietos / Storage full

---

[API](https://skmtc.dev/taxmeter/apis/taxmeter-agentu-http-api-taxmeter-agent-http-api.md) · [All operations](https://skmtc.dev/taxmeter/apis/taxmeter-agentu-http-api-taxmeter-agent-http-api/llms.txt) · [OpenAPI document](https://skmtc.dev/taxmeter/apis/taxmeter-agentu-http-api-taxmeter-agent-http-api/revisions/f61468f014c7?raw)
