invantive documentation
Foros de Soporte de InvantiveIniciar Sesión / Registrarse

SalesInvoices: Exact Online Sales Invoices

insert update delete per partition webhook REST

  • Catálogo: ExactOnlineREST
  • Esquema: SalesInvoice
  • Llaves Primarias: InvoiceID
  • Label: Sales Invoices

Los datos de esta tabla están divididos por el valor de la columna Division.

Permite recuperar y modificar datos utilizando insert, update y delete.

Los cambios llegan a través del tema de webhook SalesInvoices.

Fuente de la API

  • Punto final: /api/v1/{division}/salesinvoice/SalesInvoices
  • Metadatos: /api/v1/{division}/salesinvoice/$metadata

Características de rendimiento

Characteristic Value
Latencia media de acceso (ms) 5
Número de filas escaneadas por minuto 7,200
Número de filas de queries puntuales por minuto 300
Escribir filas por minuto 300

El resultado se puede almacenar en la Caché del cliente.

Columnas de la Tabla

A continuación se muestran las columnas de la tabla SalesInvoices. Cada columna tiene un tipo de datos SQL. Se debe proporcionar un nuevo valor no nulo para cada columna requerida en todo momento durante la inserción y la actualización.

Name Tipo de Datos Label Required Marks Documentation
AmountDC double Importe División Moneda writable For the header lines (LineNumber = 0) of an entry this is the SUM(AmountDC) of all lines.
AmountDiscount double Importe del descuento writable Discount amount in the default currency of the company.
AmountDiscountExclVat double Importe del descuento sin IVA writable Discount amount exclude VAT in the default currency of the company.
AmountFC double Cantidad Moneda Extranjera writable For the header this is the sum of all lines, including VAT.
AmountFCExclVat double Importe en moneda extranjera, sin IVA 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 Creado writable Creation date in UTC.
Creator guid Creator writable User ID of creator.
CreatorFullName varchar2(240) Nombre Completo del Creador writable Name of creator.
Currency varchar2(30) Currency writable Currency for the invoice.Default this is the currency of the administration.
DeliverTo guid Entregar a filters on the platform, writable Delivery account for invoice.
DeliverToAddress guid Entregar en la dirección filters on the platform, writable Address of delivery as per invoice delivery account.
DeliverToContactPerson guid Entregar a la persona de contacto filters on the platform, writable Delivery account person for invoice.
DeliverToContactPersonFullName varchar2(240) Entregar a: Nombre y apellidos de la persona de contacto writable Name of delivery account's contact person as per invoice.
DeliverToName varchar2 Entregar a Nombre 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 Tipo de descuento writable
Division int32 Division Division code.
DivisionCompanyCoCNumber varchar2(60) Número de la Cámara de Comercio de la División writable Chamber of commerce number of the Exact Online division.
DivisionCompanyIBANNumber varchar2(50) Número IBAN de la división writable IBAN number of the Exact Online division.
DivisionCompanyName varchar2(50) División: Nombre de la empresa writable Company name of the Exact Online division.
DivisionCompanyRSINNumber varchar2(9) Número de la división RSIN writable RSIN number of the Exact Online division.
DivisionCompanyVATNumber varchar2(35) Número de IVA de la división writable VAT number of the Exact Online division.
DivisionCompanyWageTaxNumber varchar2(60) Número de identificación fiscal de la división en materia de impuestos sobre los salarios writable Wage tax number of the Exact Online division.
DivisionLabel varchar2(128) Etiqueta de división writable Label of the Exact Online division.
DivisionName varchar2(50) Nombre de la Adminisración writable Name of the Exact Online division.
DivisionOwnerCompanyName varchar2(50) Nombre del titular de la suscripción writable Name of the customer account in division 1 owning the Exact Online subscription to which this division belongs.
DivisionOwnerCompanyNumber varchar2(18) Número de titular de la suscripción writable Number of the customer account in division 1 owning the Exact Online subscription to which this division belongs.
DivisionShortName int64 Nombre abreviado de la división 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 Número de Documento writable Number of the document.
DocumentSubject varchar2(256) Tema del Documento writable Subject of the document.
DueDate datetime Fecha de Vencimiento writable The due date for payments.This date is calculated based on the EntryDate and the Paymentcondition.
ExtraDutyAmountFC double Importe del recargo por monedas extranjeras 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 Cuenta G Importe de moneda extranjera 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 Dirección según los Incoterms filters on the platform, writable
IncotermCode varchar2 Código Incoterm filters on the platform, writable
IncotermVersion int16 Versión de Incoterm filters on the platform, writable
InvoiceDate datetime Fecha de la Factura 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 de la Factura filters on the platform, writable Primary key.
InvoiceNumber int32 Número de factura 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 Factura para filters on the platform, writable Reference to the Customer who will receive the invoice.
InvoiceToContactPerson guid Factura a nombre de la persona de contacto filters on the platform, writable Reference to the Contact person of the customer who will receive the invoice.
InvoiceToContactPersonFullName varchar2(240) Nombre y apellidos completos de la persona de contacto a la que se debe enviar la factura writable Name of the contact person of the customer who will receive the invoice.
InvoiceToName varchar2 Factura al Nombre writable Name of the customer who will receive the invoice.
IsExtraDuty char ¿Son horas extras? 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) Descripción del Diario writable Description of Journal.
Modified datetime Modified filters on the platform, writable Last modified date.
ModifiedUtc datetime Modificado (UTC) writable Last modified date in UTC.
Modifier guid Modifier writable User ID of modifier.
ModifierFullName varchar2(240) Nombre completo modificado writable Name of modifier.
NetAmountDC double Importe neto División Moneda writable Net amount in division currency of sales invoice.
NetAmountFC double Importe neto en moneda extranjera writable Net amount in foreign currency of sales invoice.
OrderDate datetime Fecha de la Orden writable Order date.
OrderNumber int32 Número de la Orden 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 Pedido por filters on the platform, writable Customer who ordered the invoice.
OrderedByContactPerson guid Ordenado por persona de contacto filters on the platform, writable Contact person of customer who ordered the invoice.
OrderedByContactPersonFullName varchar2(240) Ordenado por nombre completo de la persona de contacto writable Name of contact person of customer who ordered the invoice.
OrderedByName varchar2(50) Ordenados por Nombre writable Name of customer who ordered the invoice.
PaymentCondition varchar2(2) Condición de Pago writable The payment condition used for due date and discount calculation.
PaymentConditionDescription varchar2(60) Descripción de la Condición de Pago writable Description of PaymentCondition.
PaymentReference varchar2(60) Referencia de Pago filters on the platform, writable Payment reference for sales invoice.
Remarks varchar2 Remarks writable Extra remarks.
SalesChannel guid Canal de Ventas filtros de la plataforma
SalesChannelCode varchar2 Código del canal de ventas
SalesChannelDescription varchar2 Descripción del canal de ventas
Salesperson guid Vendedor filters on the platform, writable Sales representative.
SalespersonFullName varchar2(240) Nombre Completo del Vendedor writable Name of sales representative.
SelectionCode guid Código de selección filters on the platform, writable ID of selection code.Only supported by the Advanced and Premium editions for Wholesale & Distribution and Manufacturing.
SelectionCodeCode varchar2 Código de selección writable Code of selection code.
SelectionCodeDescription varchar2 itgen_eol_selectioncodedescription writable Description of selection code.
ShippingMethod guid Modo de Envío filters on the platform, writable
ShippingMethodCode varchar2 Código del método de envío filtros de la plataforma
ShippingMethodDescription varchar2 Descripción del método de envío filtros de la plataforma
StarterSalesInvoiceStatus int16 Estado de la factura de venta (Starter) 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 Descripción del Estado writable Description of Status.
TaxSchedule guid Calendario fiscal filters on the platform, writable Obsolete.
TaxScheduleCode varchar2 Código del baremo fiscal writable Obsolete.
TaxScheduleDescription varchar2 Descripción del calendario fiscal 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) Descripción del Tipo writable Description of the type.
VATAmountDC double Importe del IVA, división, Moneda writable Total VAT amount in the default currency of the company.
VATAmountFC double Moneda Extranjera de la Cantidad VAT 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 Importe de la retención fiscal (moneda extranjera) writable Withholding tax amount applied to sales invoice.
WithholdingTaxBaseAmount double Importe base de la retención en origen writable Withholding tax base amount to calculate withholding amount.
WithholdingTaxPercentage double Retención fiscal (%) writable Withholding tax percentage applied to sales invoice.
YourRef varchar2(60) Su Referencia filters on the platform, writable The invoice number of the customer.

Teclas

Key Column Se refiere a 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

Referenciado por

Notas de la Versión

Cambios introducidos en cada versión en las tablas, columnas, atributos y capacidades del controlador: