@scell/sdk 1.9.0 → 1.9.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/README.md CHANGED
@@ -266,7 +266,7 @@ apiClient.invoices // Create, download, convert invoices
266
266
  apiClient.signatures // Create, download, remind, cancel signatures
267
267
  apiClient.creditNotes // Create, send, download tenant credit notes
268
268
  apiClient.subTenants // Sub-tenant management
269
- apiClient.fiscal // NF525 fiscal compliance
269
+ apiClient.fiscal // ISCA fiscal compliance
270
270
  apiClient.stats // Platform statistics
271
271
  apiClient.billing // Usage, top-up, transactions
272
272
  apiClient.tenantInvoices // Tenant invoice operations
@@ -568,6 +568,21 @@ await tenant.incomingInvoices.accept(invoiceId);
568
568
  const compliance = await tenant.fiscal.compliance();
569
569
  const integrity = await tenant.fiscal.integrity();
570
570
 
571
+ ### ISCA Compliance Documents
572
+
573
+ Download the three mandatory ISCA compliance documents as PDF:
574
+
575
+ ```typescript
576
+ // Measures register (registre des mesures)
577
+ const registerPdf = await client.fiscal.downloadMeasuresRegister();
578
+
579
+ // Technical dossier (dossier technique)
580
+ const dossierPdf = await client.fiscal.downloadTechnicalDossier();
581
+
582
+ // Self-attestation (auto-attestation ISCA)
583
+ const attestationPdf = await client.fiscal.downloadSelfAttestation();
584
+ ```
585
+
571
586
  // Billing
572
587
  const billingInvoices = await tenant.billing.invoices();
573
588
  const usage = await tenant.billing.usage();
package/dist/index.d.mts CHANGED
@@ -2271,6 +2271,12 @@ declare class FiscalResource {
2271
2271
  exportRules(options: FiscalExportRulesOptions, requestOptions?: RequestOptions): Promise<SingleResponse<Record<string, unknown>>>;
2272
2272
  replayRules(input: FiscalReplayRulesInput, requestOptions?: RequestOptions): Promise<MessageResponse>;
2273
2273
  forensicExport(options: FiscalForensicExportOptions, requestOptions?: RequestOptions): Promise<SingleResponse<Record<string, unknown>>>;
2274
+ /** Download the ISCA measures register as PDF */
2275
+ downloadMeasuresRegister(): Promise<Blob | ArrayBuffer>;
2276
+ /** Download the ISCA technical dossier as PDF */
2277
+ downloadTechnicalDossier(): Promise<Blob | ArrayBuffer>;
2278
+ /** Download the ISCA self-attestation as PDF */
2279
+ downloadSelfAttestation(): Promise<Blob | ArrayBuffer>;
2274
2280
  }
2275
2281
 
2276
2282
  /**
package/dist/index.d.ts CHANGED
@@ -2271,6 +2271,12 @@ declare class FiscalResource {
2271
2271
  exportRules(options: FiscalExportRulesOptions, requestOptions?: RequestOptions): Promise<SingleResponse<Record<string, unknown>>>;
2272
2272
  replayRules(input: FiscalReplayRulesInput, requestOptions?: RequestOptions): Promise<MessageResponse>;
2273
2273
  forensicExport(options: FiscalForensicExportOptions, requestOptions?: RequestOptions): Promise<SingleResponse<Record<string, unknown>>>;
2274
+ /** Download the ISCA measures register as PDF */
2275
+ downloadMeasuresRegister(): Promise<Blob | ArrayBuffer>;
2276
+ /** Download the ISCA technical dossier as PDF */
2277
+ downloadTechnicalDossier(): Promise<Blob | ArrayBuffer>;
2278
+ /** Download the ISCA self-attestation as PDF */
2279
+ downloadSelfAttestation(): Promise<Blob | ArrayBuffer>;
2274
2280
  }
2275
2281
 
2276
2282
  /**
package/dist/index.js CHANGED
@@ -1586,6 +1586,18 @@ var FiscalResource = class {
1586
1586
  async forensicExport(options, requestOptions) {
1587
1587
  return this.http.get("/tenant/fiscal/forensic-export", options, requestOptions);
1588
1588
  }
1589
+ /** Download the ISCA measures register as PDF */
1590
+ async downloadMeasuresRegister() {
1591
+ return this.http.get("tenant/fiscal/isca/measures-register/download");
1592
+ }
1593
+ /** Download the ISCA technical dossier as PDF */
1594
+ async downloadTechnicalDossier() {
1595
+ return this.http.get("tenant/fiscal/isca/technical-dossier/download");
1596
+ }
1597
+ /** Download the ISCA self-attestation as PDF */
1598
+ async downloadSelfAttestation() {
1599
+ return this.http.get("tenant/fiscal/isca/self-attestation/download");
1600
+ }
1589
1601
  };
1590
1602
 
1591
1603
  // src/resources/billing.ts