|
IInvoiceGetInvoicePdf Method
|
Gets a PDF of an Invoice.
Namespace: Severa.APIAssembly: Severa.SOAP.API (in Severa.SOAP.API.dll) Version: 1.0.0+9acb7434aeb2855fb928fe129dfe34575a6d8fd4
Syntax byte[] GetInvoicePdf(
int invoiceNumber,
string invoiceNumberingBusinessUnitGUID,
string getAttachmentOnly = null
)
Function GetInvoicePdf (
invoiceNumber As Integer,
invoiceNumberingBusinessUnitGUID As String,
Optional getAttachmentOnly As String = Nothing
) As Byte()
Parameters
- invoiceNumber Int32
- Number of the invoice.
- invoiceNumberingBusinessUnitGUID String
- Business unit GUID, identifies the business unit whose invoice numbering is used.
- getAttachmentOnly String (Optional)
- Optional InvoicePdfGetOptions. Defaults to InvoicePdfGetOptions.All.
Return Value
ByteByte array of the PDF-file or null when PDF could not be created with the provided InvoicePdfGetOptions.
Exceptions Remarks Business unit GUID does not mean the business unit of the invoice.
See Also