# bow_invoicing.makeattachments: Bouw7 Package for invoicing operations that could not be mapped to a table. bow_invoicing.makeattachments: Bouw7 Package for invoicing operations that could not be mapped to a table. Generate the given attachments for the given invoice.Parameters of Procedure The following parameters can be used to control the behaviour of the procedure `bow_invoicing.makeattachments`. A value must be provided at all times for required parameters, but optional parameters in general do not need to have a value and the execution will default to a pre-defined behaviour. Values can be specified by position and by name. In both cases, all parameters not specified will be evaluated using their default values. Value specification by position is done by listing all values from the first to the last needed value. For example: a `begin package.procedure(value1, value2, value3); end` on a procedure with four parameters will use the default value for the fourth parameter and the specified values for the first three. Value specification by name is done by listing all values that require a value. For example with `begin package.procedure(name1 => value1, name3 => value3); end` on the same procedure will use the default values for the second and fourth parameters and the specified values for the first and third. | Name | Data Type | Required | Default Value | Documentation | |---|:---:|:---:|:---:|---| | `p_invoice` | `int64` | ☑ | | The invoice for which to generate the attachments. | | `fromBookingItems` | `boolean` | ☐ | | Whether or not to generate the Equipment PDF based on booking items (false = based on project and optional date range). | | `startDate` | `datetime` | ☐ | | Start date of the date range filter, will only be used when generating from a project. | | `endDate` | `datetime` | ☐ | | End date of the date range filter, will only be used when generating from a project. | | `fromBookingItems_2` | `boolean` | ☐ | | Whether or not to generate the Waste PDF based on booking items (false = based on project). | | `startDate_2` | `datetime` | ☐ | | Start date of the date range filter. | | `endDate_2` | `datetime` | ☐ | | End date of the date range filter. | | `fromBookingItems_3` | `boolean` | ☐ | | Whether or not to generate the Material PDF based on booking items (false = based on project). | | `startDate_3` | `datetime` | ☐ | | Start date of the date range filter. | | `endDate_3` | `datetime` | ☐ | | End date of the date range filter. | | `fromBookingItems_4` | `boolean` | ☐ | | Whether or not to generate the HourLog PDF based on booking items (false = based on project). | | `startDate_4` | `datetime` | ☐ | | Start date of the date range filter. | | `endDate_4` | `datetime` | ☐ | | End date of the date range filter. | | `displayType` | `int64` | ☐ | | The display type for the hours. | | `showProjectDescription` | `boolean` | ☐ | | Whether to display the project description on the PDF. |