SalesInvoices: Exact Online Sales Invoices
insert update delete per partition webhook REST
- Catalogo:
ExactOnlineREST - Schema:
SalesInvoice - Chiavi primarie:
InvoiceID - Label: Sales Invoices
I dati in questa tabella sono partizionati per valore della colonna Division.
È possibile recuperare e modificare i dati utilizzando insert, update e delete.
Le modifiche vengono inviate tramite il topic del webhook SalesInvoices.
Codice sorgente dell'API
- Punto finale:
/api/v1/{division}/salesinvoice/SalesInvoices - Metadati:
/api/v1/{division}/salesinvoice/$metadata
Caratteristiche prestazionali
| Characteristic | Value |
|---|---|
| Latenza media di accesso (ms) | 5 |
| Righe di scansione completa al minuto | 7,200 |
| Numero di righe di Query al minuto | 300 |
| Scrittura di righe al minuto | 300 |
Il risultato può essere memorizzato nella memoria cache sul client.
Colonne della tabella
Di seguito sono riportate le colonne della tabella SalesInvoices. Ogni colonna ha un tipo di dati SQL. Un nuovo valore non nullo deve essere fornito per ogni colonna richiesta in ogni momento durante l'inserimento e l'aggiornamento.
| Name | Tipo di dati | Label | Required | Marks | Documentation |
|---|---|---|---|---|---|
Amount |
double |
Valuta della divisione degli importi | writable | For the header lines (LineNumber = 0) of an entry this is the SUM(AmountDC) of all lines. | |
Amount |
double |
Importo Sconto | writable | Discount amount in the default currency of the company. | |
Amount |
double |
Importo Sconto IVA esclusa | writable | Discount amount exclude VAT in the default currency of the company. | |
Amount |
double |
Importo in valuta estera | writable | For the header this is the sum of all lines, including VAT. | |
Amount |
double |
Importo in valuta estera, IVA esclusa | writable | For the header this is the sum of all lines, excluding VAT. | |
Created |
datetime |
Created | filters on the platform, writable | Creation date. | |
Created |
datetime |
Creato | writable | Creation date in UTC. | |
Creator |
guid |
Creator | writable | User ID of creator. | |
Creator |
varchar2 |
Nome completo del creatore | writable | Name of creator. | |
Currency |
varchar2 |
Currency | writable | Currency for the invoice.Default this is the currency of the administration. | |
Deliver |
guid |
Consegna a | filters on the platform, writable | Delivery account for invoice. | |
Deliver |
guid |
Consegna all'indirizzo | filters on the platform, writable | Address of delivery as per invoice delivery account. | |
Deliver |
guid |
Consegna al referente | filters on the platform, writable | Delivery account person for invoice. | |
Deliver |
varchar2 |
Consegna a nome completo del referente | writable | Name of delivery account's contact person as per invoice. | |
Deliver |
varchar2 |
Consegna a nome di | 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. | |
Discount |
int16 |
Tipo di sconto | writable | ||
Division |
int32 |
Division | Division code. | ||
Division |
varchar2 |
Numero di iscrizione alla Camera di Commercio della Divisione | writable | Chamber of commerce number of the Exact Online division. | |
Division |
varchar2 |
Codice IBAN della divisione | writable | IBAN number of the Exact Online division. | |
Division |
varchar2 |
Divisione - Nome dell'azienda | writable | Company name of the Exact Online division. | |
Division |
varchar2 |
Numero di divisione RSIN | writable | RSIN number of the Exact Online division. | |
Division |
varchar2 |
Partita IVA della divisione | writable | VAT number of the Exact Online division. | |
Division |
varchar2 |
Codice fiscale salariale della divisione | writable | Wage tax number of the Exact Online division. | |
Division |
varchar2 |
Etichetta della divisione | writable | Label of the Exact Online division. | |
Division |
varchar2 |
Nome dell'amministrazione | writable | Name of the Exact Online division. | |
Division |
varchar2 |
Nome del titolare dell'abbonamento | writable | Name of the customer account in division 1 owning the Exact Online subscription to which this division belongs. | |
Division |
varchar2 |
Numero di abbonato | writable | Number of the customer account in division 1 owning the Exact Online subscription to which this division belongs. | |
Division |
int64 |
Nome abbreviato della divisione | writable | Short name of the Exact Online division. | |
Document |
guid |
Document | filters on the platform, writable | Document that is manually linked to the invoice. | |
Document |
int32 |
Numero del documento | writable | Number of the document. | |
Document |
varchar2 |
Oggetto del documento | writable | Subject of the document. | |
Due |
datetime |
Scadenza | writable | The due date for payments.This date is calculated based on the EntryDate and the Paymentcondition. | |
Extra |
double |
Importo supplementare in Valuta estera | 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. | |
G |
double |
Conto G Importo Valuta estera | 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. | |
Incoterm |
varchar2 |
Indirizzo Incoterm | filters on the platform, writable | ||
Incoterm |
varchar2 |
Codice Incoterm | filters on the platform, writable | ||
Incoterm |
int16 |
Versione dell'Incoterm | filters on the platform, writable | ||
Invoice |
datetime |
Data della fattura | 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. | |
Invoice |
guid |
ID fattura | filters on the platform, writable | Primary key. | |
Invoice |
int32 |
Numero della fattura | 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. | |
Invoice |
guid |
Fattura a | filters on the platform, writable | Reference to the Customer who will receive the invoice. | |
Invoice |
guid |
Fattura a nome del referente | filters on the platform, writable | Reference to the Contact person of the customer who will receive the invoice. | |
Invoice |
varchar2 |
Fattura intestata a: Nome e cognome del referente | writable | Name of the contact person of the customer who will receive the invoice. | |
Invoice |
varchar2 |
Fattura intestata a Nome | writable | Name of the customer who will receive the invoice. | |
Is |
char |
È un servizio straordinario | writable | Indicates whether the invoice has extra duty. | |
Journal |
varchar2 |
Journal | filters on the platform, writable | The journal code.Every invoice should be linked to a sales journal. | |
Journal |
varchar2 |
Descrizione del diario | writable | Description of Journal. | |
Modified |
datetime |
Modified | filters on the platform, writable | Last modified date. | |
Modified |
datetime |
Modificato (UTC) | writable | Last modified date in UTC. | |
Modifier |
guid |
Modifier | writable | User ID of modifier. | |
Modifier |
varchar2 |
Nome completo modificato | writable | Name of modifier. | |
Net |
double |
Importo netto Divisione Valuta | writable | Net amount in division currency of sales invoice. | |
Net |
double |
Importo netto in valuta estera | writable | Net amount in foreign currency of sales invoice. | |
Order |
datetime |
Data dell'ordine | writable | Order date. | |
Order |
int32 |
Numero dell'ordine | 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. | |
Ordered |
guid |
Ordinato da | filters on the platform, writable | Customer who ordered the invoice. | |
Ordered |
guid |
Ordinati per persona di contatto | filters on the platform, writable | Contact person of customer who ordered the invoice. | |
Ordered |
varchar2 |
Ordinati per nome e cognome della persona di contatto | writable | Name of contact person of customer who ordered the invoice. | |
Ordered |
varchar2 |
Ordinati per nome | writable | Name of customer who ordered the invoice. | |
Payment |
varchar2 |
Condizione di pagamento | writable | The payment condition used for due date and discount calculation. | |
Payment |
varchar2 |
Descrizione delle condizioni di pagamento | writable | Description of PaymentCondition. | |
Payment |
varchar2 |
Riferimento di pagamento | filters on the platform, writable | Payment reference for sales invoice. | |
Remarks |
varchar2 |
Remarks | writable | Extra remarks. | |
Sales |
guid |
Canale di vendita | filtri sulla piattaforma | ||
Sales |
varchar2 |
Codice del canale di vendita | |||
Sales |
varchar2 |
Descrizione del canale di vendita | |||
Salesperson |
guid |
proprietario | filters on the platform, writable | Sales representative. | |
Salesperson |
varchar2 |
Nome completo del venditore | writable | Name of sales representative. | |
Selection |
guid |
Codice di selezione | filters on the platform, writable | ID of selection code.Only supported by the Advanced and Premium editions for Wholesale & Distribution and Manufacturing. | |
Selection |
varchar2 |
Codice di selezione | writable | Code of selection code. | |
Selection |
varchar2 |
itgen_eol_selectioncodedescription | writable | Description of selection code. | |
Shipping |
guid |
Metodo di spedizione | filters on the platform, writable | ||
Shipping |
varchar2 |
Codice del metodo di spedizione | filtri sulla piattaforma | ||
Shipping |
varchar2 |
Descrizione del metodo di spedizione | filtri sulla piattaforma | ||
Starter |
int16 |
Stato della fattura di vendita (versione base) | writable | Starter Sales invoice status (for starter functionality). | |
Starter |
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. | |
Status |
varchar2 |
Descrizione dello stato | writable | Description of Status. | |
Tax |
guid |
Calendario fiscale | filters on the platform, writable | Obsolete. | |
Tax |
varchar2 |
Codice della tabella fiscale | writable | Obsolete. | |
Tax |
varchar2 |
Descrizione delle fasce fiscali | writable | Obsolete. | |
Type |
int32 |
Type | filters on the platform, writable | Indicates the type of invoice Values: 8020 - Sales invoices, 8021 - Sales credit note. | |
Type |
varchar2 |
Descrizione del tipo | writable | Description of the type. | |
VAT |
double |
Importo IVA Divisione Valuta | writable | Total VAT amount in the default currency of the company. | |
VAT |
double |
Importo IVA in valuta estera | 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. | |
Withholding |
double |
Importo della ritenuta alla fonte (valuta estera) | writable | Withholding tax amount applied to sales invoice. | |
Withholding |
double |
Importo base della ritenuta alla fonte | writable | Withholding tax base amount to calculate withholding amount. | |
Withholding |
double |
Ritenuta alla fonte (%) | writable | Withholding tax percentage applied to sales invoice. | |
Your |
varchar2 |
Il tuo Riferimento | filters on the platform, writable | The invoice number of the customer. |
Chiavi
| Key | Column | Si riferisce a | Kind | Description |
|---|---|---|---|---|
Sales |
Creator |
Users. |
Key | |
Sales |
Currency |
Currencies.Code |
Key | |
Sales |
Deliver |
Addresses.ID |
Key | |
Sales |
Deliver |
Contacts.ID |
Key | |
Sales |
Deliver |
Accounts.ID |
Key | |
Sales |
Document |
Documents.ID |
Key | |
Sales |
Invoice |
Contacts.ID |
Key | |
Sales |
Invoice |
Accounts.ID |
Key | |
Sales |
Journal |
Journals.Code |
Key | |
Sales |
Modifier |
Users. |
Key | |
Sales |
Ordered |
Contacts.ID |
Key | |
Sales |
Ordered |
Accounts.ID |
Key | |
Sales |
Salesperson |
Users. |
Key | |
Sales |
Selection |
SelectionCodes.ID |
Key | |
Sales |
Warehouse |
Warehouses.ID |
Key |
Riferito da
- SalesInvoiceLines
InvoiceID(Key) - SalesInvoiceLinesBulk
InvoiceID(Key)
Note di rilascio
Cosa è cambiato, versione per versione, nelle tabelle, nelle colonne, negli attributi e nelle funzionalità del driver: