Skip to main content

Get Invoice Pdf Link

This method returns an external link that can be used to retrieve a structure containing an encoded invoice PDF.


Input

FieldRTypeDescription
ClientId*LongID that identifies a client in Svea Payments’s system.
InvoiceId*LongID that identifies an invoice in Svea Payments’s system.

Output

FieldRTypeDescription
PdfLink*StringExternal link to the invoice PDF.

When you follow the link provided in PdfLinkResponse, you will be directed to a page that returns an XML structure. This structure is defined as follows:

GetInvoicePdfResponse

FieldRTypeDescription
Pdf*StringBase64-encoded PDF.
ResultCode-Should be zero (0) for a successful GetInvoicePdfResponse.