getsalesinvoice.nv

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

Get sales invoice

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

Request Params

KeyDatatypeRequiredDescription
netvisorkeynumberMandatory, sales invoice's NetvisorKey
pdfimagenullOptional. 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
showprocesshistorynullOptional. Returns the sending and printing history of the sales invoice in ProcessHistory-element
includeattachmentsnullOptional. Returns all the attachments in Base64-encoding
showcommentlinesnullOptional. Returns invoice's comment rows inside Invoiceline aggregate
netvisorkeylistnullOptional. Can be used to get the full details of several invoices with given id. Max. 500 identifiers
includedocumentsnullOptional. When getting salesinvoice, returns orders related to the invoice.
When getting salesorder, returns invoices related to the order.

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
User-Agentstring
X-Netvisor-Authentication-PartnerIdstringEnvironmentin muuttuja
X-Netvisor-Authentication-CustomerIdstringEnvironmentin muuttuja
X-Netvisor-Interface-Languagestring
X-Netvisor-Authentication-TimestampstringMuodostetaan Pre-request Scriptissä, nousee sieltä Environment muuttujaksi
X-Netvisor-Organisation-IDstringY-tunnus annetaan Pre-request Scriptissä, nousee sieltä Environment muuttujaksi
X-Netvisor-Authentication-SenderstringCollectionin muuttuja
X-Netvisor-Authentication-TransactionIdstringMuodostetaan Pre-request Scriptissä, nousee sieltä Environment muuttujaksi
X-Netvisor-Authentication-MACHashCalculationAlgorithmstring
X-Netvisor-Authentication-MACstringMuodostetaan Pre-request Scriptissä, nousee sieltä Environment muuttujaksi