Resource: accountingledger.nv

HTTP-method: GET

The resource cannot be called without parameters; one of the following parameters is required: netvisorkey, netvisorkeylist, startdate + enddate, changedsince, lastmodifiedstart or lastmodifiedend

Parameters used in the request:

ParameterOccursDescriptionExample
netvisorkey0...1Fetches a single voucher. The voucher identifier in Netvisor. Only the 'showgenerator' parameter is allowed with this.1
netvisorkeylist0...1Fetches multiple vouchers at once. Only the 'showgenerator' parameter is allowed with this. Maximum of 500 Netvisor keys.1,2,3
startdate1Fetches vouchers added after the given date. Requires parameter enddate.2024-01-01
enddate1Fetches vouchers added before the given date. Requires parameter startdate.2024-01-01 
accountnumberstart0...1Filters vouchers based on account number. Returns vouchers with account numbers equal to or greater than the given value.
3000
accountnumberend0...1Filters vouchers based on account number. Returns vouchers with account numbers equal to or less than the given value.3500
changedsince0...1Fetches new and modified vouchers after the given date (does not require startdate and enddate).2024-01-01
lastmodifiedstart0...1Fetches vouchers modified after the given date.2024-01-01
lastmodifiedend0...1Fetches vouchers modified before the given date.2024-01-01
showgenerator0...1Returns information about who generated the voucher.
0 = Do not add generator (default)
1 = Add generator
1
voucherstatus0...1Filters vouchers based on voucher status.
1 = All
2 = Valid (default)
3 = Invalidated and deleted
1
vouchertype0...1Filters vouchers according to the voucher type. Uses the value of the voucher type's Netvisokey, which can be obtained from the vouchertypelist.nv resource. Requires the parameter startdate + enddate, lastmodifiedstart or lastmodifiedend.1
includetransactionhistory0...1Include/exclude the history of the voucher transactions
0 = Do not include transaction history
1 = Include transaction history
If the voucher count are more than 500 in the request, then the response would have an error too many records
1
includeattachmentsmetadata0...1Include/exclude the attachment metadata of voucher transactions. Exact attachment data can be fetch with getvoucherattachments.nv api resource.
0 = Do not include attachment medatada (default)
1 = Include attachment metadata
If the voucher count are more than 500 in the request, then the response would have an error too many records
1

Response:

LevelElementTypeOccursDescriptionExample
rootRootAggregate1  
1VouchersAggregate1  
2VoucherAggregate0...n  
Attr.statusText0...1Status of the voucher"valid", "invalidated" or "deleted"
3NetvisorKeyNumericNetvisor key of the voucher 5
3NetvisorGuidText1Voucher GUID2f251125-bea1-4862-ada7-0196ea0028d9
3VoucherDateDateDate of the voucher 31.12.2023
3VoucherNumberNumericVoucher's reference number515144
3VoucherDescriptionTextFree description text  
3VoucherClassTextClass of voucherML Sales invoice
Attr.netvisorkeyNumeric1Voucher type's netvisorkey1
3LinkedSourceNetvisorKeyNumeric1Netvisor key of the sales- or purchaseinvoice
123
Attr.typeText1Invoice typepurchaseinvoice or salesinvoice
3VoucherNetvisorUriText1URI to the voucher in Netvisor 
3VoucherLineAggregate0...n  
Attr.statusText0...1Status of the voucher line"valid" or "invalidated"
4NetvisorKeyNumeric1Netvisor key of the voucher line6
4LineSumNumericSum of the voucher line150,22
4DescriptionTextFree description text 
4AccountNumberNumericAccount number 1701
4VatPercentNumericVAT percent 24
4VatCodeTextVAT code 
4AccountDimensionText0...1Follow-up objectFollow-up object 1
Attr.typeNumeric1Follow-up object's netvisorkey2
4CorporationEventTargetAggregate0...1

5TargetCompanyText1Target company of the corporation eventTest company
Attr.organisationidentifierText1Business id of the target company123456-7
5EventStatusText1Status of the corporation eventNew, Pending or Exported
4DimensionAggregate0...n  
5DimensionNameTextCost object header 
5DimensionItemTextCost object  
3VoucherAttachmentsAggregate0...1Attachments metadata of the vouchersFor retrieving voucher attachments data use API endpoint getvoucherattachments.nv
4VoucherAttachmentAggregate0...n

5NetvisorKeyNumeric1Netvisor ID of the attachment123
5NameText1Name of the attachment fileTestattachment.pdf
5SizeNumeric1File size in bytes425229
3TransactionHistoryAggregate1

4TransactionAggregate0...n

5CommentText1Comments added to the voucher activityVoucher created
5TimeStampDate1Date of the activity2025-06-08 12.53.18
Attr.formatText1Date typeansi
5EditorText1Name of the user who performed the activityUser


Change history

DateChangeDescription
20.8.2025New data in responseNew aggregate VoucherAttachments, which returns the metadata of the voucher attachment
20.8.2025New parameter includetransactionhistoryNew parameter includetransactionhistory returns the voucher processing history
18.6.2025New data in the responseNew aggregate CorporationEventTarget, which returns possible corporation data of the voucher line
1.11.2024New parametersnetvisorkey, netvisorkeylist and vouchertype
1.11.2024New data in the responseNew element NetvisorGuid and the existing VoucherClass element's netvisorkey attribute
This article has been translated using an AI-based translation tool. The contents or wording of these instructions may differ from those in other instructions or in the software.


Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.