facturas 0.25.1 → 0.25.2

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/cli.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as ArcaClient } from './client-BK-aaWiG.js';
1
+ import { A as ArcaClient } from './client-n_Bkci4D.js';
2
2
  import { A as ArcaClientOptions, a as ArcaClientConfig } from './types-CbvsjIhf.js';
3
3
  import { W as WsaaAuthModule } from './index-BSTxy3nN.js';
4
4
  import './padron.js';
package/dist/cli.mjs CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  createWsaaAuthModule,
8
8
  createWsaaStoreAdapter,
9
9
  discoverArcaClientConfig
10
- } from "./chunk-EL7OXUFE.mjs";
10
+ } from "./chunk-NZ6KEUSM.mjs";
11
11
  import "./chunk-5CGIRDZY.mjs";
12
12
  import "./chunk-FSJHE4VS.mjs";
13
13
  import "./chunk-67ISWKGE.mjs";
@@ -1034,7 +1034,8 @@ declare function voucherDateWindow(input: VoucherDateWindowInput): VoucherDateWi
1034
1034
  type CreditNoteInput = Pick<IssuanceFields, "taxes" | "optionalFields" | "fce"> & {
1035
1035
  /**
1036
1036
  * The authorized invoice or debit note the note corrects, or a non-empty
1037
- * list of them. Every original is consulted and every one is associated to
1037
+ * list of them. WSFE debit notes also accept ordinary credit notes (3, 8,
1038
+ * 13). Every original is consulted and every one is associated to
1038
1039
  * the note; they must agree on everything the note inherits.
1039
1040
  */
1040
1041
  for: VoucherCoordinates | readonly VoucherCoordinates[];
@@ -1072,6 +1073,7 @@ type PeriodNoteInput = IssueInput & {
1072
1073
  };
1073
1074
  for?: never;
1074
1075
  };
1076
+ /** WSFE linked notes also accept authorized ordinary credit notes in `for`. */
1075
1077
  type DebitNoteInput = (CreditNoteInput & {
1076
1078
  all?: never;
1077
1079
  }) | PeriodNoteInput;
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { V as VatRate, I as IssuedVoucher, a as VatItem, b as AmountItem } from './client-BK-aaWiG.js';
2
- export { c as ARCA_QR_URL, A as ArcaClient, d as ArcaClientConfigView, e as ArcaQrInput, f as ArcaQrPayload, C as CreateWsfexServiceOptions, g as CreditNoteInput, D as DebitNoteInput, E as ExportCreditNoteInput, h as ExportDebitNoteInput, i as ExportHeader, j as ExportIssueInput, k as ExportIssueOutcome, l as ExportIssueRequest, m as ExportIssuedVoucher, n as ExportItem, o as ExportOfGoods, p as ExportOfServices, q as ExportPreview, r as ExportReceiver, s as ExportVoucherSummary, t as ExportVoucherType, F as FceOptions, u as FiscalHeader, v as InvoiceFamily, w as IssuanceFields, x as IssueAmounts, y as IssueCommon, z as IssueInput, B as IssueOptions, G as IssueOutcome, H as IssuePreview, J as IssueRequest, K as ItemLine, N as NotePreview, P as PeriodNoteInput, L as PreviewOptions, R as Receiver, M as RecoveryOptions, T as Tribute, O as VoucherAmounts, Q as VoucherCoordinates, S as VoucherDateWindowInput, U as VoucherSummary, W as VoucherTotals, X as VoucherTypeInfo, Y as VouchersService, Z as WsfeIdentityMatch, _ as WsfexAssociatedVoucher, $ as WsfexAuthorizationOutcome, a0 as WsfexCatalogEntry, a1 as WsfexCountryTaxId, a2 as WsfexExchangeRate, a3 as WsfexExportType, a4 as WsfexIssueInput, a5 as WsfexItem, a6 as WsfexLanguage, a7 as WsfexPermit, a8 as WsfexSalesPoint, a9 as WsfexService, aa as WsfexVoucherInfo, ab as WsfexVoucherInput, ac as WsfexVoucherLookupResult, ad as WsfexVoucherType, ae as WsmtxcaIssueRequest, af as WsmtxcaLine, ag as arcaQrPayload, ah as arcaQrUrl, ai as createArcaClient, aj as createWsfexService, ak as describeVoucherType, al as matchWsfeVoucherIdentity, am as voucherDateWindow } from './client-BK-aaWiG.js';
1
+ import { V as VatRate, I as IssuedVoucher, a as VatItem, b as AmountItem } from './client-n_Bkci4D.js';
2
+ export { c as ARCA_QR_URL, A as ArcaClient, d as ArcaClientConfigView, e as ArcaQrInput, f as ArcaQrPayload, C as CreateWsfexServiceOptions, g as CreditNoteInput, D as DebitNoteInput, E as ExportCreditNoteInput, h as ExportDebitNoteInput, i as ExportHeader, j as ExportIssueInput, k as ExportIssueOutcome, l as ExportIssueRequest, m as ExportIssuedVoucher, n as ExportItem, o as ExportOfGoods, p as ExportOfServices, q as ExportPreview, r as ExportReceiver, s as ExportVoucherSummary, t as ExportVoucherType, F as FceOptions, u as FiscalHeader, v as InvoiceFamily, w as IssuanceFields, x as IssueAmounts, y as IssueCommon, z as IssueInput, B as IssueOptions, G as IssueOutcome, H as IssuePreview, J as IssueRequest, K as ItemLine, N as NotePreview, P as PeriodNoteInput, L as PreviewOptions, R as Receiver, M as RecoveryOptions, T as Tribute, O as VoucherAmounts, Q as VoucherCoordinates, S as VoucherDateWindowInput, U as VoucherSummary, W as VoucherTotals, X as VoucherTypeInfo, Y as VouchersService, Z as WsfeIdentityMatch, _ as WsfexAssociatedVoucher, $ as WsfexAuthorizationOutcome, a0 as WsfexCatalogEntry, a1 as WsfexCountryTaxId, a2 as WsfexExchangeRate, a3 as WsfexExportType, a4 as WsfexIssueInput, a5 as WsfexItem, a6 as WsfexLanguage, a7 as WsfexPermit, a8 as WsfexSalesPoint, a9 as WsfexService, aa as WsfexVoucherInfo, ab as WsfexVoucherInput, ac as WsfexVoucherLookupResult, ad as WsfexVoucherType, ae as WsmtxcaIssueRequest, af as WsmtxcaLine, ag as arcaQrPayload, ah as arcaQrUrl, ai as createArcaClient, aj as createWsfexService, ak as describeVoucherType, al as matchWsfeVoucherIdentity, am as voucherDateWindow } from './client-n_Bkci4D.js';
3
3
  import { h as ArcaEnvironment, a as ArcaClientConfig, i as ArcaStore, j as ArcaWsaaSessionStore } from './types-CbvsjIhf.js';
4
4
  export { g as ArcaAuthCredentials, f as ArcaAuthOptions, A as ArcaClientConfig, k as ArcaLockOptions, l as ArcaLogLevel, m as ArcaLoggerConfig, n as ArcaPadronServiceName, o as ArcaRepresentedTaxId, b as ArcaServiceName, p as ArcaServiceTarget, e as ArcaWsaaServiceId, q as ArcaWsaaSessionKey } from './types-CbvsjIhf.js';
5
5
  export { ARCA_FINAL_CONSUMER_IDENTIFICATION_THRESHOLD_MINOR_UNITS, ARCA_INVOICE_CLASS_BY_ISSUER, ARCA_ISSUER_CONDITION_IDS, ARCA_RECEIVER_CONDITION_IDS, ARCA_WSMTXCA_GENERIC_CODES, IssuerCondition, IssuerConditionId, ReceiverCondition, VoucherClass } from './constants.js';
package/dist/index.mjs CHANGED
@@ -22,7 +22,7 @@ import {
22
22
  vatRatePercent,
23
23
  voucherDateWindow,
24
24
  withLease
25
- } from "./chunk-EL7OXUFE.mjs";
25
+ } from "./chunk-NZ6KEUSM.mjs";
26
26
  import {
27
27
  ARCA_FINAL_CONSUMER_IDENTIFICATION_THRESHOLD_MINOR_UNITS,
28
28
  ARCA_INVOICE_CLASS_BY_ISSUER,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "facturas",
3
- "version": "0.25.1",
3
+ "version": "0.25.2",
4
4
  "description": "SDK de TypeScript para facturación electrónica con ARCA / AFIP: facturas, notas de crédito y débito, y Padrón con una sola API.",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",