Please enable JavaScript to view this site.

Error itgendoc001X

xMsg javascript has not been loaded.

Exact Online API Data Model

Navigation: Catalog: ExactOnlineREST > Schemas > Schema: Purchase > Tables

PurchaseInvoiceLines: Exact Online Purchase Invoice Lines

Contents Previous Home Next More

Catalog: ExactOnlineREST

Schema: Purchase

Primary Keys: ID

Label: Purchase Invoice Lines

The data in this table is partitioned per value of the Division column.

Can retrieve data and change data using insert, update and delete.

Select Exact Online API URL: /api/v1/{division}/purchase/PurchaseInvoiceLines

Insert Exact Online API URL: /api/v1/{division}/purchase/PurchaseInvoiceLines

Update Exact Online API URL: /api/v1/{division}/purchase/PurchaseInvoiceLines

Delete Exact Online API URL: /api/v1/{division}/purchase/PurchaseInvoiceLines

Exact Online API Metadata URL: /api/v1/{division}/purchase/$metadata

Field Selection Method: Required

Table Columns

The columns of the table PurchaseInvoiceLines 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 or update.

Name

Data Type

Label

Required

Documentation

Amount

double

Amount

Amount in foreign currency. In a select the line amount is always returned excluding VAT. In an update request the line amount has to be submitted either including or excluding the VAT amount. This depends on the type (including or excluding) of the VAT code.

CostCenter

string(8)

Cost Center

The code of the cost center that is linked to this invoice line.

CostUnit

string(8)

Cost Unit

The code of the cost unit that is linked to this invoice line.

Currency

string(30)

Currency

The currency of the line amount. The total invoice amount and all individual line amounts are in the same currency.

Description

string

Description

Description of the invoice line.

Discount

double

Discount

The discount given on the default price. A value of 0.1 translates to 10% discount.

Division

int32

Division ID

Unique number of the Exact Online division.

DivisionCompanyCoCNumber

string(20)

Division Chamber of Commerce Number

Chamber of commerce number of the Exact Online division.

DivisionCompanyIBANNumber

string(50)

Division IBAN Number

IBAN number of the Exact Online division.

DivisionCompanyName

string(50)

Division Company Name

Company name of the Exact Online division.

DivisionCompanyRSINNumber

string(9)

Division RSIN Number

RSIN number of the Exact Online division.

DivisionCompanyVATNumber

string(35)

Division VAT Number

VAT number of the Exact Online division.

DivisionCompanyWageTaxNumber

string(60)

Division Wage Tax Number

Wage tax number of the Exact Online division.

DivisionLabel

string(128)

Division Label

Label of the Exact Online division.

DivisionName

string(50)

Administration Name

Name of the Exact Online division.

DivisionOwnerCompanyName

string(50)

Subscription Holder Name

Name of the customer account in division 1 owning the Exact Online subscription to which this division belongs.

DivisionOwnerCompanyNumber

string(18)

Subscription Holder Number

Number of the customer account in division 1 owning the Exact Online subscription to which this division belongs.

DivisionShortName

int64

Division Short Name

Short name of the Exact Online division.

Expense

guid

Expense

Expense related to the Work Breakdown Structure of the selected project. Only available with a professional service license.

ExpenseDescription

string

Expense Description

Description of expense. Only available with a professional service license.

ID

guid

ID

A guid that uniqely identifies the invoice line.

InvoiceID

guid

Invoice ID

The unique identifier of the purchase invoice this line belongs to.

InvoiceType

int16

Invoice Type

 

Item

guid

Item

Guid that identifies the purchase item. In a POST request either the Item or the PurchaseOrderLine has to be supplied.

ItemUnit

string

Item Unit

The default unit of the purchased item.

LineNumber

int32

Line Number

The sequence number of the line.

Modified

datetime

Modified

Last modified date.

ModifiedUtc

datetime

Modified (UTC)

Last modified date in UTC.

NetPrice

double

Net Price

The net price that has to be paid per unit. NetPrice = UnitPrice * (1.0 - Discount). Depending on the type of the VAT code the net price is including or excluding VAT.

Notes

string

Notes

The user can enter notes related to the invoice line here.

Project

guid

Project

The project linked to the purchase invoice line. This field is only applicable for Manufacturing and Professional Services.

PurchaseOrderLine

guid

Purchase Order Line

Guid that identifies the purchase order line that is being invoiced. When doing a POST either the Item or the PurchaseOrderLine has to be supplied. The values of the purchase order line such as Quantity, Item and Amount will be copied to the purchase invoice line.

Quantity

double

Quantity

The number of purchased items in purchase units. The purchase unit is defined on the item card and it can also be found using the logistics/SupplierItem api endpoint.For divisible items the quantity can be a fractional number, otherwise it is an integer.

QuantityInDefaultUnits

double

Quantity in Default Units

The number of purchased items in default units. An item has both a default unit and a purchase unit, for example piece and box with a box containing 12 pieces. The multiplication factor (12 in this example) between the default unit and purchase unit is maintained on the item card. When you GET a purchase invoice line for 1 box of items the field Quantity = 1 and QuantityInDefaultUnits = 12.

Rebill

boolean

 

Indicates whether the purchase invoice line needs to be rebilled. Only available with a professional service license.

Unit

string(8)

Unit

The code of the unit in which the item is purchased. For example piece, box or kg. The value is taken from the purchase unit in the item card.

UnitPrice

double

Unit Price

The default purchase price per unit. Depending on the type of the VAT code the unit price is including or excluding VAT.

VATAmount

double

VAT Amount

The VAT amount of the invoice line.

VATCode

string(3)

VAT Code

The VAT code used for the invoice line.

VATPercentage

double

VAT Percentage

The VAT percentage.

 

07-11-2021 09:07 Version 20.2.94-PROD+3513