# UpdateInvoice - Name: `UpdateInvoice` - Catalog: `Octopus` - Schema: `OctopusWS` ## Parameters of Table Function | Name | Data Type | Required | Default Value | Documentation | |---|:---:|:---:|:---:|---| | `COMPANY_CODE` | `string` | ☐ | | | | `invoice_bookyearKey` | `string` | ☐ | | | | `invoice_bookyearKey_id` | `int32` | ☐ | | | | `invoice_bookyearPeriodeNr` | `int32` | ☐ | | | | `invoice_comment` | `string` | ☐ | | | | `invoice_currencyCode` | `string` | ☐ | | | | `invoice_documentDate` | `datetime` | ☐ | | | | `invoice_documentSequenceNr` | `int32` | ☐ | | | | `invoice_exchangeRate` | `double` | ☐ | | | | `invoice_expiryDate` | `datetime` | ☐ | | | | `invoice_externalRelationId` | `int32` | ☐ | | | | `invoice_financialDiscount` | `double` | ☐ | | | | `invoice_invoiceLines_bookingAccountNr` | `int32` | ☐ | | | | `invoice_invoiceLines_costCentreKey` | `string` | ☐ | | | | `invoice_invoiceLines_costCentreKey_id` | `int32` | ☐ | | | | `invoice_invoiceLines_count` | `double` | ☐ | | | | `invoice_invoiceLines_description` | `string` | ☐ | | | | `invoice_invoiceLines_discountPercentage` | `double` | ☐ | | | | `invoice_invoiceLines_externProductNr` | `string` | ☐ | | | | `invoice_invoiceLines_unit` | `string` | ☐ | | | | `invoice_invoiceLines_unitPrice` | `double` | ☐ | | | | `invoice_invoiceLines_vatCodeKey` | `string` | ☐ | | | | `invoice_journalKey` | `string` | ☐ | | | | `invoice_reference` | `string` | ☐ | | | ## Table Columns The columns of the table `UpdateInvoice` are shown below. Each column has an SQL data type. | Name | Data Type | Label | Required | Documentation | |---|:---:|---|:---:|---| | `COMPANY_CODE` | `string` | Partition Code | ☑ | | | `COMPANY_NAME` | `string` | Partition Name | ☑ | | | `RETURN` | `int32` | Return | | |