Click or drag to resize

IInvoiceGetInvoicePdfByInvoiceGUID Method

Gets a PDF of an Invoice.

Namespace: Severa.API
Assembly: Severa.SOAP.API (in Severa.SOAP.API.dll) Version: 1.0.0+d2b3ba1f0a7faa78f41e88544914859e96e8c75b
Syntax
byte[] GetInvoicePdfByInvoiceGUID(
	string invoiceGuid,
	string getAttachmentOnly = null
)

Parameters

invoiceGuid  String
guid of the invoice.
getAttachmentOnly  String  (Optional)
Optional InvoicePdfGetOptions. Defaults to InvoicePdfGetOptions.All.

Return Value

Byte
Byte array of the PDF-file or null when PDF could not be created with the provided InvoicePdfGetOptions.
Exceptions
ExceptionCondition
AuthenticationFailureExceptionThe caller could not be authenticated.
GeneralFailureExceptionAny other fault.
NotFoundExceptionInvoice could not be found.
Remarks
Business unit GUID does not mean the business unit of the invoice.
See Also