-
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
Assign contact
put https://api.trivi.com/v2/accountingdocuments/{accountingDocumentId}/contact
This endpoint is not valid if the accounting document is already processed.
number required
boolean optional
If true and no contact is found when pairing, we will create a new contact
Default Falseboolean optional
If true all vendor's bank accounts will be removed from the Accounting Document.
Default Falseinteger optional
If set, the accounting document will be paired to this contact. If other contact properties are empty, they will be loaded from contact, otherwise they will be used as posted. The contact will not be changed.
Format int64string optional
string optional
string optional
string optional
string optional
string optional
string optional
string optional
string optional
string optional
string optional
Can be used if a contact doesn't have companyRegNo
integer optional
If set, the accounting document will be paired to this contact. If other contact properties are empty, they will be loaded from contact, otherwise they will be used as posted. The contact will not be changed.
Format int64string optional
string optional
string optional
string optional
string optional
string optional
string optional
string optional
string optional
string optional
string optional
Can be used if a contact doesn't have companyRegNo
References of endpoint
- Create accounting document RESPONSE
- Update accounting document RESPONSE
- Connect accounting document RESPONSE
- Change connection amount RESPONSE
- Attach scan RESPONSE
- Change state RESPONSE
- List possible states RESPONSE
- Attach bank account RESPONSE
- Update attached bank account RESPONSE
- Create draft RESPONSE
- Update line item RESPONSE
- Assign contact RESPONSE
- Assign sequence RESPONSE
- Update VAT recap RESPONSE
- Bulk operation on accounting documents RESPONSE
- Upload bank statement RESPONSE
- Process bank statement RESPONSE
- Create payment order RESPONSE
- Create cash register RESPONSE
- Update cash register RESPONSE
- Create inventory RESPONSE
- Aggregate balance RESPONSE
- Update contact RESPONSE
- Add person RESPONSE
- Update person RESPONSE
- Add address RESPONSE
- Update address RESPONSE
- Change metadata for document or folder RESPONSE
- Request generic report RESPONSE
- Search for Accounting Documents RESPONSE
- Search for Payments RESPONSE
- Search for Contacts RESPONSE
- Search for Documents RESPONSE
- Search for Payment Orders RESPONSE
- Search for Bank Statements RESPONSE
- Search for Tasks RESPONSE
- Search for Financial Accounts RESPONSE
- Download XLSX export for Accounting Documents list RESPONSE
- Create non-Cash Register sequence RESPONSE
- Update non-Cash Register sequence RESPONSE
- Set non-Cash Register sequence's last generated number RESPONSE
- Create Cash Register sequence RESPONSE
- Update Cash Register sequence RESPONSE
- Set Cash Register sequence's last generated number RESPONSE
- Create task RESPONSE
- Update selected fields RESPONSE
- Create draft accounting document from template RESPONSE
string optional
string optional