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 call:
Parameter | 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. | 2024-01-01 |
enddate | 1 | Finds vouchers that are added before given date. Requires parameter startdate. | 2024-01-01 |
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 (does not require startdate and enddate). | 2024-01-01 |
lastmodifiedstart | 0...1 | Finds vouchers that are modified after given date. | 2024-01-01 |
lastmodifiedend | 0...1 | Finds vouchers that are modified before given date. | 2024-01-01 |
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 (default) 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 | Type | Occurs | Description | Example |
root | Root | Aggregate | 1 | ||
1 | Vouchers | Aggregate | 1 | ||
2 | Voucher | Aggregate | 0...n | ||
Attr. | status | Text | 0...1 | Status of the voucher | "valid", "invalidated" or "deleted" |
3 | NetvisorKey | Numeric | 1 | Netvisor key of the voucher | 5 |
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 | ML Sales invoice |
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 | Invoice type | purchaseinvoice or salesinvoice |
3 | VoucherNetvisorUri | Text | 1 | URI to the voucher in Netvisor | |
3 | VoucherLine | Aggregate | 0...n | ||
Attr. | status | Text |
0...1 | Status of the voucher line | "valid" or "invalidated" |
4 | NetvisorKey | Numeric | 1 | Netvisor key of the voucher line | 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 | Follow-up object | Follow-up object 1 |
Attr. | type | Numeric | 1 | Follow-up object's netvisorkey | 2 |
4 | CorporationEventTarget | Aggregate | 0...1 | ||
5 | TargetCompany | Text | 1 | Target company of the corporation event | Test company |
Attr. | organisationidentifier | Text | 1 | Business id of the target company | 123456-7 |
5 | EventStatus | Text | 1 | Status of the corporation event | New, Pending or Exported |
4 | Dimension | Aggregate | 0...n | ||
5 | DimensionName | Text | 1 | Cost object header | |
5 | DimensionItem | Text | 1 | Cost object |
Change history
Date | Change | Description |
18.6.2025 | New data in the response | New aggregate CorporationEventTarget, which returns possible corporation data of the voucher line |
1.11.2024 | New parameters | netvisorkey, netvisorkeylist and vouchertype |
1.11.2024 | New data in the response | New element NetvisorGuid and the existing VoucherClass element's netvisorkey attribute |
Did you find it helpful? Yes No
Send feedback