getpurchaseinvoice.nv
GET {{host}}/getpurchaseinvoice.nv?netvisorkey=1
Get purchaseinvoice
Documentation: https://support.netvisor.fi/en/support/solutions/articles/77000554200-get-purchaseinvoice-getpurchaseinvoice-nv
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
netvisorkey | number | Mandatory, purchase invoice's NetvisorKey | |
netvisorkeylist | null | Optional. Can be used to get the details of several invoices with given id. Max. 500 identifiers. | |
version | null | Optional. Used for returning single invoice line's dimension details inside the element (PurchaseInvoiceLine) | |
1 = Dimensions outside of the invoice line, used as default or if parameter not given | |||
2 = Dimensions inside the invoice line | |||
include | null | Optional. - actions = What can be done to the invoice (approve, accept, reject, pay) |
- handlinghistory = Invoice's handling history
- previewimage = Invoice's previewimage |
|
omitattachments
| null | | Optional. True = Exclude attachments False = Include attachments If parameter not given = False |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
User-Agent | string | ||
X-Netvisor-Authentication-PartnerId | string | Environmentin muuttuja | |
X-Netvisor-Authentication-CustomerId | string | Environmentin muuttuja | |
X-Netvisor-Interface-Language | string | ||
X-Netvisor-Authentication-Timestamp | string | Muodostetaan Pre-request Scriptissä, nousee sieltä Environment muuttujaksi | |
X-Netvisor-Organisation-ID | string | Y-tunnus annetaan Pre-request Scriptissä, nousee sieltä Environment muuttujaksi | |
X-Netvisor-Authentication-Sender | string | Collectionin muuttuja | |
X-Netvisor-Authentication-TransactionId | string | Muodostetaan Pre-request Scriptissä, nousee sieltä Environment muuttujaksi | |
X-Netvisor-Authentication-MACHashCalculationAlgorithm | string | ||
X-Netvisor-Authentication-MAC | string | Muodostetaan Pre-request Scriptissä, nousee sieltä Environment muuttujaksi |