# PurchaseInvoiceById: ROBAWS Purchase Invoice by ID Find one This is a read-only table function. The ROBAWS API may not support modifying the data, or the Invantive SQL driver for ROBAWS does not support it. In the latter case, use the table NativePlatformScalarRequests to upload data to the ROBAWS API. - Catalog: `Robaws` - Schema: `PurchaseInvoices` - Label: Purchase Invoice by ID ## Parameters of Table Function | Name | Data Type | Required | Default Value | Documentation | |---|:---:|:---:|:---:|---| | `id` | `string` | ☐ | | | ## Columns The columns of the table `PurchaseInvoiceById` are shown below. Each column has an SQL data type. | Name | Data Type | Label | Required | Documentation | |---|:---:|---|:---:|---| | `accountancyStatus` | `string` | Accounting status | ☐ | | | `archivedAt` | `datetime` | Archived at | ☐ | | | `c_metadata_description` | `string` | | ☐ | | | `c_metadata_href` | `string` | | ☐ | | | `c_metadata_resource` | `string` | | ☐ | | | `c_metadata_resourceTypeId` | `string` | | ☐ | | | `company__metadata_description` | `string` | | ☐ | | | `company__metadata_href` | `string` | | ☐ | | | `company__metadata_resource` | `string` | | ☐ | | | `company__metadata_resourceTypeId` | `string` | | ☐ | | | `company_address_addressLine1` | `string` | | ☐ | | | `company_address_addressLine2` | `string` | | ☐ | | | `company_address_city` | `string` | | ☐ | | | `company_address_country` | `string` | | ☐ | | | `company_address_latitude` | `double` | | ☐ | | | `company_address_longitude` | `double` | | ☐ | | | `company_address_postalCode` | `string` | | ☐ | | | `company_archivedAt` | `datetime` | | ☐ | | | `company_createdAt` | `datetime` | | ☐ | | | `company_deletedAt` | `datetime` | | ☐ | | | `company_extraFields` | `string` | | ☐ | | | `company_id` | `string` | | ☐ | | | `company_lockedAt` | `datetime` | | ☐ | | | `company_name` | `string` | | ☐ | | | `company_updatedAt` | `datetime` | | ☐ | | | `companyId` | `string` | Company ID | ☐ | | | `contactPersonId` | `string` | Contact Person ID | ☐ | | | `createdAt` | `datetime` | Created at | ☐ | | | `creditedInvoiceId` | `string` | Credit Note ID | ☐ | Only present for invoices of type CREDIT_NOTE. This is the id of the invoice that has been credited by this credit note. | | `creditedTotal` | `decimal` | Total credited | ☐ | Only present for invoices of type INVOICE | | `currency` | `string` | Currencies | ☐ | | | `date` | `datetime` | Date | ☐ | | | `deletedAt` | `datetime` | Deleted at | ☐ | | | `exchangeRate` | `decimal` | Exchange rate | ☐ | | | `expireDate` | `datetime` | Expiry Date | ☐ | | | `extraFields` | `string` | Extra fields | ☐ | | | `id` | `string` | ID | ☐ | | | `invoiceNumber` | `string` | Invoice Number | ☐ | | | `journalName` | `string` | Journal name | ☐ | | | `lockedAt` | `datetime` | Closed at | ☐ | | | `logicId` | `string` | Logical ID | ☐ | | | `openTotal` | `decimal` | Total Open | ☐ | | | `paymentConditionId` | `string` | Payment Term ID | ☐ | | | `paymentInstruction` | `string` | Payment Instruction | ☐ | | | `remark` | `string` | Remark | ☐ | | | `status` | `string` | Status | ☐ | | | `statusDetails_color` | `string` | | ☐ | | | `statusDetails_name` | `string` | | ☐ | | | `supplier__metadata_description` | `string` | | ☐ | | | `supplier__metadata_href` | `string` | | ☐ | | | `supplier__metadata_resource` | `string` | | ☐ | | | `supplier__metadata_resourceTypeId` | `string` | | ☐ | | | `supplier_archivedAt` | `datetime` | | ☐ | | | `supplier_createdAt` | `datetime` | | ☐ | | | `supplier_deletedAt` | `datetime` | | ☐ | | | `supplier_email` | `string` | | ☐ | | | `supplier_extraFields` | `string` | | ☐ | | | `supplier_fax` | `string` | | ☐ | | | `supplier_generalLedgerAccount_archivedAt` | `datetime` | | ☐ | | | `supplier_generalLedgerAccount_code` | `string` | | ☐ | | | `supplier_generalLedgerAccount_createdAt` | `datetime` | | ☐ | | | `supplier_generalLedgerAccount_deletedAt` | `datetime` | | ☐ | | | `supplier_generalLedgerAccount_extraFields` | `string` | | ☐ | | | `supplier_generalLedgerAccount_id` | `string` | | ☐ | | | `supplier_generalLedgerAccount_lockedAt` | `datetime` | | ☐ | | | `supplier_generalLedgerAccount_name` | `string` | | ☐ | | | `supplier_generalLedgerAccount_updatedAt` | `datetime` | | ☐ | | | `supplier_generalLedgerAccountId` | `string` | | ☐ | | | `supplier_gsm` | `string` | | ☐ | | | `supplier_iban` | `string` | | ☐ | | | `supplier_id` | `string` | | ☐ | | | `supplier_invoiceAddress_addressLine1` | `string` | | ☐ | | | `supplier_invoiceAddress_addressLine2` | `string` | | ☐ | | | `supplier_invoiceAddress_city` | `string` | | ☐ | | | `supplier_invoiceAddress_country` | `string` | | ☐ | | | `supplier_invoiceAddress_latitude` | `double` | | ☐ | | | `supplier_invoiceAddress_longitude` | `double` | | ☐ | | | `supplier_invoiceAddress_postalCode` | `string` | | ☐ | | | `supplier_invoiceRemarks` | `string` | | ☐ | | | `supplier_kvk` | `string` | | ☐ | | | `supplier_language` | `string` | | ☐ | | | `supplier_legalForm_archivedAt` | `datetime` | | ☐ | | | `supplier_legalForm_createdAt` | `datetime` | | ☐ | | | `supplier_legalForm_deletedAt` | `datetime` | | ☐ | | | `supplier_legalForm_extraFields` | `string` | | ☐ | | | `supplier_legalForm_id` | `string` | | ☐ | | | `supplier_legalForm_legalAbbreviation` | `string` | | ☐ | | | `supplier_legalForm_lockedAt` | `datetime` | | ☐ | | | `supplier_legalForm_name` | `string` | | ☐ | | | `supplier_legalForm_updatedAt` | `datetime` | | ☐ | | | `supplier_legalForm_vatLiable` | `boolean` | | ☐ | | | `supplier_legalFormId` | `string` | | ☐ | | | `supplier_lockedAt` | `datetime` | | ☐ | | | `supplier_logicId` | `string` | | ☐ | | | `supplier_name` | `string` | | ☐ | | | `supplier_paymentConditionId` | `string` | | ☐ | | | `supplier_planningEmail` | `string` | | ☐ | | | `supplier_status` | `string` | | ☐ | | | `supplier_statusDetails_color` | `string` | | ☐ | | | `supplier_statusDetails_name` | `string` | | ☐ | | | `supplier_supplyOrderRemarks` | `string` | | ☐ | | | `supplier_tel` | `string` | | ☐ | | | `supplier_type` | `string` | | ☐ | | | `supplier_updatedAt` | `datetime` | | ☐ | | | `supplier_vatIdNumber` | `string` | | ☐ | | | `supplier_vatTariff_additionalMention` | `string` | | ☐ | | | `supplier_vatTariff_archivedAt` | `datetime` | | ☐ | | | `supplier_vatTariff_category` | `string` | | ☐ | | | `supplier_vatTariff_createdAt` | `datetime` | | ☐ | | | `supplier_vatTariff_deletedAt` | `datetime` | | ☐ | | | `supplier_vatTariff_description` | `string` | | ☐ | | | `supplier_vatTariff_excludedFromFinancialDiscount` | `boolean` | | ☐ | | | `supplier_vatTariff_extraFields` | `string` | | ☐ | | | `supplier_vatTariff_id` | `string` | | ☐ | | | `supplier_vatTariff_inclusive` | `boolean` | | ☐ | | | `supplier_vatTariff_lockedAt` | `datetime` | | ☐ | | | `supplier_vatTariff_name` | `string` | | ☐ | | | `supplier_vatTariff_percentage` | `decimal` | | ☐ | | | `supplier_vatTariff_updatedAt` | `datetime` | | ☐ | | | `supplier_vatTariffId` | `string` | | ☐ | | | `supplier_website` | `string` | | ☐ | | | `supplierId` | `string` | Supplier ID | ☐ | | | `supplierReference` | `string` | Supplier Reference | ☐ | | | `totalExclVat` | `decimal` | Total excluding VAT | ☐ | | | `totalInclVat` | `decimal` | Total including VAT | ☐ | | | `type` | `string` | Type | ☐ | | | `updatedAt` | `datetime` | Updated On | ☐ | |