invantive documentation
Forums d'Invantive SupportConnectez-vous/inscrivez-vous

PurchaseInvoiceLines: Exact Online Purchase Invoice Lines

insert update delete per partition REST

  • Catalogue : ExactOnlineREST
  • Schéma : Purchase
  • Clés primaires : ID
  • Label: Purchase Invoice Lines

Les données de cette table sont partitionnées en fonction de la valeur de la colonne Division.

Permet de récupérer et de modifier des données à l'aide de insert, update et delete.

Source de l'API

  • Point de terminaison : /api/v1/{division}/purchase/PurchaseInvoiceLines
  • Métadonnées : /api/v1/{division}/purchase/$metadata

Caractéristiques de performance

Characteristic Value
Latence moyenne d'accès (ms) 5
Nombre de lignes par minute en mode de balayage complet 7,200
Nombre de lignes de requêtes ponctuelles par minute 300
Nombre d'enregistrements écrits par minute 300

Le résultat peut être mis en cache côté client.

Colonnes de table

Les colonnes de la table PurchaseInvoiceLines sont présentées ci-dessous. Chaque colonne possède un type de données SQL. Une nouvelle valeur non nulle doit être fournie pour chaque colonne requise à tout moment lors de l'insertion et de la mise à jour.

Name Type de données Label Required Marks Documentation
Amount double Amount writable 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.
AmountDC double Montant Division Devise filters on the platform, writable
CostCenter varchar2(8) Centre de coûts filters on the platform, writable The code of the cost center that is linked to this invoice line.
CostUnit varchar2(8) Unité de coût filters on the platform, writable The code of the cost unit that is linked to this invoice line.
Currency varchar2(30) Currency writable The currency of the line amount.The total invoice amount and all individual line amounts are in the same currency.
CustomField varchar2 Champ personnalisé writable
Description varchar2 Description writable Description of the invoice line.
Discount double Discount writable The discount given on the default price.A value of 0.1 translates to 10% discount.
Division int32 ID de l'entreprise Unique number of the Exact Online division.
DivisionCompanyCoCNumber varchar2(60) Numéro d'enregistrement à la Chambre de commerce de la division writable Chamber of commerce number of the Exact Online division.
DivisionCompanyIBANNumber varchar2(50) Numéro IBAN de la division writable IBAN number of the Exact Online division.
DivisionCompanyName varchar2(50) Division - Nom de l'entreprise writable Company name of the Exact Online division.
DivisionCompanyRSINNumber varchar2(9) Numéro de division RSIN writable RSIN number of the Exact Online division.
DivisionCompanyVATNumber varchar2(35) Numéro de TVA de la division writable VAT number of the Exact Online division.
DivisionCompanyWageTaxNumber varchar2(60) Numéro d'identification fiscale de la division writable Wage tax number of the Exact Online division.
DivisionLabel varchar2(128) Étiquette de division writable Label of the Exact Online division.
DivisionName varchar2(50) Nom de l'administration writable Name of the Exact Online division.
DivisionOwnerCompanyName varchar2(50) Nom du titulaire de l'abonnement writable Name of the customer account in division 1 owning the Exact Online subscription to which this division belongs.
DivisionOwnerCompanyNumber varchar2(18) Numéro d'abonné writable Number of the customer account in division 1 owning the Exact Online subscription to which this division belongs.
DivisionShortName int64 Nom abrégé de la division writable Short name of the Exact Online division.
Expense guid Expense writable Expense related to the Work Breakdown Structure of the selected project.Only available with a professional service license.
ExpenseDescription varchar2 Description des dépenses writable Description of expense.Only available with a professional service license.
ID guid ID filters on the platform, writable A guid that uniqely identifies the invoice line.
InvoiceID guid ID Facture filters on the platform, writable The unique identifier of the purchase invoice this line belongs to.
InvoiceType int16 Type de facture writable
Item guid Item filters on the platform, writable Guid that identifies the purchase item.In a POST request either the Item or the PurchaseOrderLine has to be supplied.
ItemUnit varchar2 Article Unité writable The default unit of the purchased item.
LineNumber int32 Numéro de ligne filters on the platform, writable The sequence number of the line.
Modified datetime Modified filters on the platform, writable Last modified date.
ModifiedUtc datetime Modifié (UTC) writable Last modified date in UTC.
NetPrice double Prix net writable 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 varchar2 Notes writable The user can enter notes related to the invoice line here.
Project guid Project writable The project linked to the purchase invoice line.This field is only applicable for Manufacturing and Professional Services.
PurchaseOrderLine guid Ligne de bon de commande writable 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 writable 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 Quantité en unités par défaut filters on the platform, writable 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 char Rebill writable Indicates whether the purchase invoice line needs to be rebilled.Only available with a professional service license.
Unit varchar2(8) Unit writable 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 Prix unitaire writable The default purchase price per unit.Depending on the type of the VAT code the unit price is including or excluding VAT.
VATAmount double Montant TVA writable The VAT amount of the invoice line.
VATCode varchar2(3) Code TVA filters on the platform, writable The VAT code used for the invoice line.
VATPercentage double Pourcentage de TVA writable The VAT percentage.

Clés

Key Column Se réfère à Kind Description
PurchaseInvoiceLines_CostCenter_Costcenters_fk CostCenter Costcenters.Code Key
PurchaseInvoiceLines_CostUnit_Costunits_fk CostUnit Costunits.Code Key
PurchaseInvoiceLines_Currency_Currencies_fk Currency Currencies.Code Key
PurchaseInvoiceLines_InvoiceID_PurchaseInvoices_fk InvoiceID PurchaseInvoices.ID Key
PurchaseInvoiceLines_ItemUnit_Units_fk ItemUnit Units.Code Key
PurchaseInvoiceLines_Item_Items_fk Item Items.ID Key
PurchaseInvoiceLines_Project_Projects_fk Project Projects.ID Key
PurchaseInvoiceLines_PurchaseOrderLine_PurchaseOrderLines_fk PurchaseOrderLine PurchaseOrderLines.ID Key
PurchaseInvoiceLines_Unit_Units_fk Unit Units.Code Key
PurchaseInvoiceLines_VATCode_VATCodes_fk VATCode VATCodes.Code Key

Notes de Version

Quels ont été les changements apportés à chaque version au niveau des tables, des colonnes, des attributs et des fonctionnalités du chauffeur :