Get uploaded document
get_uploaded_documentRetrieves an uploaded document by ID, returning its original file name, tags, and paired bookkeeping records identified by record type and internal gid.
Instructions
One uploaded document with its original file name, tags and the bookkeeping records it was paired with. Pairings identify the record by type and internal gid, not by invoice number.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| tags | Yes | Null when the UOL user may not read tags | |
| state | Yes | unprocessed = waiting for the accountant, processed, error | |
| format | Yes | ||
| pairings | Yes | ||
| file_name | Yes | ||
| created_at | Yes | ||
| created_by | Yes | ||
| document_id | Yes | ||
| content_type | Yes | ||
| uploaded_via | Yes | web, api, an e-mail address or an OIDC client id |