Get Invoice Pdf Link
GetInvoicePdfLink
This method returns an external link that can be used to retrieve a structure containing an encoded invoice PDF.
GetInvoicePdfLinkRequest
Field | R | Type | Description |
---|
ClientId | * | Long | ID that identifies a client in Svea Payments’s system. |
InvoiceId | * | Long | ID that identifies an invoice in Svea Payments’s system. |
Output
PdfLinkResponse
Field | R | Type | Description |
---|
PdfLink | * | String | External 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
Field | R | Type | Description |
---|
Pdf | * | String | Base64-encoded PDF. |
ResultCode | - | Should be zero (0) for a successful GetInvoicePdfResponse. | |