@vitrina/api 17.126.0 → 17.128.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 +61 -15
- package/dist/index.d.ts +61 -15
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -49311,7 +49311,7 @@ interface paths {
|
|
|
49311
49311
|
};
|
|
49312
49312
|
/**
|
|
49313
49313
|
* Fetch one reservation, with its payments and totals
|
|
49314
|
-
* @description Accepts the UUID or the folio (`R-12`).
|
|
49314
|
+
* @description Accepts the UUID or the folio (`R-12`). `totals` is over the agreed price alone; `outstanding_clp` is what the holder still owes: agreed price + `transfer_cost_clp` − payments, never below 0 (`null` without an agreed price), the «Saldo por pagar» the comprobante prints.
|
|
49315
49315
|
*/
|
|
49316
49316
|
get: {
|
|
49317
49317
|
parameters: {
|
|
@@ -49392,15 +49392,16 @@ interface paths {
|
|
|
49392
49392
|
* }
|
|
49393
49393
|
* ],
|
|
49394
49394
|
* "totals": {
|
|
49395
|
-
* "total_a_pagar_clp":
|
|
49395
|
+
* "total_a_pagar_clp": 11900000,
|
|
49396
49396
|
* "total_pagos_clp": 300000,
|
|
49397
|
-
* "saldo_clp":
|
|
49397
|
+
* "saldo_clp": -11600000,
|
|
49398
49398
|
* "recargo_tarjeta_clp": 0,
|
|
49399
|
-
* "total_a_cobrar_clp":
|
|
49399
|
+
* "total_a_cobrar_clp": 11900000,
|
|
49400
49400
|
* "payment_count": 1,
|
|
49401
49401
|
* "complete": true,
|
|
49402
49402
|
* "gaps": []
|
|
49403
49403
|
* },
|
|
49404
|
+
* "outstanding_clp": 11817740,
|
|
49404
49405
|
* "converted_to_sale_note": null,
|
|
49405
49406
|
* "holder": {
|
|
49406
49407
|
* "id": "22222222-0000-4000-8000-000000000002",
|
|
@@ -49605,15 +49606,16 @@ interface paths {
|
|
|
49605
49606
|
* }
|
|
49606
49607
|
* ],
|
|
49607
49608
|
* "totals": {
|
|
49608
|
-
* "total_a_pagar_clp":
|
|
49609
|
+
* "total_a_pagar_clp": 11900000,
|
|
49609
49610
|
* "total_pagos_clp": 300000,
|
|
49610
|
-
* "saldo_clp":
|
|
49611
|
+
* "saldo_clp": -11600000,
|
|
49611
49612
|
* "recargo_tarjeta_clp": 0,
|
|
49612
|
-
* "total_a_cobrar_clp":
|
|
49613
|
+
* "total_a_cobrar_clp": 11900000,
|
|
49613
49614
|
* "payment_count": 1,
|
|
49614
49615
|
* "complete": true,
|
|
49615
49616
|
* "gaps": []
|
|
49616
49617
|
* },
|
|
49618
|
+
* "outstanding_clp": 11817740,
|
|
49617
49619
|
* "converted_to_sale_note": null,
|
|
49618
49620
|
* "holder": {
|
|
49619
49621
|
* "id": "22222222-0000-4000-8000-000000000002",
|
|
@@ -114486,7 +114488,7 @@ interface paths {
|
|
|
114486
114488
|
};
|
|
114487
114489
|
/**
|
|
114488
114490
|
* The Borrador de F22 of a sociedad for a commercial year
|
|
114489
|
-
* @description A draft FOR THE ACCOUNTANT, by the sociedad's tax regime, on the cash basis of the Pro Pyme regimes (14 D N°3, 14 D N°8). Vitrina never files it. Every code of the regime's mapping is a line with exactly one `state` and what it was built from; an amount Vitrina cannot determine is `null`, never 0. Also: the cash base
|
|
114491
|
+
* @description A draft FOR THE ACCOUNTANT, by the sociedad's tax regime, on the cash basis of the Pro Pyme regimes (14 D N°3, 14 D N°8) or on the accrual result of the general regime (14 A), whose tax adjustments are left blank for the person filing (state `adjustment`) so the taxable income and the tax stay null until a person completes them. Vitrina never files it. Every code of the regime's mapping is a line with exactly one `state` and what it was built from; an amount Vitrina cannot determine is `null`, never 0. Also: the figure on the codes (`base.basis`: the cash base, or the accrual result in 14 A) and what stays outside it (accounts without tax meaning, non-deductible items, undated items), the reconciliation with the accrual Resultado, PPM by month brought to year end (with a warning while they come from SII proposals), the IDPC rate, the Pro Pyme income check, and for 14 D N°8 the attribution to owners (no owner's tax is computed). `available: false` with a `refusal` (no sociedad, more than one sociedad, no regime, no mapping or no tax tables for the year). A future year answers 400. Requires the `finanzas` add-on (otherwise `402 ENTITLEMENT_NOT_ACTIVE`). Requires `finanzas_reports:read` (owner, admin, Contador seat).
|
|
114490
114492
|
*/
|
|
114491
114493
|
get: {
|
|
114492
114494
|
parameters: {
|
|
@@ -116979,12 +116981,12 @@ interface paths {
|
|
|
116979
116981
|
rows: number;
|
|
116980
116982
|
size_bytes: number;
|
|
116981
116983
|
}[];
|
|
116982
|
-
/** @description The Borrador de F22 (#8088). Its full read is `GET /finanzas/f22-draft?year=`. */
|
|
116984
|
+
/** @description The Borrador de F22 (#8088, #8089). Its full read is `GET /finanzas/f22-draft?year=`. */
|
|
116983
116985
|
f22_draft: {
|
|
116984
|
-
/** @description True when the zip carries `08-borrador-f22-<year>.xlsx` (#8088):
|
|
116986
|
+
/** @description True when the zip carries `08-borrador-f22-<year>.xlsx` (#8088, #8089): for a sociedad with a tax regime set for that year (Pro Pyme or 14 A). */
|
|
116985
116987
|
available: boolean;
|
|
116986
116988
|
complete: boolean | null;
|
|
116987
|
-
/** @description Why there is no draft: `no_sociedad`, `multi_sociedad`, `no_regime`, `
|
|
116989
|
+
/** @description Why there is no draft: `no_sociedad`, `multi_sociedad`, `no_regime`, `no_mapping`, `no_tax_tables`. Spanish message ready to show. */
|
|
116988
116990
|
refusal: {
|
|
116989
116991
|
code: string;
|
|
116990
116992
|
message: string;
|
|
@@ -341613,10 +341615,10 @@ interface components {
|
|
|
341613
341615
|
applies_from_year: number;
|
|
341614
341616
|
};
|
|
341615
341617
|
/**
|
|
341616
|
-
* @description Exactly one per line. `books` computed from the books (with `built_from`); `formula` derived with the SII formula (with `inputs`); `formula_incomplete` a formula whose inputs are missing (`missing`, amount null); `entered` a person typed it (`entered`); `needs_input` a datum only a person has; `needs_prior_year` from last year's F22, not readable yet; `sii_only` held by the SII (may carry a `reference_amount_clp` that is NOT the amount); `not_held` Vitrina does not record it (or it belongs to an owner's own return); `not_evaluable` derived with no formula in the mapping.
|
|
341618
|
+
* @description Exactly one per line. `adjustment` (14 A only, #8089): a tax adjustment of the financial result (Recuadro 12) that the person filing completes; amount null, may carry a `reference_amount_clp` from Vitrina's non-deductible marks that is NOT the amount. `books` computed from the books (with `built_from`); `formula` derived with the SII formula (with `inputs`); `formula_incomplete` a formula whose inputs are missing (`missing`, amount null); `entered` a person typed it (`entered`); `needs_input` a datum only a person has; `needs_prior_year` from last year's F22, not readable yet; `sii_only` held by the SII (may carry a `reference_amount_clp` that is NOT the amount); `not_held` Vitrina does not record it (or it belongs to an owner's own return); `not_evaluable` derived with no formula in the mapping.
|
|
341617
341619
|
* @enum {string}
|
|
341618
341620
|
*/
|
|
341619
|
-
FinanzasF22LineState: "books" | "formula" | "formula_incomplete" | "entered" | "needs_input" | "needs_prior_year" | "sii_only" | "not_held" | "not_evaluable";
|
|
341621
|
+
FinanzasF22LineState: "books" | "formula" | "formula_incomplete" | "entered" | "needs_input" | "needs_prior_year" | "sii_only" | "not_held" | "not_evaluable" | "adjustment";
|
|
341620
341622
|
FinanzasF22BuiltFrom: {
|
|
341621
341623
|
/** @description Spanish, ready to show. */
|
|
341622
341624
|
description: string;
|
|
@@ -341680,6 +341682,35 @@ interface components {
|
|
|
341680
341682
|
mapping_status: string;
|
|
341681
341683
|
counts_for_completeness: boolean;
|
|
341682
341684
|
};
|
|
341685
|
+
/** @description 14 A only (#8089): the accrual result and what stands between it and the tax. `taxable_income` (1690) and `tax` (1113) stay null («no determinado») while an adjustment is blank; the draft never presents a tax computed without them. Null in Pro Pyme. */
|
|
341686
|
+
FinanzasF22Accrual: {
|
|
341687
|
+
/** @description Spanish, always shown on a 14 A draft. */
|
|
341688
|
+
statement: string;
|
|
341689
|
+
books_result_clp: number;
|
|
341690
|
+
financial_result: {
|
|
341691
|
+
code: number;
|
|
341692
|
+
label: string;
|
|
341693
|
+
amount_clp: number | null;
|
|
341694
|
+
state: components["schemas"]["FinanzasF22LineState"];
|
|
341695
|
+
};
|
|
341696
|
+
taxable_income: {
|
|
341697
|
+
code: number;
|
|
341698
|
+
label: string;
|
|
341699
|
+
amount_clp: number | null;
|
|
341700
|
+
state: components["schemas"]["FinanzasF22LineState"];
|
|
341701
|
+
};
|
|
341702
|
+
tax: {
|
|
341703
|
+
code: number;
|
|
341704
|
+
label: string;
|
|
341705
|
+
amount_clp: number | null;
|
|
341706
|
+
state: components["schemas"]["FinanzasF22LineState"];
|
|
341707
|
+
};
|
|
341708
|
+
pending_adjustments: {
|
|
341709
|
+
code: number;
|
|
341710
|
+
label: string;
|
|
341711
|
+
}[];
|
|
341712
|
+
undocumented_expenses_clp: number;
|
|
341713
|
+
} | null;
|
|
341683
341714
|
FinanzasF22Draft: {
|
|
341684
341715
|
title: string;
|
|
341685
341716
|
audience: string;
|
|
@@ -341694,7 +341725,7 @@ interface components {
|
|
|
341694
341725
|
};
|
|
341695
341726
|
regime: {
|
|
341696
341727
|
/** @enum {string} */
|
|
341697
|
-
code: "14D3" | "14D8";
|
|
341728
|
+
code: "14D3" | "14D8" | "14A";
|
|
341698
341729
|
name: string;
|
|
341699
341730
|
article: string;
|
|
341700
341731
|
label: string;
|
|
@@ -341787,6 +341818,14 @@ interface components {
|
|
|
341787
341818
|
}[];
|
|
341788
341819
|
} | null;
|
|
341789
341820
|
base: {
|
|
341821
|
+
/**
|
|
341822
|
+
* @description `cash` in Pro Pyme; `accrual` in 14 A, where `untagged` holds income (`collection`) and costs or expenses (`payment`) by document date, and `excluded` is empty.
|
|
341823
|
+
* @enum {string}
|
|
341824
|
+
*/
|
|
341825
|
+
basis: "cash" | "accrual";
|
|
341826
|
+
/** @description The figure the draft puts on its codes: the cash base (Pro Pyme) or the accrual result of Recuadro 12 (14 A). */
|
|
341827
|
+
books_result_clp: number;
|
|
341828
|
+
/** @description Pro Pyme: the cash base. 14 A: equals `books_result_clp`; read `basis`. */
|
|
341790
341829
|
cash_base_from_books_clp: number;
|
|
341791
341830
|
untagged: {
|
|
341792
341831
|
/** @enum {string} */
|
|
@@ -341839,6 +341878,12 @@ interface components {
|
|
|
341839
341878
|
}[];
|
|
341840
341879
|
};
|
|
341841
341880
|
reconciliation: {
|
|
341881
|
+
/**
|
|
341882
|
+
* @description `cash`: accrual Resultado → cash base (Pro Pyme). `accrual` (14 A): Resultado → accounts without tax meaning → the accrual result on the codes; the cash result is a reference line.
|
|
341883
|
+
* @enum {string}
|
|
341884
|
+
*/
|
|
341885
|
+
basis: "cash" | "accrual";
|
|
341886
|
+
books_result_clp: number;
|
|
341842
341887
|
accrual_result_clp: number;
|
|
341843
341888
|
cash_result_clp: number;
|
|
341844
341889
|
cash_base_from_books_clp: number;
|
|
@@ -341898,6 +341943,7 @@ interface components {
|
|
|
341898
341943
|
[key: string]: unknown;
|
|
341899
341944
|
} | null;
|
|
341900
341945
|
};
|
|
341946
|
+
accrual: components["schemas"]["FinanzasF22Accrual"];
|
|
341901
341947
|
warnings: {
|
|
341902
341948
|
code: string;
|
|
341903
341949
|
message: string;
|
|
@@ -341907,7 +341953,7 @@ interface components {
|
|
|
341907
341953
|
available: boolean;
|
|
341908
341954
|
year: number;
|
|
341909
341955
|
tax_year: number;
|
|
341910
|
-
/** @description Why there is no draft (Spanish message ready to show); null when `available`. */
|
|
341956
|
+
/** @description Why there is no draft (Spanish message ready to show); null when `available`. `regime_14a` is no longer produced since #8089 (14 A has its draft). */
|
|
341911
341957
|
refusal: {
|
|
341912
341958
|
/** @enum {string} */
|
|
341913
341959
|
code: "no_sociedad" | "multi_sociedad" | "no_regime" | "regime_14a" | "no_mapping" | "no_tax_tables";
|
package/dist/index.d.ts
CHANGED
|
@@ -49311,7 +49311,7 @@ interface paths {
|
|
|
49311
49311
|
};
|
|
49312
49312
|
/**
|
|
49313
49313
|
* Fetch one reservation, with its payments and totals
|
|
49314
|
-
* @description Accepts the UUID or the folio (`R-12`).
|
|
49314
|
+
* @description Accepts the UUID or the folio (`R-12`). `totals` is over the agreed price alone; `outstanding_clp` is what the holder still owes: agreed price + `transfer_cost_clp` − payments, never below 0 (`null` without an agreed price), the «Saldo por pagar» the comprobante prints.
|
|
49315
49315
|
*/
|
|
49316
49316
|
get: {
|
|
49317
49317
|
parameters: {
|
|
@@ -49392,15 +49392,16 @@ interface paths {
|
|
|
49392
49392
|
* }
|
|
49393
49393
|
* ],
|
|
49394
49394
|
* "totals": {
|
|
49395
|
-
* "total_a_pagar_clp":
|
|
49395
|
+
* "total_a_pagar_clp": 11900000,
|
|
49396
49396
|
* "total_pagos_clp": 300000,
|
|
49397
|
-
* "saldo_clp":
|
|
49397
|
+
* "saldo_clp": -11600000,
|
|
49398
49398
|
* "recargo_tarjeta_clp": 0,
|
|
49399
|
-
* "total_a_cobrar_clp":
|
|
49399
|
+
* "total_a_cobrar_clp": 11900000,
|
|
49400
49400
|
* "payment_count": 1,
|
|
49401
49401
|
* "complete": true,
|
|
49402
49402
|
* "gaps": []
|
|
49403
49403
|
* },
|
|
49404
|
+
* "outstanding_clp": 11817740,
|
|
49404
49405
|
* "converted_to_sale_note": null,
|
|
49405
49406
|
* "holder": {
|
|
49406
49407
|
* "id": "22222222-0000-4000-8000-000000000002",
|
|
@@ -49605,15 +49606,16 @@ interface paths {
|
|
|
49605
49606
|
* }
|
|
49606
49607
|
* ],
|
|
49607
49608
|
* "totals": {
|
|
49608
|
-
* "total_a_pagar_clp":
|
|
49609
|
+
* "total_a_pagar_clp": 11900000,
|
|
49609
49610
|
* "total_pagos_clp": 300000,
|
|
49610
|
-
* "saldo_clp":
|
|
49611
|
+
* "saldo_clp": -11600000,
|
|
49611
49612
|
* "recargo_tarjeta_clp": 0,
|
|
49612
|
-
* "total_a_cobrar_clp":
|
|
49613
|
+
* "total_a_cobrar_clp": 11900000,
|
|
49613
49614
|
* "payment_count": 1,
|
|
49614
49615
|
* "complete": true,
|
|
49615
49616
|
* "gaps": []
|
|
49616
49617
|
* },
|
|
49618
|
+
* "outstanding_clp": 11817740,
|
|
49617
49619
|
* "converted_to_sale_note": null,
|
|
49618
49620
|
* "holder": {
|
|
49619
49621
|
* "id": "22222222-0000-4000-8000-000000000002",
|
|
@@ -114486,7 +114488,7 @@ interface paths {
|
|
|
114486
114488
|
};
|
|
114487
114489
|
/**
|
|
114488
114490
|
* The Borrador de F22 of a sociedad for a commercial year
|
|
114489
|
-
* @description A draft FOR THE ACCOUNTANT, by the sociedad's tax regime, on the cash basis of the Pro Pyme regimes (14 D N°3, 14 D N°8). Vitrina never files it. Every code of the regime's mapping is a line with exactly one `state` and what it was built from; an amount Vitrina cannot determine is `null`, never 0. Also: the cash base
|
|
114491
|
+
* @description A draft FOR THE ACCOUNTANT, by the sociedad's tax regime, on the cash basis of the Pro Pyme regimes (14 D N°3, 14 D N°8) or on the accrual result of the general regime (14 A), whose tax adjustments are left blank for the person filing (state `adjustment`) so the taxable income and the tax stay null until a person completes them. Vitrina never files it. Every code of the regime's mapping is a line with exactly one `state` and what it was built from; an amount Vitrina cannot determine is `null`, never 0. Also: the figure on the codes (`base.basis`: the cash base, or the accrual result in 14 A) and what stays outside it (accounts without tax meaning, non-deductible items, undated items), the reconciliation with the accrual Resultado, PPM by month brought to year end (with a warning while they come from SII proposals), the IDPC rate, the Pro Pyme income check, and for 14 D N°8 the attribution to owners (no owner's tax is computed). `available: false` with a `refusal` (no sociedad, more than one sociedad, no regime, no mapping or no tax tables for the year). A future year answers 400. Requires the `finanzas` add-on (otherwise `402 ENTITLEMENT_NOT_ACTIVE`). Requires `finanzas_reports:read` (owner, admin, Contador seat).
|
|
114490
114492
|
*/
|
|
114491
114493
|
get: {
|
|
114492
114494
|
parameters: {
|
|
@@ -116979,12 +116981,12 @@ interface paths {
|
|
|
116979
116981
|
rows: number;
|
|
116980
116982
|
size_bytes: number;
|
|
116981
116983
|
}[];
|
|
116982
|
-
/** @description The Borrador de F22 (#8088). Its full read is `GET /finanzas/f22-draft?year=`. */
|
|
116984
|
+
/** @description The Borrador de F22 (#8088, #8089). Its full read is `GET /finanzas/f22-draft?year=`. */
|
|
116983
116985
|
f22_draft: {
|
|
116984
|
-
/** @description True when the zip carries `08-borrador-f22-<year>.xlsx` (#8088):
|
|
116986
|
+
/** @description True when the zip carries `08-borrador-f22-<year>.xlsx` (#8088, #8089): for a sociedad with a tax regime set for that year (Pro Pyme or 14 A). */
|
|
116985
116987
|
available: boolean;
|
|
116986
116988
|
complete: boolean | null;
|
|
116987
|
-
/** @description Why there is no draft: `no_sociedad`, `multi_sociedad`, `no_regime`, `
|
|
116989
|
+
/** @description Why there is no draft: `no_sociedad`, `multi_sociedad`, `no_regime`, `no_mapping`, `no_tax_tables`. Spanish message ready to show. */
|
|
116988
116990
|
refusal: {
|
|
116989
116991
|
code: string;
|
|
116990
116992
|
message: string;
|
|
@@ -341613,10 +341615,10 @@ interface components {
|
|
|
341613
341615
|
applies_from_year: number;
|
|
341614
341616
|
};
|
|
341615
341617
|
/**
|
|
341616
|
-
* @description Exactly one per line. `books` computed from the books (with `built_from`); `formula` derived with the SII formula (with `inputs`); `formula_incomplete` a formula whose inputs are missing (`missing`, amount null); `entered` a person typed it (`entered`); `needs_input` a datum only a person has; `needs_prior_year` from last year's F22, not readable yet; `sii_only` held by the SII (may carry a `reference_amount_clp` that is NOT the amount); `not_held` Vitrina does not record it (or it belongs to an owner's own return); `not_evaluable` derived with no formula in the mapping.
|
|
341618
|
+
* @description Exactly one per line. `adjustment` (14 A only, #8089): a tax adjustment of the financial result (Recuadro 12) that the person filing completes; amount null, may carry a `reference_amount_clp` from Vitrina's non-deductible marks that is NOT the amount. `books` computed from the books (with `built_from`); `formula` derived with the SII formula (with `inputs`); `formula_incomplete` a formula whose inputs are missing (`missing`, amount null); `entered` a person typed it (`entered`); `needs_input` a datum only a person has; `needs_prior_year` from last year's F22, not readable yet; `sii_only` held by the SII (may carry a `reference_amount_clp` that is NOT the amount); `not_held` Vitrina does not record it (or it belongs to an owner's own return); `not_evaluable` derived with no formula in the mapping.
|
|
341617
341619
|
* @enum {string}
|
|
341618
341620
|
*/
|
|
341619
|
-
FinanzasF22LineState: "books" | "formula" | "formula_incomplete" | "entered" | "needs_input" | "needs_prior_year" | "sii_only" | "not_held" | "not_evaluable";
|
|
341621
|
+
FinanzasF22LineState: "books" | "formula" | "formula_incomplete" | "entered" | "needs_input" | "needs_prior_year" | "sii_only" | "not_held" | "not_evaluable" | "adjustment";
|
|
341620
341622
|
FinanzasF22BuiltFrom: {
|
|
341621
341623
|
/** @description Spanish, ready to show. */
|
|
341622
341624
|
description: string;
|
|
@@ -341680,6 +341682,35 @@ interface components {
|
|
|
341680
341682
|
mapping_status: string;
|
|
341681
341683
|
counts_for_completeness: boolean;
|
|
341682
341684
|
};
|
|
341685
|
+
/** @description 14 A only (#8089): the accrual result and what stands between it and the tax. `taxable_income` (1690) and `tax` (1113) stay null («no determinado») while an adjustment is blank; the draft never presents a tax computed without them. Null in Pro Pyme. */
|
|
341686
|
+
FinanzasF22Accrual: {
|
|
341687
|
+
/** @description Spanish, always shown on a 14 A draft. */
|
|
341688
|
+
statement: string;
|
|
341689
|
+
books_result_clp: number;
|
|
341690
|
+
financial_result: {
|
|
341691
|
+
code: number;
|
|
341692
|
+
label: string;
|
|
341693
|
+
amount_clp: number | null;
|
|
341694
|
+
state: components["schemas"]["FinanzasF22LineState"];
|
|
341695
|
+
};
|
|
341696
|
+
taxable_income: {
|
|
341697
|
+
code: number;
|
|
341698
|
+
label: string;
|
|
341699
|
+
amount_clp: number | null;
|
|
341700
|
+
state: components["schemas"]["FinanzasF22LineState"];
|
|
341701
|
+
};
|
|
341702
|
+
tax: {
|
|
341703
|
+
code: number;
|
|
341704
|
+
label: string;
|
|
341705
|
+
amount_clp: number | null;
|
|
341706
|
+
state: components["schemas"]["FinanzasF22LineState"];
|
|
341707
|
+
};
|
|
341708
|
+
pending_adjustments: {
|
|
341709
|
+
code: number;
|
|
341710
|
+
label: string;
|
|
341711
|
+
}[];
|
|
341712
|
+
undocumented_expenses_clp: number;
|
|
341713
|
+
} | null;
|
|
341683
341714
|
FinanzasF22Draft: {
|
|
341684
341715
|
title: string;
|
|
341685
341716
|
audience: string;
|
|
@@ -341694,7 +341725,7 @@ interface components {
|
|
|
341694
341725
|
};
|
|
341695
341726
|
regime: {
|
|
341696
341727
|
/** @enum {string} */
|
|
341697
|
-
code: "14D3" | "14D8";
|
|
341728
|
+
code: "14D3" | "14D8" | "14A";
|
|
341698
341729
|
name: string;
|
|
341699
341730
|
article: string;
|
|
341700
341731
|
label: string;
|
|
@@ -341787,6 +341818,14 @@ interface components {
|
|
|
341787
341818
|
}[];
|
|
341788
341819
|
} | null;
|
|
341789
341820
|
base: {
|
|
341821
|
+
/**
|
|
341822
|
+
* @description `cash` in Pro Pyme; `accrual` in 14 A, where `untagged` holds income (`collection`) and costs or expenses (`payment`) by document date, and `excluded` is empty.
|
|
341823
|
+
* @enum {string}
|
|
341824
|
+
*/
|
|
341825
|
+
basis: "cash" | "accrual";
|
|
341826
|
+
/** @description The figure the draft puts on its codes: the cash base (Pro Pyme) or the accrual result of Recuadro 12 (14 A). */
|
|
341827
|
+
books_result_clp: number;
|
|
341828
|
+
/** @description Pro Pyme: the cash base. 14 A: equals `books_result_clp`; read `basis`. */
|
|
341790
341829
|
cash_base_from_books_clp: number;
|
|
341791
341830
|
untagged: {
|
|
341792
341831
|
/** @enum {string} */
|
|
@@ -341839,6 +341878,12 @@ interface components {
|
|
|
341839
341878
|
}[];
|
|
341840
341879
|
};
|
|
341841
341880
|
reconciliation: {
|
|
341881
|
+
/**
|
|
341882
|
+
* @description `cash`: accrual Resultado → cash base (Pro Pyme). `accrual` (14 A): Resultado → accounts without tax meaning → the accrual result on the codes; the cash result is a reference line.
|
|
341883
|
+
* @enum {string}
|
|
341884
|
+
*/
|
|
341885
|
+
basis: "cash" | "accrual";
|
|
341886
|
+
books_result_clp: number;
|
|
341842
341887
|
accrual_result_clp: number;
|
|
341843
341888
|
cash_result_clp: number;
|
|
341844
341889
|
cash_base_from_books_clp: number;
|
|
@@ -341898,6 +341943,7 @@ interface components {
|
|
|
341898
341943
|
[key: string]: unknown;
|
|
341899
341944
|
} | null;
|
|
341900
341945
|
};
|
|
341946
|
+
accrual: components["schemas"]["FinanzasF22Accrual"];
|
|
341901
341947
|
warnings: {
|
|
341902
341948
|
code: string;
|
|
341903
341949
|
message: string;
|
|
@@ -341907,7 +341953,7 @@ interface components {
|
|
|
341907
341953
|
available: boolean;
|
|
341908
341954
|
year: number;
|
|
341909
341955
|
tax_year: number;
|
|
341910
|
-
/** @description Why there is no draft (Spanish message ready to show); null when `available`. */
|
|
341956
|
+
/** @description Why there is no draft (Spanish message ready to show); null when `available`. `regime_14a` is no longer produced since #8089 (14 A has its draft). */
|
|
341911
341957
|
refusal: {
|
|
341912
341958
|
/** @enum {string} */
|
|
341913
341959
|
code: "no_sociedad" | "multi_sociedad" | "no_regime" | "regime_14a" | "no_mapping" | "no_tax_tables";
|
package/package.json
CHANGED