# Get invoice Endpoint: GET /POSTransaction/GetInvoice Version: 1.1.0 Security: ApiKeyAuth ## Query parameters: - `id` (string, required) - `includeBookings` (boolean) - `includePayments` (boolean) ## Response 200 fields (application/json): - `id` (string) Unique identifier of the invoice. - `number` (string) Invoice number. - `timestamp` (string) Date and time when the invoice was created. - `tableId` (string) Identifier of the table related to this invoice. - `tableInvoiceCarrierId` (any) Optional ID of the invoice carrier for the table. - `priceGrossTotal` (number) Total gross price of the invoice. - `customerSalutationId` (any) Optional salutation of the customer. - `customerName01` (any) First line of the customer name. - `customerName02` (any) Second line of the customer name. - `customerStreet` (any) Customer street. - `customerZip` (any) Customer ZIP code. - `customerCity` (any) Customer city. - `customerCountryId` (any) Country ID of the customer. - `customerVatId` (any) Customer VAT ID. - `customerId` (any) Reference to the customer. - `headerText` (any) Optional header text printed on the invoice. - `footerText` (any) Optional footer text printed on the invoice. - `isCancelled` (boolean) Indicates if the invoice is cancelled. - `isRetrieved` (boolean) Indicates if the invoice was retrieved. - `isCorrected` (boolean) Indicates if the invoice was corrected. - `correctedOn` (any) Date and time when the invoice was corrected. - `cancelledOn` (any) Date and time when the invoice was cancelled. - `cancelledByUserId` (any) User who cancelled the invoice. - `cancelledInvoiceId` (any) Reference to the invoice that was cancelled. - `createdByUserId` (string) User who created the invoice. - `paymentMethodInfo` (string) Information about the payment method used. - `dailyClosingId` (any) Reference to the related daily closing. - `statisticsValueDate` (string) Date used for statistical purposes. - `invoiceType` (integer) Type of the invoice (enum EnInvoiceType, e.g. 0 = Default, 10 = Effort, 20 = PMS Transfer). - `customerName` (any) Full customer name (combined). - `priceGrossTotalString` (string) Formatted string of total gross price. - `wsNumber` (integer) Workstation number where the invoice was generated. - `bookings` (any) - `invoicePayments` (any)