---
title: "PurchaseInvoiceById (Gripp CRM)"
description: "Purchase Invoice by ID"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/grippcrm/GrippCrm.GrippCrm.PurchaseInvoiceById
original: https://documentation.invantive.eu/en/datamodels/grippcrm/GrippCrm.GrippCrm.PurchaseInvoiceById
updated: 2026-11-01T17:44:39Z
license: https://documentation.invantive.eu/en/
---

# PurchaseInvoiceById: Gripp CRM Purchase Invoice by ID

`read only` `REST`

- Catalog: `GrippCrm`
- Schema: `GrippCrm`
- Primary Keys: `id`
- Label: Purchase Invoice by ID

Can only retrieve data.

## API Source

- Endpoint: `api3.php`

## Performance Characteristics

| Characteristic | Value |
|---|---:|
| Write rows per minute | 8,930 |

The result can be cached on the client.

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `purchaseinvoice.id` | `` | [x] |  |  |

## Table Columns

The columns of the table `PurchaseInvoiceById` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `bookingnumber` | `int32` | Booking Number | [ ] | filters on the platform, writable |  |
| `company_discr` | `varchar2` | itgen_gripp_company_discr | [ ] | writable, `company.discr` |  |
| `company_id` | `int32` | Company ID | [ ] | filters on the platform, writable, `company.id` |  |
| `company_searchname` | `varchar2` | Company Search Name | [ ] | writable, `company.searchname` |  |
| `contact_discr` | `varchar2` | itgen_gripp_contact_discr | [ ] | writable, `contact.discr` |  |
| `contact_id` | `int32` | Contact ID | [ ] | filters on the platform, writable, `contact.id` |  |
| `contact_searchname` | `varchar2` | Contact Search Name | [ ] | writable, `contact.searchname` |  |
| `createdon_date` | `datetime` | Created on Date | [ ] | filters on the platform, writable, `createdon.date` |  |
| `createdon_timezone` | `varchar2` | Created on Time Zone | [ ] | writable, `createdon.timezone` |  |
| `createdon_timezone_type` | `int32` | Created on Time Zone Type | [ ] | writable, `createdon.timezone_type` |  |
| `date_date` | `datetime` | Date Date | [ ] | filters on the platform, writable, `date.date` |  |
| `date_timezone` | `varchar2` | Date Time Zone | [ ] | writable, `date.timezone` |  |
| `date_timezone_type` | `int32` | Date Time Zone Type | [ ] | writable, `date.timezone_type` |  |
| `description` | `varchar2` | Description | [ ] | filters on the platform, writable |  |
| `expirydate_date` | `datetime` | Expiry Date (Date) | [ ] | filters on the platform, writable, `expirydate.date` |  |
| `expirydate_timezone` | `varchar2` | Expiry Date (Time Zone) | [ ] | writable, `expirydate.timezone` |  |
| `expirydate_timezone_type` | `int32` | Expiry Date (Time Zone Type) | [ ] | writable, `expirydate.timezone_type` |  |
| `extendedproperties` | `varchar2` | Extended Properties | [ ] | filters on the platform, writable |  |
| `id` | `int32` | ID | [ ] | filters on the platform, writable |  |
| `identity_discr` | `varchar2` | itgen_gripp_identity_discr | [ ] | writable, `identity.discr` |  |
| `identity_id` | `int32` | Identity ID | [x] | filters on the platform, writable, `identity.id` |  |
| `identity_searchname` | `varchar2` | Identity Search Name | [x] | writable, `identity.searchname` |  |
| `isopenstaand` | `char` | Is Outstanding | [ ] | filters on the platform, writable |  |
| `number` | `varchar2` | Number | [x] | filters on the platform, writable |  |
| `paymentmethod_discr` | `varchar2` | itgen_gripp_paymentmethod_discr | [ ] | writable, `paymentmethod.discr` |  |
| `paymentmethod_id` | `int32` | Payment Method ID | [x] | filters on the platform, writable, `paymentmethod.id` |  |
| `paymentmethod_searchname` | `varchar2` | Payment Method Search Name | [x] | writable, `paymentmethod.searchname` |  |
| `phase_discr` | `varchar2` | itgen_gripp_phase_discr | [ ] | writable, `phase.discr` |  |
| `phase_id` | `int32` | Phase ID | [x] | filters on the platform, writable, `phase.id` |  |
| `phase_searchname` | `varchar2` | Phase Search Name | [x] | writable, `phase.searchname` |  |
| `reportdate_date` | `datetime` | Report Date (Date) | [ ] | filters on the platform, writable, `reportdate.date` |  |
| `reportdate_timezone` | `varchar2` | Report Date (Time Zone) | [ ] | writable, `reportdate.timezone` |  |
| `reportdate_timezone_type` | `int32` | Report Date (Time Zone Type) | [ ] | writable, `reportdate.timezone_type` |  |
| `searchname` | `varchar2` | Search Name | [ ] | filters on the platform, writable |  |
| `subject` | `varchar2` | Subject | [ ] | filters on the platform, writable |  |
| `totalbuyingincldiscountexclvat` | `double` | Total Buying incl. Discount excl. VAT | [ ] | filters on the platform, writable |  |
| `totalincldiscountinclvat` | `double` | Total incl. Discount incl. VAT | [ ] | filters on the platform, writable |  |
| `totalinclvat` | `double` | Total incl. VAT | [ ] | filters on the platform, writable |  |
| `totalopeninclvat` | `double` | Total Open incl. VAT | [ ] | filters on the platform, writable |  |
| `totalpayed` | `double` | Total Paid | [ ] | filters on the platform, writable |  |
| `unprocessed` | `char` | Unprocessed | [ ] | filters on the platform, writable |  |
| `updatedon_date` | `datetime` | Updated on Date | [ ] | filters on the platform, writable, `updatedon.date` |  |
| `updatedon_timezone` | `varchar2` | Updated on Time Zone | [ ] | writable, `updatedon.timezone` |  |
| `updatedon_timezone_type` | `int32` | Updated on Time Zone Type | [ ] | writable, `updatedon.timezone_type` |  |



## Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver:

- [Gripp CRM](/en/release-notes/drivers/gripp-crm)

### Changes of This Table, 26.0 to 27.0

<div class="rn-item" id="GRP-27.0-D166">

##### Table function GrippCrm..PurchaseInvoiceById is renamed to GrippCrm.GrippCrm.PurchaseInvoiceById

A statement that names GrippCrm..PurchaseInvoiceById fails after the upgrade; use GrippCrm.GrippCrm.PurchaseInvoiceById. The table function has 44 columns. The driver registered its objects without a schema in release 26.0; from 27.0 the schema is GrippCrm.

<div class="rn-action">

**What to Do**

Check statements, views and scripts that use it before the upgrade.

</div>

<div class="rn-chips">

- **can break a statement**
- importance 5

</div>

</div>

[All changes of the driver, 26.0 to 27.0](/en/release-notes/drivers/gripp-crm?step=26.0-to-27.0#gripp-crm-26.0-to-27.0)

