sinfactura-types 1.6.59 → 1.6.61
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/afip.d.ts +7 -0
- package/dist/invoice.d.ts +13 -0
- package/dist/store.d.ts +13 -0
- package/package.json +1 -1
package/dist/afip.d.ts
CHANGED
|
@@ -90,6 +90,13 @@ declare global {
|
|
|
90
90
|
city?: string;
|
|
91
91
|
province?: string;
|
|
92
92
|
postalCode?: string;
|
|
93
|
+
/** Registered activity codes from the A5 response (api#1741 — feeds store
|
|
94
|
+
* actividades autofill). Present only on cache rows written at
|
|
95
|
+
* PADRON_CACHE_SCHEMA_VERSION >= 2; older rows re-fetch on read. */
|
|
96
|
+
actividades?: {
|
|
97
|
+
id: number;
|
|
98
|
+
description?: string;
|
|
99
|
+
}[];
|
|
93
100
|
}
|
|
94
101
|
/**
|
|
95
102
|
* Cached AFIP/ARCA platform-wide health snapshot (api#1213). One DDB row
|
package/dist/invoice.d.ts
CHANGED
|
@@ -99,6 +99,19 @@ declare global {
|
|
|
99
99
|
comprasCbte: string;
|
|
100
100
|
comprasAlicuotas: string;
|
|
101
101
|
}
|
|
102
|
+
/**
|
|
103
|
+
* `GET /reports?mode=iva-simple-apertura&date=YYYYMM` response (api#1741,
|
|
104
|
+
* IVA Simple F.2051). `rows` is the CRLF-terminated, header-less apertura
|
|
105
|
+
* CSV (`;` separators, `,` decimals) for the accountant to import into
|
|
106
|
+
* Portal IVA; empty string = empty period. `count` = aggregated bucket
|
|
107
|
+
* rows, NOT source vouchers. Requires `Afip.actividades` configured —
|
|
108
|
+
* otherwise `400 ACTIVIDADES_NOT_CONFIGURED`.
|
|
109
|
+
*/
|
|
110
|
+
interface IvaSimpleAperturaResponse {
|
|
111
|
+
period: string;
|
|
112
|
+
rows: string;
|
|
113
|
+
count: number;
|
|
114
|
+
}
|
|
102
115
|
/**
|
|
103
116
|
* ARCA Obs.Code/Obs.Msg pair, parsed from FECAESolicitar's Observaciones[]
|
|
104
117
|
* when Resultado='O' (approved-with-warnings). (api#1559)
|
package/dist/store.d.ts
CHANGED
|
@@ -360,6 +360,19 @@ declare global {
|
|
|
360
360
|
razonSocial?: string;
|
|
361
361
|
pointOfSale?: number;
|
|
362
362
|
activitiesStartedAt?: number;
|
|
363
|
+
/** Registered AFIP activity codes (6-digit nomenclador), api#1741 — drives the
|
|
364
|
+
* IVA Simple F.2051 apertura CSV export; autofillable from Padrón A5. */
|
|
365
|
+
actividades?: number[];
|
|
366
|
+
/** Provincial ISIB transparency config (Ley 27.743 art. 99 adhesions), api#1742.
|
|
367
|
+
* v1: CABA only (AGIP Res. 169/26 — prints the RATE, never an amount). `rate` is
|
|
368
|
+
* the store's own Ley Tarifaria percentage (e.g. 3.5 → "3,50%"); `regime: 'cm'`
|
|
369
|
+
* adds the Convenio Multilateral second line; `exempt` prints the exempt legend. */
|
|
370
|
+
iibbTransparency?: {
|
|
371
|
+
jurisdiction: 'caba';
|
|
372
|
+
regime: 'local' | 'cm';
|
|
373
|
+
rate: number;
|
|
374
|
+
exempt?: boolean;
|
|
375
|
+
};
|
|
363
376
|
invoiceNote?: string;
|
|
364
377
|
showInvoiceLogo?: boolean;
|
|
365
378
|
currency: CatalogId;
|