@vitrina/api 17.84.0 → 17.85.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.cts +56 -17
- package/dist/index.d.ts +56 -17
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -43804,6 +43804,9 @@ interface paths {
|
|
|
43804
43804
|
* "tax_treatment": "no_gravado",
|
|
43805
43805
|
* "status": "issued",
|
|
43806
43806
|
* "issued_at": "2026-09-12T10:15:00.000Z",
|
|
43807
|
+
* "notes": null,
|
|
43808
|
+
* "forma_de_pago": "Transferencia a la cuenta del vendedor",
|
|
43809
|
+
* "observaciones": "Se entrega con dos llaves.",
|
|
43807
43810
|
* "corrected_at": null,
|
|
43808
43811
|
* "corrected_by": null,
|
|
43809
43812
|
* "voided_at": null,
|
|
@@ -43887,11 +43890,15 @@ interface paths {
|
|
|
43887
43890
|
* Issue a nota de compra
|
|
43888
43891
|
* @description Issues the document and allocates its folio (`P-1`, `P-2`, …) inside the inserting transaction, so a failed issue RELEASES the number rather than burning it out of a legally accountable series.
|
|
43889
43892
|
*
|
|
43890
|
-
* **
|
|
43893
|
+
* **The Veekls-shape form (app#7721, ADR 0162): a car and a price are enough.** `{ net_clp, acquisition: { vehicle_id } }` issues the note and records the car's Costo de compra. Nothing about tax is required: `tax_treatment` defaults to the car's own IVA setting (`exento` with no car), and the acquisition's `acquired_on` (the note's day), `tax_treatment`, `borne_by` (`automotora`) and `generates_fiscal_credit` (false) are filled by the server. `invoice_includes_iva: true` is the «Compra con factura (incluye IVA)» tick: `net_clp` then includes IVA, the note stores it without IVA plus the IVA apart (`afecto`), and the car's cost carries the same split with fiscal credit; it wins over every stated tax field. «Descuentos» are `acquisition.retentions[]` as `{ description, net_clp }`: without `category_id` the line is filed under the workspace's «Descuentos de compra» cost category (created on first use), `tax_treatment` defaults to `no_gravado`. Total a pagar = `net_clp` (+ `tax_clp` under the tick) minus the Descuentos; Descuentos above the price are a **400** with `error.details.code` `discounts_exceed_price`. `forma_de_pago` (one line) and `observaciones` are free text that print; `notes` stays internal. Requests in the older shape (header `tax_treatment`, a full acquisition block, retention categories) keep working.
|
|
43894
|
+
*
|
|
43895
|
+
* **Refusals the form branches on** (`error.details.code`, 409): `vehicle_has_documented_cost` (the car already has a cost from another document; `details` names it: `purchase_note_id`, `sale_note_id` or `consignment_contract_id`) and `vehicle_sold_by_other_seller` (a live nota de venta names another seller; `details.sale_note_id`, `details.sale_note_display_id`). A car with a typed (bare) Costo de compra is NOT refused: the note takes that cost over.
|
|
43896
|
+
*
|
|
43897
|
+
* **Money is whole CLP pesos** (`bigint`, never minor units, never decimals) and the triple is `net_clp` + `tax_clp` + `tax_treatment`, on the header AND again per line. Omit `tax_clp` to record "not recorded"; pass `0` to record "no tax" — ADR 0058 §2 makes those two different claims and nothing collapses them. A LINE still states its `tax_treatment`.
|
|
43891
43898
|
*
|
|
43892
43899
|
* **`lines` are `document_line` rows**, written in the SAME transaction as the document, so a folio is never spent on a document whose breakdown never arrived. The array order IS the document order; positions are assigned by the database and cannot be supplied. Omit `lines` for a document with a header amount and no breakdown, which is complete and ordinary. Whether the lines add up to the header is deliberately NOT enforced.
|
|
43893
43900
|
*
|
|
43894
|
-
*
|
|
43901
|
+
* `acquisition` attaches the car in the same transaction; without it the document is issued alone, and a unit can be attached later on `/vehicle-acquisitions` (one nota de compra may acquire several units).
|
|
43895
43902
|
*
|
|
43896
43903
|
* `seller_contact_id` must belong to the calling workspace; a foreign id and a nonexistent one answer identically (404), deliberately, because a difference between them is an existence oracle. Unknown body keys are a **400** — `tax` is one character from `tax_clp`, and silently discarding it would record "no IVA was entered" for a caller who entered it. Answers 201.
|
|
43897
43904
|
*/
|
|
@@ -43911,26 +43918,40 @@ interface paths {
|
|
|
43911
43918
|
* @example {
|
|
43912
43919
|
* "seller_contact_id": "22222222-0000-4000-8000-000000000003",
|
|
43913
43920
|
* "net_clp": 6200000,
|
|
43914
|
-
* "
|
|
43915
|
-
* "
|
|
43916
|
-
*
|
|
43917
|
-
*
|
|
43918
|
-
*
|
|
43919
|
-
*
|
|
43920
|
-
*
|
|
43921
|
+
* "forma_de_pago": "Transferencia a la cuenta del vendedor",
|
|
43922
|
+
* "observaciones": "Se entrega con dos llaves.",
|
|
43923
|
+
* "acquisition": {
|
|
43924
|
+
* "vehicle_id": "e1e1e1e1-0000-4000-8000-000000000001",
|
|
43925
|
+
* "retentions": [
|
|
43926
|
+
* {
|
|
43927
|
+
* "description": "Multas",
|
|
43928
|
+
* "net_clp": 180000
|
|
43929
|
+
* }
|
|
43930
|
+
* ]
|
|
43931
|
+
* }
|
|
43921
43932
|
* }
|
|
43922
43933
|
*/
|
|
43923
43934
|
"application/json": {
|
|
43924
43935
|
/** Format: uuid */
|
|
43925
43936
|
seller_contact_id?: string | null;
|
|
43937
|
+
/** @description Precio de compra en pesos. Con `invoice_includes_iva: true` es el monto escrito con IVA incluido: se guarda sin IVA en `net_clp` y el IVA en `tax_clp`. */
|
|
43926
43938
|
net_clp: number;
|
|
43927
43939
|
tax_clp?: number | null;
|
|
43928
|
-
/**
|
|
43929
|
-
|
|
43940
|
+
/**
|
|
43941
|
+
* @description Opcional. Por defecto `afecto` con `invoice_includes_iva`; si no, el régimen de IVA del auto de `acquisition` (el del auto, si no el de la automotora, si no exento); sin auto, exento.
|
|
43942
|
+
* @enum {string}
|
|
43943
|
+
*/
|
|
43944
|
+
tax_treatment?: "afecto" | "exento" | "no_gravado" | "pass_through";
|
|
43945
|
+
/** @description «Compra con factura (incluye IVA)». Opcional, por defecto false. Con true `net_clp` incluye IVA: la nota guarda el precio sin IVA y el IVA aparte, queda afecta, y el costo de compra del auto queda sin IVA y con crédito fiscal. Manda sobre `tax_clp`, `tax_treatment` y los campos de impuesto de `acquisition`. */
|
|
43946
|
+
invoice_includes_iva?: boolean;
|
|
43930
43947
|
/** Format: date-time */
|
|
43931
43948
|
issued_at?: string | null;
|
|
43932
43949
|
/** @description Internal free-text notes. Never printed on the document. Blank clears them. */
|
|
43933
43950
|
notes?: string | null;
|
|
43951
|
+
/** @description «Forma de pago», una línea libre que se imprime en la nota de compra (hasta 500 caracteres). Vacío o null la borra. */
|
|
43952
|
+
forma_de_pago?: string | null;
|
|
43953
|
+
/** @description Observaciones que se imprimen en la nota de compra (hasta 2000 caracteres). Vacío o null las borra. No son las notas internas (`notes`). */
|
|
43954
|
+
observaciones?: string | null;
|
|
43934
43955
|
lines?: {
|
|
43935
43956
|
description: string;
|
|
43936
43957
|
net_clp: number;
|
|
@@ -43941,20 +43962,22 @@ interface paths {
|
|
|
43941
43962
|
acquisition?: {
|
|
43942
43963
|
/** Format: uuid */
|
|
43943
43964
|
vehicle_id: string;
|
|
43944
|
-
acquired_on
|
|
43965
|
+
acquired_on?: string;
|
|
43945
43966
|
tax_clp?: number | null;
|
|
43946
43967
|
/** @enum {string} */
|
|
43947
|
-
tax_treatment
|
|
43968
|
+
tax_treatment?: "afecto" | "exento" | "no_gravado" | "pass_through";
|
|
43948
43969
|
/** @enum {string} */
|
|
43949
|
-
borne_by
|
|
43950
|
-
generates_fiscal_credit
|
|
43970
|
+
borne_by?: "automotora" | "cliente";
|
|
43971
|
+
generates_fiscal_credit?: boolean;
|
|
43951
43972
|
retentions?: {
|
|
43973
|
+
/** @description Qué se descuenta («Multas», «Prenda», «Permiso de circulación»), hasta 200 caracteres. Se imprime en la nota de compra. */
|
|
43974
|
+
description?: string | null;
|
|
43952
43975
|
/** Format: uuid */
|
|
43953
|
-
category_id
|
|
43976
|
+
category_id?: string;
|
|
43954
43977
|
net_clp: number;
|
|
43955
43978
|
tax_clp?: number | null;
|
|
43956
43979
|
/** @enum {string} */
|
|
43957
|
-
tax_treatment
|
|
43980
|
+
tax_treatment?: "afecto" | "exento" | "no_gravado" | "pass_through";
|
|
43958
43981
|
incurred_on?: string | null;
|
|
43959
43982
|
/** Format: uuid */
|
|
43960
43983
|
supplier_contact_id?: string | null;
|
|
@@ -43984,6 +44007,9 @@ interface paths {
|
|
|
43984
44007
|
* "tax_treatment": "no_gravado",
|
|
43985
44008
|
* "status": "issued",
|
|
43986
44009
|
* "issued_at": "2026-09-12T10:15:00.000Z",
|
|
44010
|
+
* "notes": null,
|
|
44011
|
+
* "forma_de_pago": "Transferencia a la cuenta del vendedor",
|
|
44012
|
+
* "observaciones": "Se entrega con dos llaves.",
|
|
43987
44013
|
* "corrected_at": null,
|
|
43988
44014
|
* "corrected_by": null,
|
|
43989
44015
|
* "voided_at": null,
|
|
@@ -44108,6 +44134,9 @@ interface paths {
|
|
|
44108
44134
|
* "tax_treatment": "no_gravado",
|
|
44109
44135
|
* "status": "issued",
|
|
44110
44136
|
* "issued_at": "2026-09-12T10:15:00.000Z",
|
|
44137
|
+
* "notes": null,
|
|
44138
|
+
* "forma_de_pago": "Transferencia a la cuenta del vendedor",
|
|
44139
|
+
* "observaciones": "Se entrega con dos llaves.",
|
|
44111
44140
|
* "corrected_at": null,
|
|
44112
44141
|
* "corrected_by": null,
|
|
44113
44142
|
* "voided_at": null,
|
|
@@ -44224,6 +44253,10 @@ interface paths {
|
|
|
44224
44253
|
* }
|
|
44225
44254
|
*/
|
|
44226
44255
|
"application/json": {
|
|
44256
|
+
/** @description «Forma de pago», una línea libre que se imprime en la nota de compra (hasta 500 caracteres). Vacío o null la borra. */
|
|
44257
|
+
forma_de_pago?: string | null;
|
|
44258
|
+
/** @description Observaciones que se imprimen en la nota de compra (hasta 2000 caracteres). Vacío o null las borra. No son las notas internas (`notes`). */
|
|
44259
|
+
observaciones?: string | null;
|
|
44227
44260
|
/** Format: uuid */
|
|
44228
44261
|
seller_contact_id?: string | null;
|
|
44229
44262
|
net_clp?: number;
|
|
@@ -44264,6 +44297,9 @@ interface paths {
|
|
|
44264
44297
|
* "tax_treatment": "no_gravado",
|
|
44265
44298
|
* "status": "issued",
|
|
44266
44299
|
* "issued_at": "2026-09-12T10:15:00.000Z",
|
|
44300
|
+
* "notes": null,
|
|
44301
|
+
* "forma_de_pago": "Transferencia a la cuenta del vendedor",
|
|
44302
|
+
* "observaciones": "Se entrega con dos llaves.",
|
|
44267
44303
|
* "corrected_at": "2026-09-13T09:00:00.000Z",
|
|
44268
44304
|
* "corrected_by": "11111111-0000-4000-8000-000000000001",
|
|
44269
44305
|
* "voided_at": null,
|
|
@@ -44498,6 +44534,9 @@ interface paths {
|
|
|
44498
44534
|
* "tax_treatment": "no_gravado",
|
|
44499
44535
|
* "status": "voided",
|
|
44500
44536
|
* "issued_at": "2026-09-12T10:15:00.000Z",
|
|
44537
|
+
* "notes": null,
|
|
44538
|
+
* "forma_de_pago": "Transferencia a la cuenta del vendedor",
|
|
44539
|
+
* "observaciones": "Se entrega con dos llaves.",
|
|
44501
44540
|
* "corrected_at": null,
|
|
44502
44541
|
* "corrected_by": null,
|
|
44503
44542
|
* "voided_at": "2026-09-14T11:30:00.000Z",
|
package/dist/index.d.ts
CHANGED
|
@@ -43804,6 +43804,9 @@ interface paths {
|
|
|
43804
43804
|
* "tax_treatment": "no_gravado",
|
|
43805
43805
|
* "status": "issued",
|
|
43806
43806
|
* "issued_at": "2026-09-12T10:15:00.000Z",
|
|
43807
|
+
* "notes": null,
|
|
43808
|
+
* "forma_de_pago": "Transferencia a la cuenta del vendedor",
|
|
43809
|
+
* "observaciones": "Se entrega con dos llaves.",
|
|
43807
43810
|
* "corrected_at": null,
|
|
43808
43811
|
* "corrected_by": null,
|
|
43809
43812
|
* "voided_at": null,
|
|
@@ -43887,11 +43890,15 @@ interface paths {
|
|
|
43887
43890
|
* Issue a nota de compra
|
|
43888
43891
|
* @description Issues the document and allocates its folio (`P-1`, `P-2`, …) inside the inserting transaction, so a failed issue RELEASES the number rather than burning it out of a legally accountable series.
|
|
43889
43892
|
*
|
|
43890
|
-
* **
|
|
43893
|
+
* **The Veekls-shape form (app#7721, ADR 0162): a car and a price are enough.** `{ net_clp, acquisition: { vehicle_id } }` issues the note and records the car's Costo de compra. Nothing about tax is required: `tax_treatment` defaults to the car's own IVA setting (`exento` with no car), and the acquisition's `acquired_on` (the note's day), `tax_treatment`, `borne_by` (`automotora`) and `generates_fiscal_credit` (false) are filled by the server. `invoice_includes_iva: true` is the «Compra con factura (incluye IVA)» tick: `net_clp` then includes IVA, the note stores it without IVA plus the IVA apart (`afecto`), and the car's cost carries the same split with fiscal credit; it wins over every stated tax field. «Descuentos» are `acquisition.retentions[]` as `{ description, net_clp }`: without `category_id` the line is filed under the workspace's «Descuentos de compra» cost category (created on first use), `tax_treatment` defaults to `no_gravado`. Total a pagar = `net_clp` (+ `tax_clp` under the tick) minus the Descuentos; Descuentos above the price are a **400** with `error.details.code` `discounts_exceed_price`. `forma_de_pago` (one line) and `observaciones` are free text that print; `notes` stays internal. Requests in the older shape (header `tax_treatment`, a full acquisition block, retention categories) keep working.
|
|
43894
|
+
*
|
|
43895
|
+
* **Refusals the form branches on** (`error.details.code`, 409): `vehicle_has_documented_cost` (the car already has a cost from another document; `details` names it: `purchase_note_id`, `sale_note_id` or `consignment_contract_id`) and `vehicle_sold_by_other_seller` (a live nota de venta names another seller; `details.sale_note_id`, `details.sale_note_display_id`). A car with a typed (bare) Costo de compra is NOT refused: the note takes that cost over.
|
|
43896
|
+
*
|
|
43897
|
+
* **Money is whole CLP pesos** (`bigint`, never minor units, never decimals) and the triple is `net_clp` + `tax_clp` + `tax_treatment`, on the header AND again per line. Omit `tax_clp` to record "not recorded"; pass `0` to record "no tax" — ADR 0058 §2 makes those two different claims and nothing collapses them. A LINE still states its `tax_treatment`.
|
|
43891
43898
|
*
|
|
43892
43899
|
* **`lines` are `document_line` rows**, written in the SAME transaction as the document, so a folio is never spent on a document whose breakdown never arrived. The array order IS the document order; positions are assigned by the database and cannot be supplied. Omit `lines` for a document with a header amount and no breakdown, which is complete and ordinary. Whether the lines add up to the header is deliberately NOT enforced.
|
|
43893
43900
|
*
|
|
43894
|
-
*
|
|
43901
|
+
* `acquisition` attaches the car in the same transaction; without it the document is issued alone, and a unit can be attached later on `/vehicle-acquisitions` (one nota de compra may acquire several units).
|
|
43895
43902
|
*
|
|
43896
43903
|
* `seller_contact_id` must belong to the calling workspace; a foreign id and a nonexistent one answer identically (404), deliberately, because a difference between them is an existence oracle. Unknown body keys are a **400** — `tax` is one character from `tax_clp`, and silently discarding it would record "no IVA was entered" for a caller who entered it. Answers 201.
|
|
43897
43904
|
*/
|
|
@@ -43911,26 +43918,40 @@ interface paths {
|
|
|
43911
43918
|
* @example {
|
|
43912
43919
|
* "seller_contact_id": "22222222-0000-4000-8000-000000000003",
|
|
43913
43920
|
* "net_clp": 6200000,
|
|
43914
|
-
* "
|
|
43915
|
-
* "
|
|
43916
|
-
*
|
|
43917
|
-
*
|
|
43918
|
-
*
|
|
43919
|
-
*
|
|
43920
|
-
*
|
|
43921
|
+
* "forma_de_pago": "Transferencia a la cuenta del vendedor",
|
|
43922
|
+
* "observaciones": "Se entrega con dos llaves.",
|
|
43923
|
+
* "acquisition": {
|
|
43924
|
+
* "vehicle_id": "e1e1e1e1-0000-4000-8000-000000000001",
|
|
43925
|
+
* "retentions": [
|
|
43926
|
+
* {
|
|
43927
|
+
* "description": "Multas",
|
|
43928
|
+
* "net_clp": 180000
|
|
43929
|
+
* }
|
|
43930
|
+
* ]
|
|
43931
|
+
* }
|
|
43921
43932
|
* }
|
|
43922
43933
|
*/
|
|
43923
43934
|
"application/json": {
|
|
43924
43935
|
/** Format: uuid */
|
|
43925
43936
|
seller_contact_id?: string | null;
|
|
43937
|
+
/** @description Precio de compra en pesos. Con `invoice_includes_iva: true` es el monto escrito con IVA incluido: se guarda sin IVA en `net_clp` y el IVA en `tax_clp`. */
|
|
43926
43938
|
net_clp: number;
|
|
43927
43939
|
tax_clp?: number | null;
|
|
43928
|
-
/**
|
|
43929
|
-
|
|
43940
|
+
/**
|
|
43941
|
+
* @description Opcional. Por defecto `afecto` con `invoice_includes_iva`; si no, el régimen de IVA del auto de `acquisition` (el del auto, si no el de la automotora, si no exento); sin auto, exento.
|
|
43942
|
+
* @enum {string}
|
|
43943
|
+
*/
|
|
43944
|
+
tax_treatment?: "afecto" | "exento" | "no_gravado" | "pass_through";
|
|
43945
|
+
/** @description «Compra con factura (incluye IVA)». Opcional, por defecto false. Con true `net_clp` incluye IVA: la nota guarda el precio sin IVA y el IVA aparte, queda afecta, y el costo de compra del auto queda sin IVA y con crédito fiscal. Manda sobre `tax_clp`, `tax_treatment` y los campos de impuesto de `acquisition`. */
|
|
43946
|
+
invoice_includes_iva?: boolean;
|
|
43930
43947
|
/** Format: date-time */
|
|
43931
43948
|
issued_at?: string | null;
|
|
43932
43949
|
/** @description Internal free-text notes. Never printed on the document. Blank clears them. */
|
|
43933
43950
|
notes?: string | null;
|
|
43951
|
+
/** @description «Forma de pago», una línea libre que se imprime en la nota de compra (hasta 500 caracteres). Vacío o null la borra. */
|
|
43952
|
+
forma_de_pago?: string | null;
|
|
43953
|
+
/** @description Observaciones que se imprimen en la nota de compra (hasta 2000 caracteres). Vacío o null las borra. No son las notas internas (`notes`). */
|
|
43954
|
+
observaciones?: string | null;
|
|
43934
43955
|
lines?: {
|
|
43935
43956
|
description: string;
|
|
43936
43957
|
net_clp: number;
|
|
@@ -43941,20 +43962,22 @@ interface paths {
|
|
|
43941
43962
|
acquisition?: {
|
|
43942
43963
|
/** Format: uuid */
|
|
43943
43964
|
vehicle_id: string;
|
|
43944
|
-
acquired_on
|
|
43965
|
+
acquired_on?: string;
|
|
43945
43966
|
tax_clp?: number | null;
|
|
43946
43967
|
/** @enum {string} */
|
|
43947
|
-
tax_treatment
|
|
43968
|
+
tax_treatment?: "afecto" | "exento" | "no_gravado" | "pass_through";
|
|
43948
43969
|
/** @enum {string} */
|
|
43949
|
-
borne_by
|
|
43950
|
-
generates_fiscal_credit
|
|
43970
|
+
borne_by?: "automotora" | "cliente";
|
|
43971
|
+
generates_fiscal_credit?: boolean;
|
|
43951
43972
|
retentions?: {
|
|
43973
|
+
/** @description Qué se descuenta («Multas», «Prenda», «Permiso de circulación»), hasta 200 caracteres. Se imprime en la nota de compra. */
|
|
43974
|
+
description?: string | null;
|
|
43952
43975
|
/** Format: uuid */
|
|
43953
|
-
category_id
|
|
43976
|
+
category_id?: string;
|
|
43954
43977
|
net_clp: number;
|
|
43955
43978
|
tax_clp?: number | null;
|
|
43956
43979
|
/** @enum {string} */
|
|
43957
|
-
tax_treatment
|
|
43980
|
+
tax_treatment?: "afecto" | "exento" | "no_gravado" | "pass_through";
|
|
43958
43981
|
incurred_on?: string | null;
|
|
43959
43982
|
/** Format: uuid */
|
|
43960
43983
|
supplier_contact_id?: string | null;
|
|
@@ -43984,6 +44007,9 @@ interface paths {
|
|
|
43984
44007
|
* "tax_treatment": "no_gravado",
|
|
43985
44008
|
* "status": "issued",
|
|
43986
44009
|
* "issued_at": "2026-09-12T10:15:00.000Z",
|
|
44010
|
+
* "notes": null,
|
|
44011
|
+
* "forma_de_pago": "Transferencia a la cuenta del vendedor",
|
|
44012
|
+
* "observaciones": "Se entrega con dos llaves.",
|
|
43987
44013
|
* "corrected_at": null,
|
|
43988
44014
|
* "corrected_by": null,
|
|
43989
44015
|
* "voided_at": null,
|
|
@@ -44108,6 +44134,9 @@ interface paths {
|
|
|
44108
44134
|
* "tax_treatment": "no_gravado",
|
|
44109
44135
|
* "status": "issued",
|
|
44110
44136
|
* "issued_at": "2026-09-12T10:15:00.000Z",
|
|
44137
|
+
* "notes": null,
|
|
44138
|
+
* "forma_de_pago": "Transferencia a la cuenta del vendedor",
|
|
44139
|
+
* "observaciones": "Se entrega con dos llaves.",
|
|
44111
44140
|
* "corrected_at": null,
|
|
44112
44141
|
* "corrected_by": null,
|
|
44113
44142
|
* "voided_at": null,
|
|
@@ -44224,6 +44253,10 @@ interface paths {
|
|
|
44224
44253
|
* }
|
|
44225
44254
|
*/
|
|
44226
44255
|
"application/json": {
|
|
44256
|
+
/** @description «Forma de pago», una línea libre que se imprime en la nota de compra (hasta 500 caracteres). Vacío o null la borra. */
|
|
44257
|
+
forma_de_pago?: string | null;
|
|
44258
|
+
/** @description Observaciones que se imprimen en la nota de compra (hasta 2000 caracteres). Vacío o null las borra. No son las notas internas (`notes`). */
|
|
44259
|
+
observaciones?: string | null;
|
|
44227
44260
|
/** Format: uuid */
|
|
44228
44261
|
seller_contact_id?: string | null;
|
|
44229
44262
|
net_clp?: number;
|
|
@@ -44264,6 +44297,9 @@ interface paths {
|
|
|
44264
44297
|
* "tax_treatment": "no_gravado",
|
|
44265
44298
|
* "status": "issued",
|
|
44266
44299
|
* "issued_at": "2026-09-12T10:15:00.000Z",
|
|
44300
|
+
* "notes": null,
|
|
44301
|
+
* "forma_de_pago": "Transferencia a la cuenta del vendedor",
|
|
44302
|
+
* "observaciones": "Se entrega con dos llaves.",
|
|
44267
44303
|
* "corrected_at": "2026-09-13T09:00:00.000Z",
|
|
44268
44304
|
* "corrected_by": "11111111-0000-4000-8000-000000000001",
|
|
44269
44305
|
* "voided_at": null,
|
|
@@ -44498,6 +44534,9 @@ interface paths {
|
|
|
44498
44534
|
* "tax_treatment": "no_gravado",
|
|
44499
44535
|
* "status": "voided",
|
|
44500
44536
|
* "issued_at": "2026-09-12T10:15:00.000Z",
|
|
44537
|
+
* "notes": null,
|
|
44538
|
+
* "forma_de_pago": "Transferencia a la cuenta del vendedor",
|
|
44539
|
+
* "observaciones": "Se entrega con dos llaves.",
|
|
44501
44540
|
* "corrected_at": null,
|
|
44502
44541
|
* "corrected_by": null,
|
|
44503
44542
|
* "voided_at": "2026-09-14T11:30:00.000Z",
|
package/package.json
CHANGED