-
Accounting Documents API
- List accounting documents
- Create accounting document
- Remove accounting document
- Get accounting document
- Update accounting document
- Create draft
- Get issues
- Send via Email
- List payment reminders
- Create payment reminder
- Delete payment reminder
- Update payment reminder
- Get aggregated accounting documents report
- Creates a new accounting document with scans
- Generate PDF
- Generate QR code
- Download XLSX export for Accounting Documents list
- Create draft accounting document from template
Generating- List connections
- Connect accounting document
- Disconnect accounting document
- Change connection amount
Connections- List payments
Payments- List document attachments
- Attach document attachment
- Remove document attachment
Document Attachments- Change state
- List possible states
Workflow- Update country variant specific settings
Country Variant Specifics- List bank accounts
- Attach bank account
- Dettach bank account
Bank Accounts- Update VAT recap
VAT Recapitulation -
Bulk Operations API
-
Bank Accounts API
- List payment orders
- Create payment order
Payment Orders -
Cash Registers API
- List cash registers
- Create cash register
- Remove cash register
- Get cash register
- Update cash register
- Aggregate balance
- List inventories
- Create inventory
Inventories -
Contacts API
-
Documents API
-
Financial Accounts API
-
Miscellaneous API
- List VAT rates
VAT Rates- List branches
Branches- List projects
Projects- List currencies
Currencies- List countries
Countries- List banks
Banks -
Searching API
-
Sequences API
- List non-Cash Register sequences
- Create non-Cash Register sequence
- Remove non-Cash Register sequence
- Update non-Cash Register sequence
- Set non-Cash Register sequence's last generated number
- List Cash Register sequences
- Create Cash Register sequence
- Remove Cash Register sequence
- Update Cash Register sequence
- Set Cash Register sequence's last generated number
-
Tasks API
-
Templates API
- Remove scheduler
- Set scheduler
Scheduling -
Files API
List documents and folders
get https://api.trivi.com/v2/documents/{documentItemUniqueId}
Sorts by type and name automatically:
- In case of ASC sorting Folders are returned first (alphabetically sorted) and Files afterwards (alphabetically sorted).
- In case of DESC sorting the order is completely reveresed (Files go first, Folders after them).
Path Variables
documentItemUniqueId
string required
string required
GUID
Query Variables
page
integer optional
integer optional
Default 1
pageSize
integer optional
integer optional
Default 20
Minimum 10
Maximum 100
sortingDirection
string optional
string optional
Default ASC
type
integer optional
integer optional
0 - File
1 - Folder
Format int8 Default 0
DocumentsSearchResult
References of endpoint
- List documents and folders in root RESPONSE
- List documents and folders RESPONSE
- Search for Documents RESPONSE
pagesCount
integer optional
integer optional
currentPage
integer optional
integer optional
pageSize
number optional
number optional
uniqueId
string optional
string optional
Only in GET UUID
name
string optional
string optional
isReadOnly
boolean optional
boolean optional
If null, the DocumentDescriptor inherits settings from parent DocumentDescriptor.
References of endpoint
- Change metadata for document or folder REQUEST RESPONSE
- Upload document or create folder REQUEST RESPONSE
uniqueId
string optional
string optional
Only in GET UUID
fileId
integer optional
integer optional
Only in GET
Format int64
name
string optional
string optional
size
integer optional
integer optional
Only in GET
In bytes
note
string optional
string optional
parentUniqueId
string optional
string optional
Only in GET UUID
Parent folder ID. If empty, the document is in the root.
itemType
number optional
number optional
0 - File, 1 - Folder
folderType
number optional
number optional
0 - Generic
Only in GET
isReadOnly
boolean optional
boolean optional
Only in GET
If null, the DocumentItem inherits settings from parent DocumentItem.
canBeChanged
boolean optional
boolean optional
Only in GET
Based on current user permissions.
canChildrenBeCreated
boolean optional
boolean optional
Only in GET
Based on current user permissions.