# Invoices: Gripp CRM Invoices
- Catalog: `GrippCrm`
- Schema: `GrippCrm`
- Primary Keys: `id`
- Label: Invoices
This is a read-only table. The Gripp CRM API may not support changing the data or the Invantive UniversalSQL driver for Gripp CRM does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Gripp CRM API.
## Table Columns
The columns of the table `Invoices` are shown below. Each column has an SQL data type.
| Name | Data Type | Label | Required | Documentation |
|---|:---:|---|:---:|---|
| `addhoursspecification` | `char` | Add Hours Specification | ☐ | |
| `client_discr` | `varchar2` | | ☐ | |
| `client_id` | `int32` | Client ID | ☐ | |
| `client_searchname` | `varchar2` | Client Search Name | ☐ | |
| `clientreference` | `varchar2` | Client Reference | ☐ | |
| `company_discr` | `varchar2` | | ☐ | |
| `company_id` | `int32` | Company ID | ☐ | |
| `company_searchname` | `varchar2` | Company Search Name | ☐ | |
| `contact_discr` | `varchar2` | | ☐ | |
| `contact_id` | `int32` | Contact ID | ☐ | |
| `contact_searchname` | `varchar2` | Contact Search Name | ☐ | |
| `createdon_date` | `datetime` | Created on Date | ☐ | |
| `createdon_timezone_type` | `int32` | Created on Time Zone Type | ☐ | |
| `createdon_timezone` | `varchar2` | Created on Time Zone | ☐ | |
| `date_date` | `datetime` | Date Date | ☐ | |
| `date_timezone_type` | `int32` | Date Time Zone Type | ☐ | |
| `date_timezone` | `varchar2` | Date Time Zone | ☐ | |
| `description` | `varchar2` | Description | ☐ | |
| `directpdfurl` | `varchar2` | Direct PDF (URL) | ☐ | |
| `expirydate_date` | `datetime` | Expiry Date (Date) | ☐ | |
| `expirydate_timezone_type` | `int32` | Expiry Date (Time Zone Type) | ☐ | |
| `expirydate_timezone` | `varchar2` | Expiry Date (Time Zone) | ☐ | |
| `extendedproperties` | `varchar2` | Extended Properties | ☐ | |
| `extrapdf1_discr` | `varchar2` | | ☐ | |
| `extrapdf1_id` | `int32` | Extra PDF 1 ID | ☐ | |
| `extrapdf1_searchname` | `varchar2` | Extra PDF 1 Search Name | ☐ | |
| `extrapdf2_discr` | `varchar2` | | ☐ | |
| `extrapdf2_id` | `int32` | Extra PDF 2 ID | ☐ | |
| `extrapdf2_searchname` | `varchar2` | Extra PDF 2 Search Name | ☐ | |
| `filesavailableforclient` | `char` | Files Available for Client | ☐ | |
| `id` | `int32` | ID | ☐ | |
| `identity_discr` | `varchar2` | | ☐ | |
| `identity_id` | `int32` | Identity ID | ☐ | |
| `identity_searchname` | `varchar2` | Identity Search Name | ☐ | |
| `isbasis` | `char` | Is Basis | ☐ | |
| `number` | `int32` | Number | ☐ | |
| `paymentmethod_discr` | `varchar2` | | ☐ | |
| `paymentmethod_id` | `int32` | Payment Method ID | ☑ | |
| `paymentmethod_searchname` | `varchar2` | Payment Method Search Name | ☑ | |
| `reportdate_date` | `datetime` | Report Date (Date) | ☐ | |
| `reportdate_timezone_type` | `int32` | Report Date (Time Zone Type) | ☐ | |
| `reportdate_timezone` | `varchar2` | Report Date (Time Zone) | ☐ | |
| `searchname` | `varchar2` | Search Name | ☐ | |
| `status_discr` | `varchar2` | | ☐ | |
| `status_id` | `int32` | Status ID | ☑ | |
| `status_searchname` | `varchar2` | Status Search Name | ☑ | |
| `subject` | `varchar2` | Subject | ☐ | |
| `templateset_discr` | `varchar2` | | ☐ | |
| `templateset_id` | `int32` | Template Set ID | ☑ | |
| `templateset_searchname` | `varchar2` | Template Set Search Name | ☑ | |
| `totalbuyingincldiscountexclvat` | `double` | Total Buying incl. Discount excl. VAT | ☐ | |
| `totalincldiscountexclvat` | `double` | Total incl. Discount excl. VAT | ☐ | |
| `totalincldiscountinclvat` | `double` | Total incl. Discount incl. VAT | ☐ | |
| `totalinclvat` | `double` | Total incl. VAT | ☐ | |
| `totalopeninclvat` | `double` | Total Open incl. VAT | ☐ | |
| `totalpayed` | `double` | Total Paid | ☐ | |
| `updatedon_date` | `datetime` | Updated on Date | ☐ | |
| `updatedon_timezone_type` | `int32` | Updated on Time Zone Type | ☐ | |
| `updatedon_timezone` | `varchar2` | Updated on Time Zone | ☐ | |
| `validfor_discr` | `varchar2` | | ☐ | |
| `validfor_id` | `int32` | Valid for ID | ☐ | |
| `validfor_searchname` | `varchar2` | Valid for Search Name | ☐ | |
| `viewonlineurl` | `varchar2` | View Online (URL) | ☐ | |
## Foreign Keys
The values of these columns refer to a row of another table.
| Columns | Referenced Table | Referenced Columns | Guarantee |
|---|---|---|---|
| `company_id` | [[GrippCrm-Companies\|GrippCrm.Companies]] | `id` | Declared by the connector, not enforced by the platform |
| `contact_id` | [[GrippCrm-Contacts\|GrippCrm.Contacts]] | `id` | Declared by the connector, not enforced by the platform |
| `extrapdf1_id` | [[GrippCrm-Files\|GrippCrm.Files]] | `id` | Declared by the connector, not enforced by the platform |
| `extrapdf2_id` | [[GrippCrm-Files\|GrippCrm.Files]] | `id` | Declared by the connector, not enforced by the platform |
## Referenced By
The columns of these tables refer to a row of this table.
| Table | Columns | Guarantee |
|---|---|---|
| [[GrippCrm-InvoiceFiles\|GrippCrm.InvoiceFiles]] | `parent_id` | Declared by the connector, not enforced by the platform |
| [[GrippCrm-InvoiceInvoiceLines\|GrippCrm.InvoiceInvoiceLines]] | `parent_id` | Declared by the connector, not enforced by the platform |
| [[GrippCrm-InvoiceLines\|GrippCrm.InvoiceLines]] | `invoice_id` | Declared by the connector, not enforced by the platform |
| [[GrippCrm-InvoicePayments\|GrippCrm.InvoicePayments]] | `parent_id` | Declared by the connector, not enforced by the platform |
| [[GrippCrm-InvoiceTags\|GrippCrm.InvoiceTags]] | `parent_id` | Declared by the connector, not enforced by the platform |
| [[GrippCrm-Payments\|GrippCrm.Payments]] | `invoice_id` | Declared by the connector, not enforced by the platform |
| [[GrippCrm-TimelineEntries\|GrippCrm.TimelineEntries]] | `invoice_id` | Declared by the connector, not enforced by the platform |