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 name | Occurs | Description | Example |
netvisorkey | 0...1 | Fetches a single voucher. The voucher identifier in Netvisor. Only the 'showgenerator' parameter is allowed with this. | 1 |
netvisorkeylist | 0...1 | Fetches multiple vouchers at once. Only the 'showgenerator' parameter is allowed with this. Maximum of 500 Netvisor keys. | 1,2,3 |
startdate | 1 | Finds vouchers that are added after given date. Requires parameter enddate | 2022-10-23 |
enddate | 1 | Finds vouchers that are added before given date. Requires parameter startdate | 2023-10-24 |
accountnumberstart | 0...1 | Finds vouchers which account number is equal or greater than given value | 3000 |
accountnumberend | 0...1 | Finds vouchers which account number is equal or less than given value | 3500 |
changedsince | 0...1 | Finds vouchers that are modified or added after given date | 2023-01-01 |
lastmodifiedstart | 0...1 | Finds vouchers that are modified after given date | 2022-10-23 |
lastmodifiedend | 0...1 | Finds vouchers that are modified before given date | 2023-10-24 |
showgenerator | 0...1 | Returns the creator of the voucher (eg. user or system) 0 = Do not add generator (default) 1 = Add generator | 1 |
voucherstatus | 0...1 | Finds all, only valid or invalidated and deleted vouchers. 1 = All 2= Valid 3 = Invalidated and deleted | 1 |
vouchertype | 0...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:
Level | Element name | Type and length | Occurs | Description | Example |
root | Root | Aggr. | 1 | ||
1 | Vouchers | Aggr. | 1 | ||
2 | Voucher | Aggr. | 0...n | ||
Attr. | status | Text | 0...1 | Status of the Voucher | "valid", "invalidated" or "deleted" |
3 | NetvisorKey | Numeric | 1 | Netvisor key of the Voucher | 15 |
3 | NetvisorGuid | Text | 1 | Voucher GUID | 2f251125-bea1-4862-ada7-0196ea0028d9 |
3 | VoucherDate | Date | 1 | Date of the Voucher | 31.12.2023 |
3 | VoucherNumber | Numeric | 1 | Voucher's reference number | 515144 |
3 | VoucherDescription | Text | 1 | Free description text | |
3 | VoucherClass | Text | 1 | Class of voucher | Myyntilasku |
Attr. | netvisorkey | Numeric | 1 | Voucher type's netvisorkey. | 1 |
3 | LinkedSourceNetvisorKey | Numeric | 1 | Netvisor key of the sales- or purchaseinvoice | 123 |
Attr. | type | Text | 1 | "purchaseinvoice" or "salesinvoice" | purchaseinvoice |
3 | VoucherNetvisorUri | Text | 1 | URI to the voucher in Netvisor | |
3 | VoucherLine | Aggr. | 0...n | ||
Attr. | status | Text | 0...1 | Status of the voucher line | "valid", "invalidated" or "deleted" |
4 | NetvisorKey | Numeric | 1 | Voucher lines Netvisor key | 6 |
4 | LineSum | Numeric | 1 | Sum of the voucher line | 150,22 |
4 | Description | Text | 1 | Free description text | |
4 | AccountNumber | Numeric | 1 | Account number | 1701 |
4 | VatPercent | Numeric | 1 | VAT percent | 24 |
4 | VatCode | Text | 1 | VAT code | |
4 | AccountDimension | Text | 0...1 | Seurantakohde 1 | |
Attr. | type | Numeric | 1 | netvisorkey | |
4 | Dimension | Aggr. | 0...n | ||
5 | DimensionName | Text | 1 | Dimension name | |
5 | DimensionItem | Text | 1 | Dimension |
Change history
Date | Change | Description |
1.11.2024 | New parameters | netvisorkey, netvisorkeylist ja vouchertype |
1.11.2024 | New data in the response | New 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