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

SalesInvoiceLines: Exact Online Sales Invoice Lines

insert update delete per partition webhook REST

  • Catalogue : ExactOnlineREST
  • Schéma : SalesInvoice
  • Clés primaires : ID
  • Label: Sales 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.

Les modifications sont transmises via le sujet de webhook SalesInvoices le InvoiceID.

Source de l'API

  • Point de terminaison : /api/v1/{division}/salesinvoice/SalesInvoiceLines
  • Métadonnées : /api/v1/{division}/salesinvoice/$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 SalesInvoiceLines 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
AmountDC double Montant Division Devise writable Amount in the default currency of the company.For almost all lines this can be calculated like: AmountDC = AmountFC * RateFC.
AmountFC double Montant en devise étrangère writable For normal lines it's the amount excluding VAT.
CostCenter varchar2(8) Centre de coûts filters on the platform, writable Reference to Cost center.
CostCenterDescription varchar2(60) Description du centre de coûts writable Description of CostCenter.
CostUnit varchar2(8) Unité de coût filters on the platform, writable Reference to Cost unit.
CostUnitDescription varchar2(60) Description des unités de coût writable Description of CostUnit.
CustomField varchar2 Champ personnalisé writable
CustomerItemCode varchar2 Code article client Code the customer uses for this item.
DeliveryDate datetime Date de livraison writable Delivery date of an item in a sales invoice.This is used for VAT on prepayments, only if sales order is not used in the license.
Description varchar2 Description filters on the platform, writable Description.Can be different for header and lines.
Discount double Discount writable Discount given on the default price.Discount = (DefaultPrice of Item - PriceItem in line) / DefaultPrice of Item.
Division int32 Division Division code.
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.
Employee guid Employee filters on the platform, writable Link to Employee originating from time and cost transactions.
EmployeeFullName varchar2(240) Nom complet de l’employé writable Name of employee.
EndTime datetime Heure de fin writable EndTime is used to store the last date of a period.EndTime is used in combination with StartTime.
ExtraDutyAmountFC double Montant de la surtaxe en devise étrangère writable Extra duty amount in the currency of the transaction.Both extra duty amount and VAT amount need to be specified in order to differ this property from automatically calculated.
ExtraDutyPercentage double Supplément (%) writable Extra duty percentage.
GLAccount guid Compte du grand livre filters on the platform, writable The GL Account of the sales invoice line.This field is mandatory.This field is generated based on the revenue account of the item (or the related item group).G/L Account is also used to determine whether the costcenter / costunit is mandatory.
GLAccountDescription varchar2(60) Description du compte GL writable Description of the G/L account.
ID guid ID filters on the platform, writable Primary key.
InvoiceID guid ID Facture filters on the platform, writable The InvoiceID identifies the sales invoice.All the lines of a sales invoice have the same InvoiceID.
Item guid Item filters on the platform, writable Reference to the item that is sold in this sales invoice line.
ItemCode varchar2(30) Code de l'article writable Item code.
ItemDescription varchar2(255) Description de l’article writable Description of Item.
LineNumber int32 Numéro de ligne filters on the platform, writable Indicates the sequence of the lines within one invoice.
NetAmountDC double Montant net Division Devise writable Net amount in division currency of sales invoice line.
NetAmountFC double Montant net en devise étrangère writable Net amount in foreign currency of sales invoice line.
NetPrice double Prix net writable Net price of the sales invoice line.
Notes varchar2 Notes writable Extra notes.
Pricelist guid Tarif filters on the platform, writable Price list.
PricelistDescription varchar2 Description de la liste des prix writable Description of Pricelist.
Project guid Project filters on the platform, writable The project to which the sales transaction line is linked.The project can be different per line.Sometimes also the project in the header is filled although this is not really used.
ProjectDescription varchar2(60) Description du projet writable Description of Project.
ProjectWBS guid Structure de répartition du travail (WBS) du projet writable WBS linked to the sales invoice.
ProjectWBSDescription varchar2 Description de la structure de répartition du travail (WBS) du projet writable Description of WBS.
Quantity double Quantity writable The number of items sold in default units.The quantity shown in the entry screen is Quantity * UnitFactor.
SalesOrder guid Commande Client filters on the platform, writable Identifies the sales order this invoice line is based on.
SalesOrderLine guid Ligne de commande client filters on the platform, writable Identifies the sales order line this sales invoice line is based on.
SalesOrderLineNumber int32 Numéro de ligne de commande client writable Then line number of the sales order line on which this invoice line is based on.
SalesOrderNumber int32 Numéro de commande client writable The order number of the sales order on which this invoice line is based on.
StartTime datetime Heure de début writable StartTime is used to store the first date of a period.StartTime is used in combination with EndTime.
Subscription guid Subscription filters on the platform, writable When generating invoices from subscriptions, this field records the link between invoice lines and subscription lines.
SubscriptionDescription varchar2(60) Description de l'abonnement writable Description of subscription line.
TaxSchedule guid Barème fiscal filters on the platform, writable Obsolete.
TaxScheduleCode varchar2 Code de barème fiscal writable Obsolete.
TaxScheduleDescription varchar2 Description des barèmes fiscaux writable Obsolete.
UnitCode varchar2(8) Code de l'unité writable Code of Unit.
UnitDescription varchar2(60) Description d'unité writable Description of Unit.
UnitPrice double Prix unitaire writable Price per unit.
VATAmountDC double Montant de la TVA / Division / Devise writable VAT amount in the default currency of the company.
VATAmountFC double Montant de la TVA en devise étrangère writable VAT amount in the currency of the transaction.
VATCode varchar2(3) Code TVA filters on the platform, writable The VAT code that is used when the invoice is registered.
VATCodeDescription varchar2(60) Code TVA Description writable Description of VAT code.
VATPercentage double Pourcentage de TVA writable The vat percentage of the VAT code.This is the percentage at the moment the invoice is created.It's also used for the default calculation of VAT amounts and VAT base amounts.

Clés

Key Column Se réfère à Kind Description
SalesInvoiceLines_CostCenter_Costcenters_fk CostCenter Costcenters.Code Key
SalesInvoiceLines_CostUnit_Costunits_fk CostUnit Costunits.Code Key
SalesInvoiceLines_Employee_Employees_fk Employee Employees.ID Key
SalesInvoiceLines_GLAccount_GLAccounts_fk GLAccount GLAccounts.ID Key
SalesInvoiceLines_InvoiceID_SalesInvoices_fk InvoiceID SalesInvoices.InvoiceID Key
SalesInvoiceLines_Item_Items_fk Item Items.ID Key
SalesInvoiceLines_Pricelist_SalesPriceLists_fk Pricelist SalesPriceLists.ID Key
SalesInvoiceLines_ProjectWBS_ProjectWBS_fk ProjectWBS ProjectWBS.ID Key
SalesInvoiceLines_Project_Projects_fk Project Projects.ID Key
SalesInvoiceLines_SalesOrderLine_SalesOrderLines_fk SalesOrderLine SalesOrderLines.ID Key
SalesInvoiceLines_SalesOrder_SalesOrders_fk SalesOrder SalesOrders.OrderID Key
SalesInvoiceLines_Subscription_Subscriptions_fk Subscription Subscriptions.EntryID Key
SalesInvoiceLines_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 :