-
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
Get header
get https://api.trivi.com/v2/accountingdocuments/{accountingDocumentId}/header
Path Variables
accountingDocumentId
integer required
integer required
Format int64
issueDate
string optional
string optional
Format date
bookingDate
string optional
string optional
Format date
dueDate
string optional
string optional
Format date
taxReturnDate
string optional
string optional
Format date
orderNo
string optional
string optional
taxDate
string optional
string optional
Format date
paymentType
integer optional
integer optional
exchRate
number optional
number optional
Format double
vatExchRate
number optional
number optional
Format double
sadExchRate
number optional
number optional
Format double
currency
string optional
string optional
ISO 4217
variableSymbol
string optional
string optional
specificSymbol
string optional
string optional
constSymbol
string optional
string optional
externalNo
string optional
string optional
description
string optional
string optional
creditNoteDescription
string optional
string optional
Valid only on CreditNote
explicitNo
string optional
string optional
sequenceId
integer optional
integer optional
Format int64
relatedAccountingDocumentId
integer optional
integer optional
Format int64
relatedAccountingDocumentNo
string optional
string optional
Only in GET
exchRateDefault
number optional
number optional
Only in GET
Format double
vatRecapCalculationMode
integer optional
integer optional
See AccountingDocument object
roundingType
integer optional
integer optional
See AccountingDocument object
vatCountryType
integer optional
integer optional
Enum: 1 - Domestic, 2 - EU, 3 - Foreign
creditNoteDelayedVat
boolean optional
boolean optional
Default False
categoryId
integer optional
integer optional
Format int64
categoryName
string optional
string optional
Only in GET
signatureId
integer optional
integer optional
In general, only non-deleted signature is allowed.
If the request doesn’t change current value it can be even the deleted one.
Format int64
accountingDocumentNoPreview
string optional
string optional
Only in GET
variableSymbolPreview
string optional
string optional
Only in GET
uniqueId
string optional
string optional
UUID
authorUniqueId
string required
string required
UUID
Only in GET
authorName
string optional
string optional
Only in GET
createdTime
string optional
string optional
Only in GET
Format date-time
updatedTime
string optional
string optional
Only in GET
Format date-time
type
integer optional
integer optional
1 - Default
text
string optional
string optional
lineItemsHeader
string optional
string optional
lineItemsFooter
string optional
string optional
headerNote
string optional
string optional
footerNote
string optional
string optional
Object