Get header


get https://api.trivi.com/v2/accountingdocuments/{accountingDocumentId}/header

Path Variables
accountingDocumentId
integer   required
Format int64
AccountingDocumentHeader
issueDate
string   optional
Format date
bookingDate
string   optional
Format date
dueDate
string   optional
Format date
taxReturnDate
string   optional
Format date
orderNo
string   optional
taxDate
string   optional
Format date
paymentType
integer   optional
exchRate
number   optional
Format double
vatExchRate
number   optional
Format double
sadExchRate
number   optional
Format double
currency
string   optional

ISO 4217

variableSymbol
string   optional
specificSymbol
string   optional
constSymbol
string   optional
externalNo
string   optional
description
string   optional
creditNoteDescription
string   optional

Valid only on CreditNote

explicitNo
string   optional
sequenceId
integer   optional
Format int64
relatedAccountingDocumentId
integer   optional
Format int64
relatedAccountingDocumentNo
string   optional

Only in GET

exchRateDefault
number   optional

Only in GET

Format double
vatRecapCalculationMode
integer   optional

See AccountingDocument object

roundingType
integer   optional

See AccountingDocument object

vatCountryType
integer   optional

Enum: 1 - Domestic, 2 - EU, 3 - Foreign

creditNoteDelayedVat
boolean   optional
Default False
categoryId
integer   optional
Format int64
categoryName
string   optional

Only in GET

signatureId
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
language
AccountingDocumentLanguage   optional
vatPaymentMode
VatPaymentMode   optional
accountingDocumentNoPreview
string   optional

Only in GET

variableSymbolPreview
string   optional

Only in GET

VatPaymentMode
AccountingDocumentNote
uniqueId
string   optional

UUID

authorUniqueId
string   required

UUID

Only in GET

authorName
string   optional

Only in GET

createdTime
string   optional

Only in GET

Format date-time
updatedTime
string   optional

Only in GET

Format date-time
type
integer   optional

1 - Default

text
string   optional
AccountingDocumentLanguage
CS
string   optional
EN
string   optional
DE
string   optional
AccountingDocumentPrintingInfo
lineItemsHeader
string   optional
lineItemsFooter
string   optional
headerNote
string   optional
footerNote
string   optional
language
AccountingDocumentLanguage   optional
Object