Logo
Visma Solutions Oy - Netvisor API flow examples API Documentation

getorder.nv

GET {{host}}/getorder.nv?netvisorkey=5

Get sales order

Documentation: https://support.netvisor.fi/en/support/solutions/articles/77000554151-get-sales-invoice-details-getsalesinvoice-nv-getorder-nv

 

Body PARAM

Key Datatype Required Description 
netvisorkey
number Mandatory, sales invoice's NetvisorKey
pdfimage
null Optional. If the parameter is not given, the response is the same as pdfimage=lastsentprintservice lastsentprintservice returns the image of the sales invoice as a PDF-file (element: LastSentInvoicePDFBase64Data) if the sales invoice is sent to the printing service PDF Returns the image of the sales invoice as a PDF file (element: LastSentInvoicePDFBase64Data) nopdf Doesn't return anything
showprocesshistory
null Optional. Returns the sending and printing history of the sales invoice in ProcessHistory-element
includeattachments
null Optional. Returns all the attachments in Base64-encoding
showcommentlines
null Optional. Returns invoice's comment rows inside Invoiceline aggregate
netvisorkeylist
null Optional. Can be used to get the full details of several invoices with given id. Max. 500 identifiers
includedocuments
null Optional. When getting salesinvoice, returns orders related to the invoice. When getting salesorder, returns invoices related to the order.


Curl
curl -X GET 'host/getorder.nv?netvisorkey=5?netvisorkey=5&pdfimage=&showprocesshistory=&includeattachments=&showcommentlines=&netvisorkeylist=&includedocuments=' -H 'Content-Type: text/xml' -H 'User-Agent: Postman' -H 'X-Netvisor-Authentication-PartnerId: partnerId' -H 'X-Netvisor-Authentication-CustomerId: userId' -H 'X-Netvisor-Interface-Language: FI' -H 'X-Netvisor-Authentication-Timestamp: timeStamp' -H 'X-Netvisor-Organisation-ID: organisationId' -H 'X-Netvisor-Authentication-Sender: Netvisor public postman example' -H 'X-Netvisor-Authentication-TransactionId: transactionId' -H 'X-Netvisor-Authentication-MACHashCalculationAlgorithm: SHA256' -H 'X-Netvisor-Authentication-MAC: sha256Hash'

ENDPOINTS