invantive documentation
Invantive Support ForumsLog In / Sign Up

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.
AmountDC double Amount Division Currency filters on the platform, writable
AmountDiscount double Amount Discount filters on the platform, writable
AmountDiscountExclVat double Amount Discount excluding VAT filters on the platform
AmountFCExclVat double Amount Foreign Currency excluding VAT filters on the platform
ContactPerson guid Contact Person filters on the platform, writable Guid identifying the contact person of the supplier.
Currency varchar2(30) 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.
DivisionCompanyCoCNumber varchar2(60) Division Chamber of Commerce Number writable Chamber of commerce number of the Exact Online division.
DivisionCompanyIBANNumber varchar2(50) Division IBAN Number writable IBAN number of the Exact Online division.
DivisionCompanyName varchar2(50) Division Company Name writable Company name of the Exact Online division.
DivisionCompanyRSINNumber varchar2(9) Division RSIN Number writable RSIN number of the Exact Online division.
DivisionCompanyVATNumber varchar2(35) Division VAT Number writable VAT number of the Exact Online division.
DivisionCompanyWageTaxNumber varchar2(60) Division Wage Tax Number writable Wage tax number of the Exact Online division.
DivisionLabel varchar2(128) Division Label writable Label of the Exact Online division.
DivisionName varchar2(50) Administration Name writable Name of the Exact Online division.
DivisionOwnerCompanyName varchar2(50) Subscription Holder Name writable Name of the customer account in division 1 owning the Exact Online subscription to which this division belongs.
DivisionOwnerCompanyNumber varchar2(18) Subscription Holder Number writable Number of the customer account in division 1 owning the Exact Online subscription to which this division belongs.
DivisionShortName 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.
DueDate datetime Due Date writable The date before which the invoice has to be paid.
EntryNumber 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.
ExchangeRate double Exchange Rate writable The exchange rate between the invoice currency and the default currency of the division.
FinancialPeriod int16 Financial Period writable Financial period.
FinancialYear 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.
InvoiceDate datetime Invoice Date filters on the platform, writable The date on which the supplier entered the invoice.
Journal varchar2(20) 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.
ModifiedUtc datetime Modified (UTC) writable Last modified date in UTC.
PaymentCondition varchar2(2) Payment Condition filters on the platform, writable The code of the payment condition that is used to calculate the due date and discount.
PaymentReference varchar2(60) 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).
VATAmount 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.
YourRef varchar2(60) Your Reference writable The invoice number provided by the supplier.

Keys

Key Column Refers to Kind Description
PurchaseInvoices_ContactPerson_Contacts_fk ContactPerson Contacts.ID Key
PurchaseInvoices_Currency_Currencies_fk Currency Currencies.Code Key
PurchaseInvoices_Document_Documents_fk Document Documents.ID Key
PurchaseInvoices_Journal_Journals_fk Journal Journals.Code Key
PurchaseInvoices_Supplier_Accounts_fk Supplier Accounts.ID Key
PurchaseInvoices_Warehouse_Warehouses_fk Warehouse Warehouses.ID Key

Referenced By

Release Notes

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