PurchaseInvoices: Exact Online Purchase Invoices
insert update delete per partition REST
- Catalog:
ExactOnlineREST - Schema:
Purchase - Primary Keys:
ID - Label: Purchase Invoices
The data in this table is partitioned per value of the Division column.
Can retrieve data and change data using insert, update and delete.
API Source
- Endpoint:
/api/v1/{division}/purchase/PurchaseInvoices - Metadata:
/api/v1/{division}/purchase/$metadata
Performance Characteristics
| Characteristic | Value |
|---|---|
| Average access latency (ms) | 5 |
| Full scan rows per minute | 7,200 |
| Point query rows per minute | 300 |
| Write rows per minute | 300 |
The result can be cached on the client.
Table Columns
The columns of the table PurchaseInvoices 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 |
|---|---|---|---|---|---|
Amount |
double |
Amount | writable | The amount including VAT in the currency of the invoice. | |
Amount |
double |
Amount Division Currency | filters on the platform, writable | ||
Amount |
double |
Amount Discount | filters on the platform, writable | ||
Amount |
double |
Amount Discount excluding VAT | filters on the platform | ||
Amount |
double |
Amount Foreign Currency excluding VAT | filters on the platform | ||
Contact |
guid |
Contact Person | filters on the platform, writable | Guid identifying the contact person of the supplier. | |
Currency |
varchar2 |
Currency | writable | The code of the currency of the invoiced amount. | |
Description |
varchar2 |
Description | writable | The description of the invoice. | |
Discount |
double |
Discount | filters on the platform | ||
Division |
int32 |
Division ID | Unique number of the Exact Online division. | ||
Division |
varchar2 |
Division Chamber of Commerce Number | writable | Chamber of commerce number of the Exact Online division. | |
Division |
varchar2 |
Division IBAN Number | writable | IBAN number of the Exact Online division. | |
Division |
varchar2 |
Division Company Name | writable | Company name of the Exact Online division. | |
Division |
varchar2 |
Division RSIN Number | writable | RSIN number of the Exact Online division. | |
Division |
varchar2 |
Division VAT Number | writable | VAT number of the Exact Online division. | |
Division |
varchar2 |
Division Wage Tax Number | writable | Wage tax number of the Exact Online division. | |
Division |
varchar2 |
Division Label | writable | Label of the Exact Online division. | |
Division |
varchar2 |
Administration Name | writable | Name of the Exact Online division. | |
Division |
varchar2 |
Subscription Holder Name | writable | Name of the customer account in division 1 owning the Exact Online subscription to which this division belongs. | |
Division |
varchar2 |
Subscription Holder Number | writable | Number of the customer account in division 1 owning the Exact Online subscription to which this division belongs. | |
Division |
int64 |
Division Short Name | writable | Short name of the Exact Online division. | |
Document |
guid |
Document | filters on the platform, writable | Guid identifying a document that is attached to the invoice. | |
Due |
datetime |
Due Date | writable | The date before which the invoice has to be paid. | |
Entry |
int32 |
Entry Number | filters on the platform, writable | The unique number of the purchase invoice. The entry number is based on a setting in the purchase journal and incremented for each new purchase invoice. | |
Exchange |
double |
Exchange Rate | writable | The exchange rate between the invoice currency and the default currency of the division. | |
Financial |
int16 |
Financial Period | writable | Financial period. | |
Financial |
int16 |
Financial Year | writable | The financial year in which the invoice is entered. | |
ID |
guid |
ID | filters on the platform, writable | A GUID that is the unique identifier of the purchase invoice. | |
Invoice |
datetime |
Invoice Date | filters on the platform, writable | The date on which the supplier entered the invoice. | |
Journal |
varchar2 |
Journal | filters on the platform, writable | The code of the purchase journal in which the invoice is entered. | |
Modified |
datetime |
Modified | filters on the platform, writable | Last modified date. | |
Modified |
datetime |
Modified (UTC) | writable | Last modified date in UTC. | |
Payment |
varchar2 |
Payment Condition | filters on the platform, writable | The code of the payment condition that is used to calculate the due date and discount. | |
Payment |
varchar2 |
Payment Reference | writable | Unique reference to match payments and invoices. | |
Remarks |
varchar2 |
Remarks | writable | The user can enter remarks related to the invoice here. | |
Source |
int16 |
Source | writable | Indicates the origin of the invoice. 1 Manual entry, 3 Purchase invoice, 4 Purchase order, 5 Web service. | |
Status |
int16 |
Status | writable | The status of the invoice. 10 Draft, 20 Open, 50 Processed. | |
Supplier |
guid |
Supplier | filters on the platform, writable | Guid that identifies the supplier. | |
Type |
int16 |
Type | writable | Indicates the type of the purchase invoice. 8030 Direct purchase invoice, 8031 Direct purchase invoice (Credit), 8033 Purchase invoice, 8034 Purchase invoice (Credit). | |
VAT |
double |
VAT Amount | writable | The total VAT amount of the purchase invoice. | |
Warehouse |
guid |
Warehouse | filters on the platform, writable | Guid that identifies the warehouse that will receive the purchased goods. This is mandatory for creating a direct purchase invoice. | |
Your |
varchar2 |
Your Reference | writable | The invoice number provided by the supplier. |
Keys
| Key | Column | Refers to | Kind | Description |
|---|---|---|---|---|
Purchase |
Contact |
Contacts.ID |
Key | |
Purchase |
Currency |
Currencies.Code |
Key | |
Purchase |
Document |
Documents.ID |
Key | |
Purchase |
Journal |
Journals.Code |
Key | |
Purchase |
Supplier |
Accounts.ID |
Key | |
Purchase |
Warehouse |
Warehouses.ID |
Key |
Referenced By
- PurchaseInvoiceLines
InvoiceID(Key)
Release Notes
What changed per release in the tables, columns, attributes and capabilities of the driver: