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

SalesInvoiceLines: Exact Online Sales Invoice Lines

insert update delete per partition webhook REST

  • Catálogo: ExactOnlineREST
  • Esquema: SalesInvoice
  • Llaves Primarias: ID
  • Label: Sales Invoice Lines

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 en InvoiceID.

Fuente de la API

  • Punto final: /api/v1/{division}/salesinvoice/SalesInvoiceLines
  • 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 SalesInvoiceLines. 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 Amount in the default currency of the company.For almost all lines this can be calculated like: AmountDC = AmountFC * RateFC.
AmountFC double Cantidad Moneda Extranjera writable For normal lines it's the amount excluding VAT.
CostCenter varchar2(8) Centro de Costo filters on the platform, writable Reference to Cost center.
CostCenterDescription varchar2(60) Descripción del Centro de Costo writable Description of CostCenter.
CostUnit varchar2(8) Unidad de Costo filters on the platform, writable Reference to Cost unit.
CostUnitDescription varchar2(60) Descripción de la Unidad de Costo writable Description of CostUnit.
CustomField varchar2 Campo personalizado writable
CustomerItemCode varchar2 Código de artículo del cliente Code the customer uses for this item.
DeliveryDate datetime Fecha de Entrega 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) 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.
Employee guid Employee filters on the platform, writable Link to Employee originating from time and cost transactions.
EmployeeFullName varchar2(240) Nombre completo del empleado writable Name of employee.
EndTime datetime Hora de finalización writable EndTime is used to store the last date of a period.EndTime is used in combination with StartTime.
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.
ExtraDutyPercentage double Recargo (%) writable Extra duty percentage.
GLAccount guid Cuenta de Contabilidad General 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) Descripción de Cuenta del Libro Mayor writable Description of the G/L account.
ID guid ID filters on the platform, writable Primary key.
InvoiceID guid ID de la Factura 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) Código del Artículo writable Item code.
ItemDescription varchar2(255) Descripción del Elemento writable Description of Item.
LineNumber int32 Número de Línea filters on the platform, writable Indicates the sequence of the lines within one invoice.
NetAmountDC double Importe neto División Moneda writable Net amount in division currency of sales invoice line.
NetAmountFC double Importe neto en moneda extranjera writable Net amount in foreign currency of sales invoice line.
NetPrice double Precio Neto writable Net price of the sales invoice line.
Notes varchar2 Notes writable Extra notes.
Pricelist guid Lista de Precios filters on the platform, writable Price list.
PricelistDescription varchar2 Descripción de la Lista de Precios 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) Descripción del Proyecto writable Description of Project.
ProjectWBS guid Estructura de división del proyecto (WBS) writable WBS linked to the sales invoice.
ProjectWBSDescription varchar2 Descripción de la estructura de división del proyecto (WBS) 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 Orden de Venta filters on the platform, writable Identifies the sales order this invoice line is based on.
SalesOrderLine guid Línea de Orden de Ventas filters on the platform, writable Identifies the sales order line this sales invoice line is based on.
SalesOrderLineNumber int32 Número de línea del pedido de venta writable Then line number of the sales order line on which this invoice line is based on.
SalesOrderNumber int32 Número de Orden de Venta writable The order number of the sales order on which this invoice line is based on.
StartTime datetime Hora de Inicio 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) Descripción de Suscripción writable Description of subscription line.
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.
UnitCode varchar2(8) Código de la Unidad writable Code of Unit.
UnitDescription varchar2(60) Descripción de la Unidad writable Description of Unit.
UnitPrice double Precio de la Unidad writable Price per unit.
VATAmountDC double Importe del IVA, división, Moneda writable VAT amount in the default currency of the company.
VATAmountFC double Moneda Extranjera de la Cantidad VAT writable VAT amount in the currency of the transaction.
VATCode varchar2(3) Código VAT filters on the platform, writable The VAT code that is used when the invoice is registered.
VATCodeDescription varchar2(60) Descripción del Código VAT writable Description of VAT code.
VATPercentage double Porcentaje VAT 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.

Teclas

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

Notas de la Versión

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