sinfactura-types 1.6.56 → 1.6.58

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.
Files changed (2) hide show
  1. package/dist/invoice.d.ts +10 -2
  2. package/package.json +1 -1
package/dist/invoice.d.ts CHANGED
@@ -16,8 +16,6 @@ declare global {
16
16
  concept: number;
17
17
  cuitType: number;
18
18
  cuit: string;
19
- docTipo?: number;
20
- docNro?: number;
21
19
  currency?: string;
22
20
  currencyValue?: number;
23
21
  currencyValueAt?: number;
@@ -274,6 +272,16 @@ declare global {
274
272
  }[];
275
273
  fetchedAt: string;
276
274
  }
275
+ /** WSFECRED rejection-motivo catalog (`consultarTiposMotivosRechazo`), refreshed on a
276
+ * schedule. Persists as the platform-wide singleton PLATFORM / FCE_MOTIVOS (AFIP-global,
277
+ * not per-store) — api#1647; mirrors WsfexReferenceData. */
278
+ interface FceMotivosCatalog {
279
+ motivos: {
280
+ codigo: number;
281
+ descripcion?: string;
282
+ }[];
283
+ fetchedAt: string;
284
+ }
277
285
  type FceStatus = 'emitted' | 'accepted' | 'rejected' | 'ceded';
278
286
  /** FCE-specific fields, present only when Invoice.invoiceType is 201/202/203, 206/207/208, or 211/212/213. */
279
287
  interface FceFields {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sinfactura-types",
3
- "version": "1.6.56",
3
+ "version": "1.6.58",
4
4
  "main": "dist/index.js",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",