---
title: "PurchaseInvoices (Exact Online)"
description: "Purchase Invoices"
language: es
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/es/datamodels/exactonline/ExactOnlineREST.Purchase.PurchaseInvoices
original: https://documentation.invantive.eu/en/datamodels/exactonline/ExactOnlineREST.Purchase.PurchaseInvoices
updated: 2026-11-17T21:15:56Z
license: https://documentation.invantive.eu/es/
---

# PurchaseInvoices: Exact Online Purchase Invoices

`insert` `update` `delete` `per partition` `REST`

- Catálogo: `ExactOnlineREST`
- Esquema: `Purchase`
- Llaves Primarias: `ID`
- Label: Purchase 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`.

## Fuente de la API

- Punto final: `/api/v1/{division}/purchase/PurchaseInvoices`
- Metadatos: `/api/v1/{division}/purchase/$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 `PurchaseInvoices`. 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 |
|---|---|---|:---:|---|---|
| `Amount` | `double` | Amount | [x] | writable | The amount including VAT in the currency of the invoice. |
| `AmountDC` | `double` | Importe División Moneda | [ ] | filters on the platform, writable |  |
| `AmountDiscount` | `double` | Importe del descuento | [ ] | filters on the platform, writable |  |
| `AmountDiscountExclVat` | `double` | Importe del descuento sin IVA | [ ] | filtros de la plataforma |  |
| `AmountFCExclVat` | `double` | Importe en moneda extranjera, sin IVA | [ ] | filtros de la plataforma |  |
| `ContactPerson` | `guid` | Persona de Contacto | [ ] | filters on the platform, writable | Guid identifying the contact person of the supplier. |
| `Currency` | `varchar2(30)` | Currency | [ ] | writable | The code of the currency of the invoiced amount. |
| `Description` | `varchar2` | Description | [ ] | writable | The description of the invoice. |
| `Discount` | `double` | Discount | [ ] | filtros de la plataforma |  |
| `Division` | `int32` | ID de la Empresa | [x] |  | Unique number of the Exact Online division. |
| `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 | [x] | 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 | [x] | writable | Label of the Exact Online division. |
| `DivisionName` | `varchar2(50)` | Nombre de la Adminisración | [x] | writable | Name of the Exact Online division. |
| `DivisionOwnerCompanyName` | `varchar2(50)` | Nombre del titular de la suscripción | [x] | 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 | [x] | 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 | [x] | writable | Short name of the Exact Online division. |
| `Document` | `guid` | Document | [ ] | filters on the platform, writable | Guid identifying a document that is attached to the invoice. |
| `DueDate` | `datetime` | Fecha de Vencimiento | [ ] | writable | The date before which the invoice has to be paid. |
| `EntryNumber` | `int32` | Número de Entrada | [ ] | filters on the platform, writable | The unique number of the purchase invoice.The entry number is based on a setting in the purchase journal and incremented for each new purchase invoice. |
| `ExchangeRate` | `double` | Tasa de Cambio | [ ] | writable | The exchange rate between the invoice currency and the default currency of the division. |
| `FinancialPeriod` | `int16` | Período Financiero | [ ] | writable | Financial period. |
| `FinancialYear` | `int16` | Año Económico | [ ] | writable | The financial year in which the invoice is entered. |
| `ID` | `guid` | ID | [x] | filters on the platform, writable | A GUID that is the unique identifier of the purchase invoice. |
| `InvoiceDate` | `datetime` | Fecha de la Factura | [ ] | filters on the platform, writable | The date on which the supplier entered the invoice. |
| `Journal` | `varchar2(20)` | Journal | [ ] | filters on the platform, writable | The code of the purchase journal in which the invoice is entered. |
| `Modified` | `datetime` | Modified | [x] | filters on the platform, writable | Last modified date. |
| `ModifiedUtc` | `datetime` | Modificado (UTC) | [ ] | writable | Last modified date in UTC. |
| `PaymentCondition` | `varchar2(2)` | Condición de Pago | [ ] | filters on the platform, writable | The code of the payment condition that is used to calculate the due date and discount. |
| `PaymentReference` | `varchar2(60)` | Referencia de Pago | [ ] | writable | Unique reference to match payments and invoices. |
| `Remarks` | `varchar2` | Remarks | [ ] | writable | The user can enter remarks related to the invoice here. |
| `Source` | `int16` | Source | [x] | writable | Indicates the origin of the invoice.1 Manual entry, 3 Purchase invoice, 4 Purchase order, 5 Web service. |
| `Status` | `int16` | Status | [x] | writable | El estado de la factura.10 Draft, 20 Open, 50 Processed. |
| `Supplier` | `guid` | Supplier | [ ] | filters on the platform, writable | Guid that identifies the supplier. |
| `Type` | `int16` | Type | [x] | writable | Indicates the type of the purchase invoice.8030 Direct purchase invoice, 8031 Direct purchase invoice (Credit), 8033 Purchase invoice, 8034 Purchase invoice (Credit). |
| `VATAmount` | `double` | Cantidad VAT | [ ] | writable | The total VAT amount of the purchase invoice. |
| `Warehouse` | `guid` | Warehouse | [ ] | filters on the platform, writable | Guid that identifies the warehouse that will receive the purchased goods.This is mandatory for creating a direct purchase invoice. |
| `YourRef` | `varchar2(60)` | Su Referencia | [ ] | writable | The invoice number provided by the supplier. |

## Teclas

| Key | Column | Se refiere a | Kind | Description |
|---|---|---|---|---|
| `PurchaseInvoices_ContactPerson_Contacts_fk` | `ContactPerson` | [Contacts](ExactOnlineREST.CRM.Contacts)`.ID` | Key |  |
| `PurchaseInvoices_Currency_Currencies_fk` | `Currency` | [Currencies](ExactOnlineREST.General.Currencies)`.Code` | Key |  |
| `PurchaseInvoices_Document_Documents_fk` | `Document` | [Documents](ExactOnlineREST.Documents.Documents)`.ID` | Key |  |
| `PurchaseInvoices_Journal_Journals_fk` | `Journal` | [Journals](ExactOnlineREST.Financial.Journals)`.Code` | Key |  |
| `PurchaseInvoices_Supplier_Accounts_fk` | `Supplier` | [Accounts](ExactOnlineREST.CRM.Accounts)`.ID` | Key |  |
| `PurchaseInvoices_Warehouse_Warehouses_fk` | `Warehouse` | [Warehouses](ExactOnlineREST.Inventory.Warehouses)`.ID` | Key |  |

## Referenciado por

- [PurchaseInvoiceLines](ExactOnlineREST.Purchase.PurchaseInvoiceLines) `InvoiceID` (Key)


## Notas de la Versión

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

- [Exact Online](/es/release-notes/drivers?driver=exact-online)
