Skip to main content
PUT
Update File Reading
Use this endpoint to correct OCR or LLM extraction output before converting the reading into invoices or wastes.

Request

Headers

string
required
Your API key for authenticationExample: sk_live_1234567890abcdef
string
required
Your organization UUIDExample: a8315ef3-dd50-43f8-b7ce-d839e68d51fa

Path Parameters

string
required
File reading UUID from GET /v1/files/readings.

Body

Send the full updated content.items array. The shape depends on the reading category.
object
required
Wrapper for the updated extracted content.
array
required
Updated parsed items. Replace the existing list with the corrected values.
Electricity, stationary combustion and water readings: issuer_legal_name and issuer_tax_id (and, for stationary combustion, printed_fuel_name) are OCR-only fields. If an item in the request omits one of them, the stored value of the item at the same position is kept (when the number of items is unchanged). Send the key explicitly, even as null, to overwrite it. supplier_match is set by the server only: any value sent is ignored and the stored one is kept.

Response

Returns the updated file reading (HTTP 200).
string
File reading UUID.
string
Processing status (e.g. "success").
object
Updated extracted content.

Example

Successful Response

Common Errors

401 Unauthorized

Cause: Missing or invalid API key

403 Forbidden

Cause: The authenticated user is not a member of the organization

404 Not Found

Cause: The file reading does not exist or belongs to another organization

422 Unprocessable Entity

Cause: Missing required content.items array
  • Use this before calling POST /v1/files/readings.
  • The API does not currently publish category-specific schemas in the docs, so clients should start from the values returned by GET /v1/files/readings, modify only the needed fields, and send the full content.items array back.

List File Readings

Retrieve readings to get the current content

Create Records

Convert the edited reading into invoices or wastes

Upload Files

Upload new files via presigned S3 URLs

Files Overview

Learn about the Files API