PrintedSalesInvoices
Prints or sends a sales invoice document.
Input
| Name | Type | Description |
| InvoiceID | String | Primary key. Reference to EntryID of SalesInvoice. |
| DocumentLayout | String | Based on this layout a PDF is created and attached to an Exact Online document and an email. |
| EmailLayout | String | Based on this layout the email text is produced. |
| ExtraText | String | Extra text that can be added to the printed document and email. |
| InvoiceDate | Datetime | Date of the invoice. |
| PostboxSender | String | Sender of the postbox message. |
| ReportingPeriod | Integer | Reporting period of the invoice. |
| ReportingYear | Integer | Reporting year of the invoice. |
| SendEmailToCustomer | Boolean | Set to True to send the invoice via email to the customer. |
| SenderEmailAddress | String | Email address of the sender. |
| SendInvoiceToCustomerPostbox | Boolean | Set to True to send the invoice to the customer digital postbox. |
| SendInvoiceViaPeppol | Boolean | Set to True to send the invoice via Peppol. |
| SendOutputBasedOnAccount | Boolean | Set to True if the output preference should be taken from the account. Overrules SendEmailToCustomer, SendInvoiceToCustomerPostbox and SendInvoiceViaPeppol. |
Result Set Columns
| Name | Type | Description |
| InvoiceID | String | Primary key. Reference to EntryID of SalesInvoice. |
| Division | Integer | Division code. |
| Document | String | Contains the ID of the document that was created. |
| DocumentCreationError | String | Contains the error message if an error occurred during the creation of the document. |
| DocumentCreationSuccess | String | Contains information if a document was successfully created. |
| DocumentLayout | String | Based on this layout a PDF is created and attached to an Exact Online document and an email. |
| EmailCreationError | String | Contains the error message if an error occurred during the creation of the email. |
| EmailCreationSuccess | String | Contains confirmation that an email was sent. |
| EmailLayout | String | Based on this layout the email text is produced. |
| ExtraText | String | Extra text that can be added to the printed document and email. |
| InvoiceDate | Datetime | Date of the invoice. |
| PeppolCreationError | String | Contains the error message if an error occurred during the creation of the Peppol message. |
| PeppolCreationSuccess | String | Contains information if the Peppol message was successfully created. |
| PostboxMessageCreationError | String | Contains the error message if an error occurred during the creation of the postbox message. |
| PostboxMessageCreationSuccess | String | Contains information if the postbox message was successfully created. |
| PostboxSender | String | Sender of the postbox message. |
| ReportingPeriod | Integer | Reporting period of the invoice. |
| ReportingYear | Integer | Reporting year of the invoice. |
| SendEmailToCustomer | Boolean | Set to True to send the invoice via email to the customer. |
| SenderEmailAddress | String | Email address of the sender. |
| SendInvoiceToCustomerPostbox | Boolean | Set to True to send the invoice to the customer digital postbox. |
| SendInvoiceViaPeppol | Boolean | Set to True to send the invoice via Peppol. |
| SendOutputBasedOnAccount | Boolean | Set to True if the output preference should be taken from the account. |