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

SalesInvoices: Exact Online Sales Invoices

insert update delete per partition webhook REST

  • Catalogue : ExactOnlineREST
  • Schéma : SalesInvoice
  • Clés primaires : InvoiceID
  • Label: Sales Invoices

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.

Source de l'API

  • Point de terminaison : /api/v1/{division}/salesinvoice/SalesInvoices
  • 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 SalesInvoices 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 For the header lines (LineNumber = 0) of an entry this is the SUM(AmountDC) of all lines.
AmountDiscount double Montant de la remise writable Discount amount in the default currency of the company.
AmountDiscountExclVat double Montant de la remise hors TVA writable Discount amount exclude VAT in the default currency of the company.
AmountFC double Montant en devise étrangère writable For the header this is the sum of all lines, including VAT.
AmountFCExclVat double Montant en devise étrangère hors TVA writable For the header this is the sum of all lines, excluding VAT.
Created datetime Created filters on the platform, writable Creation date.
CreatedUtc datetime Créé writable Creation date in UTC.
Creator guid Creator writable User ID of creator.
CreatorFullName varchar2(240) Nom complet de l'auteur writable Name of creator.
Currency varchar2(30) Currency writable Currency for the invoice.Default this is the currency of the administration.
DeliverTo guid Livrer à filters on the platform, writable Delivery account for invoice.
DeliverToAddress guid Livrer à l'adresse suivante filters on the platform, writable Address of delivery as per invoice delivery account.
DeliverToContactPerson guid Livrer à la personne de contact filters on the platform, writable Delivery account person for invoice.
DeliverToContactPersonFullName varchar2(240) Nom complet de la personne à contacter pour la livraison writable Name of delivery account's contact person as per invoice.
DeliverToName varchar2 Livrer à Nom writable Name of the delivery account's customer as per invoice.
Description varchar2 Description filters on the platform, writable Description.Can be different for header and lines.
Discount double Discount writable Discount percentage.
DiscountType int16 Type de réduction writable
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.
Document guid Document filters on the platform, writable Document that is manually linked to the invoice.
DocumentNumber int32 Numéro de document writable Number of the document.
DocumentSubject varchar2(256) Objet du document writable Subject of the document.
DueDate datetime Date d'Échéance writable The due date for payments.This date is calculated based on the EntryDate and the Paymentcondition.
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.
GAccountAmountFC double Compte G Montant Devise étrangère writable A positive value of the amount indicates that the amount is to be paid by the customer to your G bank account.In case of a credit invoice the amount should have negative value when retrieved or posted to Exact.
IncotermAddress varchar2 Adresse selon les Incoterms filters on the platform, writable
IncotermCode varchar2 Code Incoterm filters on the platform, writable
IncotermVersion int16 Version des Incoterms filters on the platform, writable
InvoiceDate datetime Date de facture filters on the platform, writable Official date for the invoice.When the invoice is entered it's equal to the field 'EntryDate'.During the printing process the invoice date can be entered.
InvoiceID guid ID Facture filters on the platform, writable Primary key.
InvoiceNumber int32 Numéro de facture filters on the platform, writable Assigned at entry or at printing depending on setting.The number assigned is based on the freenumbers as defined for the Journal.When printing the field InvoiceNumber is copied to the fields EntryNumber and InvoiceNumber of the sales entry.
InvoiceTo guid Facturer à filters on the platform, writable Reference to the Customer who will receive the invoice.
InvoiceToContactPerson guid Facture à l'attention de la personne de contact filters on the platform, writable Reference to the Contact person of the customer who will receive the invoice.
InvoiceToContactPersonFullName varchar2(240) Nom complet de la personne à contacter pour la facturation writable Name of the contact person of the customer who will receive the invoice.
InvoiceToName varchar2 Facture à l'attention de Nom writable Name of the customer who will receive the invoice.
IsExtraDuty char S'agit-il d'heures supplémentaires ? writable Indicates whether the invoice has extra duty.
Journal varchar2(20) Journal filters on the platform, writable The journal code.Every invoice should be linked to a sales journal.
JournalDescription varchar2(60) Description de la revue writable Description of Journal.
Modified datetime Modified filters on the platform, writable Last modified date.
ModifiedUtc datetime Modifié (UTC) writable Last modified date in UTC.
Modifier guid Modifier writable User ID of modifier.
ModifierFullName varchar2(240) Nom complet modifié writable Name of modifier.
NetAmountDC double Montant net Division Devise writable Net amount in division currency of sales invoice.
NetAmountFC double Montant net en devise étrangère writable Net amount in foreign currency of sales invoice.
OrderDate datetime Date de la commande writable Order date.
OrderNumber int32 Numéro de Commande filters on the platform, writable Number to identify the order.By default the number is based on a setting for the first free number, but you can post your own number.
OrderedBy guid Commandé par filters on the platform, writable Customer who ordered the invoice.
OrderedByContactPerson guid Trié par personne de contact filters on the platform, writable Contact person of customer who ordered the invoice.
OrderedByContactPersonFullName varchar2(240) Trié par nom complet de la personne de contact writable Name of contact person of customer who ordered the invoice.
OrderedByName varchar2(50) Classés par nom writable Name of customer who ordered the invoice.
PaymentCondition varchar2(2) Condition de paiement writable The payment condition used for due date and discount calculation.
PaymentConditionDescription varchar2(60) Description des conditions de paiement writable Description of PaymentCondition.
PaymentReference varchar2(60) Référence de réglement filters on the platform, writable Payment reference for sales invoice.
Remarks varchar2 Remarks writable Extra remarks.
SalesChannel guid Le canal de vente filtres disponibles sur la plateforme
SalesChannelCode varchar2 Code du canal de vente
SalesChannelDescription varchar2 Description du canal de vente
Salesperson guid Vendeur filters on the platform, writable Sales representative.
SalespersonFullName varchar2(240) Nom complet du commercial writable Name of sales representative.
SelectionCode guid Code de sélection filters on the platform, writable ID of selection code.Only supported by the Advanced and Premium editions for Wholesale & Distribution and Manufacturing.
SelectionCodeCode varchar2 Code de sélection writable Code of selection code.
SelectionCodeDescription varchar2 itgen_eol_selectioncodedescription writable Description of selection code.
ShippingMethod guid Mode d'expédition filters on the platform, writable
ShippingMethodCode varchar2 Code du mode de livraison filtres disponibles sur la plateforme
ShippingMethodDescription varchar2 Description du mode de livraison filtres disponibles sur la plateforme
StarterSalesInvoiceStatus int16 Statut des factures de vente (version d'essai) writable Starter Sales invoice status (for starter functionality).
StarterSalesInvoiceStatusDescription varchar2 itgen_eol_startersalesinvoicestatusdescription writable Description of StarterSalesInvoiceStatus.
Status int16 Status filters on the platform, writable The status of the entry.10 = draft.During the creation of an invoice draft records occur in the draft modus if during an invoice a new page with lines is triggered.If the user leaves the invoice in an abnormal way the draft invoices can be recovered.Draft invoices are not included in financial reports, balances etc. 20 = open.Open invoices can be changed.New invoices get the status open by default.50 = processed.Processed invoices can't be changed anymore.Processing is done via printing.Processed invoices can't be reopened.
StatusDescription varchar2 Description de l'état writable Description of Status.
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.
Type int32 Type filters on the platform, writable Indicates the type of invoice Values: 8020 - Sales invoices, 8021 - Sales credit note.
TypeDescription varchar2(240) Description du type writable Description of the type.
VATAmountDC double Montant de la TVA / Division / Devise writable Total VAT amount in the default currency of the company.
VATAmountFC double Montant de la TVA en devise étrangère writable Total VAT amount in the currency of the transaction.
Warehouse guid Warehouse filters on the platform, writable Mandatory for direct sales invoice/credit note, cannot be set for normal sales invoice/credit note.
WithholdingTaxAmountFC double Montant de la retenue à la source (devise étrangère) writable Withholding tax amount applied to sales invoice.
WithholdingTaxBaseAmount double Montant de base de la retenue à la source writable Withholding tax base amount to calculate withholding amount.
WithholdingTaxPercentage double Retenue à la source (%) writable Withholding tax percentage applied to sales invoice.
YourRef varchar2(60) Votre référence filters on the platform, writable The invoice number of the customer.

Clés

Key Column Se réfère à Kind Description
SalesInvoices_Creator_Users_fk Creator Users.UserID Key
SalesInvoices_Currency_Currencies_fk Currency Currencies.Code Key
SalesInvoices_DeliverToAddress_Addresses_fk DeliverToAddress Addresses.ID Key
SalesInvoices_DeliverToContactPerson_Contacts_fk DeliverToContactPerson Contacts.ID Key
SalesInvoices_DeliverTo_Accounts_fk DeliverTo Accounts.ID Key
SalesInvoices_Document_Documents_fk Document Documents.ID Key
SalesInvoices_InvoiceToContactPerson_Contacts_fk InvoiceToContactPerson Contacts.ID Key
SalesInvoices_InvoiceTo_Accounts_fk InvoiceTo Accounts.ID Key
SalesInvoices_Journal_Journals_fk Journal Journals.Code Key
SalesInvoices_Modifier_Users_fk Modifier Users.UserID Key
SalesInvoices_OrderedByContactPerson_Contacts_fk OrderedByContactPerson Contacts.ID Key
SalesInvoices_OrderedBy_Accounts_fk OrderedBy Accounts.ID Key
SalesInvoices_Salesperson_Users_fk Salesperson Users.UserID Key
SalesInvoices_SelectionCode_SelectionCodes_fk SelectionCode SelectionCodes.ID Key
SalesInvoices_Warehouse_Warehouses_fk Warehouse Warehouses.ID Key

Référencée

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 :