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


Parameter nameOccursDescriptionExample
netvisorkey0...1
Fetches a single voucher. The voucher identifier in Netvisor. Only the 'showgenerator' parameter is allowed with this.
1
netvisorkeylist0...1
Fetches multiple vouchers at once. Only the 'showgenerator' parameter is allowed with this. Maximum of 500 Netvisor keys.
1,2,3
startdate1Finds vouchers that are added after given date. Requires parameter enddate
2022-10-23
enddate1Finds vouchers that are added before given date. Requires parameter startdate
2023-10-24
accountnumberstart0...1Finds vouchers which account number is equal or greater than given value
3000
accountnumberend0...1Finds vouchers which account number is equal or less than given value
3500
changedsince0...1Finds vouchers that are modified or added after given date
2023-01-01
lastmodifiedstart0...1Finds vouchers that are modified after given date
2022-10-23
lastmodifiedend0...1Finds vouchers that are modified before given date
2023-10-24
showgenerator0...1Returns the creator of the voucher (eg. user or system)
0 = Do not add generator (default)
1 = Add generator
1
voucherstatus0...1Finds all, only valid or invalidated and deleted vouchers.
1 = All
2= Valid
3 = Invalidated and deleted
1
vouchertype0...1
Filters 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

Response:

LevelElement nameType and lengthOccursDescriptionExample
rootRootAggr.1  
1VouchersAggr.1  
2VoucherAggr.0...n  
Attr.statusText0...1Status of the Voucher
"valid", "invalidated" or "deleted"
NetvisorKeyNumeric1Netvisor key of the Voucher
15
3NetvisorGuidText1Voucher GUID2f251125-bea1-4862-ada7-0196ea0028d9
VoucherDateDate 1Date of the Voucher
31.12.2023
VoucherNumberNumeric 1Voucher's reference number
515144
VoucherDescriptionText 1Free description text 
VoucherClassText 1Class of voucher
Myyntilasku
Attr.netvisorkeyNumeric1Voucher type's netvisorkey.
1
LinkedSourceNetvisorKeyNumeric1Netvisor key of the sales- or purchaseinvoice
123
Attr. typeText 1"purchaseinvoice" or "salesinvoice"purchaseinvoice
VoucherNetvisorUriText 1URI to the voucher in Netvisor 
VoucherLineAggr.0...n  
Attr.statusText0...1Status of the voucher line"valid", "invalidated" or "deleted"
4NetvisorKeyNumeric1Voucher lines Netvisor key6
4LineSumNumeric 1Sum of the voucher line
150,22
DescriptionText 1Free description text 
AccountNumberNumeric 1Account number
1701 
VatPercentNumeric 1VAT percent
24 
VatCodeTextVAT code  
4AccountDimensionText0...1 Seurantakohde 1 
Attr.typeNumeric1 netvisorkey
DimensionAggr.0...n  
5DimensionNameText 1Dimension name 
DimensionItemText 1Dimension 


Change history

DateChange
Description
1.11.2024New parametersnetvisorkey, netvisorkeylist ja vouchertype
1.11.2024New data in the responseNew element NetvisorGuid and the existing VoucherClass element's netvisorkeyNew element NetvisorGuid and the existing VoucherClass element's netvisorkey




Did you find it helpful? Yes No

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