@spaceinvoices/js-sdk 18.18.0 → 18.19.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/generated/credit-notes/credit-notes.d.cts +3 -1
- package/dist/generated/credit-notes/credit-notes.d.ts +3 -1
- package/dist/generated/e-invoicing/e-invoicing.d.cts +11 -5
- package/dist/generated/e-invoicing/e-invoicing.d.ts +11 -5
- package/dist/generated/invoices/invoices.d.cts +3 -1
- package/dist/generated/invoices/invoices.d.ts +3 -1
- package/dist/generated/model/getFilesParams.d.cts +1 -1
- package/dist/generated/model/getFilesParams.d.ts +1 -1
- package/dist/generated/model/uploadFileBody.d.cts +1 -1
- package/dist/generated/model/uploadFileBody.d.ts +1 -1
- package/dist/generated/vies/vies.d.cts +1 -1
- package/dist/generated/vies/vies.d.ts +1 -1
- package/dist/generated-zod/credit-notes/credit-notes.d.cts +3 -1
- package/dist/generated-zod/credit-notes/credit-notes.d.ts +3 -1
- package/dist/generated-zod/e-invoicing/e-invoicing.d.cts +11 -5
- package/dist/generated-zod/e-invoicing/e-invoicing.d.ts +11 -5
- package/dist/generated-zod/invoices/invoices.d.cts +3 -1
- package/dist/generated-zod/invoices/invoices.d.ts +3 -1
- package/dist/generated-zod/vies/vies.d.cts +1 -1
- package/dist/generated-zod/vies/vies.d.ts +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -870,7 +870,9 @@ export type renderCreditNotePreviewResponse = (renderCreditNotePreviewResponseSu
|
|
|
870
870
|
export declare const getRenderCreditNotePreviewUrl: (params?: RenderCreditNotePreviewParams) => string;
|
|
871
871
|
export declare const renderCreditNotePreview: (partialCreditNotePreviewCompleteCreditNotePreview: PartialCreditNotePreview | CompleteCreditNotePreview, params?: RenderCreditNotePreviewParams, options?: RequestInit) => Promise<renderCreditNotePreviewResponse>;
|
|
872
872
|
/**
|
|
873
|
-
* Deprecated
|
|
873
|
+
* **Deprecated:** use `POST /documents/{id}/fiscalize` instead. Responses carry `Deprecation` and `Sunset` headers; this endpoint will be removed after 2027-01-01. See the [deprecations guide](https://docs.spaceinvoices.com/guides/deprecations/).
|
|
874
|
+
|
|
875
|
+
Manually fiscalize a credit note that was created before FURS was enabled. Creates or reuses a dedicated "OLD" device under an existing active FURS premise, assigns a new sequential FURS number (Premise-OLD-N), and submits to FURS with SubsequentSubmit=true and SpecialNotes=#OLDINV;. The original credit note number remains unchanged.
|
|
874
876
|
* @deprecated
|
|
875
877
|
* @summary Fiscalize an old credit note (deprecated)
|
|
876
878
|
*/
|
|
@@ -870,7 +870,9 @@ export type renderCreditNotePreviewResponse = (renderCreditNotePreviewResponseSu
|
|
|
870
870
|
export declare const getRenderCreditNotePreviewUrl: (params?: RenderCreditNotePreviewParams) => string;
|
|
871
871
|
export declare const renderCreditNotePreview: (partialCreditNotePreviewCompleteCreditNotePreview: PartialCreditNotePreview | CompleteCreditNotePreview, params?: RenderCreditNotePreviewParams, options?: RequestInit) => Promise<renderCreditNotePreviewResponse>;
|
|
872
872
|
/**
|
|
873
|
-
* Deprecated
|
|
873
|
+
* **Deprecated:** use `POST /documents/{id}/fiscalize` instead. Responses carry `Deprecation` and `Sunset` headers; this endpoint will be removed after 2027-01-01. See the [deprecations guide](https://docs.spaceinvoices.com/guides/deprecations/).
|
|
874
|
+
|
|
875
|
+
Manually fiscalize a credit note that was created before FURS was enabled. Creates or reuses a dedicated "OLD" device under an existing active FURS premise, assigns a new sequential FURS number (Premise-OLD-N), and submits to FURS with SubsequentSubmit=true and SpecialNotes=#OLDINV;. The original credit note number remains unchanged.
|
|
874
876
|
* @deprecated
|
|
875
877
|
* @summary Fiscalize an old credit note (deprecated)
|
|
876
878
|
*/
|
|
@@ -584,7 +584,9 @@ export type retryFrenchEReportingRecordResponse = (retryFrenchEReportingRecordRe
|
|
|
584
584
|
export declare const getRetryFrenchEReportingRecordUrl: (id: string) => string;
|
|
585
585
|
export declare const retryFrenchEReportingRecord: (id: string, options?: RequestInit) => Promise<retryFrenchEReportingRecordResponse>;
|
|
586
586
|
/**
|
|
587
|
-
* Deprecated
|
|
587
|
+
* **Deprecated:** use `PATCH /e-invoicing/settings` instead. Responses carry `Deprecation` and `Sunset` headers; this endpoint will be removed after 2027-01-01. See the [deprecations guide](https://docs.spaceinvoices.com/guides/deprecations/).
|
|
588
|
+
|
|
589
|
+
Enables Peppol sending for the entity.
|
|
588
590
|
* @deprecated
|
|
589
591
|
* @summary Register supplier (deprecated)
|
|
590
592
|
*/
|
|
@@ -630,7 +632,9 @@ export type registerEInvoicingSupplierResponse = (registerEInvoicingSupplierResp
|
|
|
630
632
|
export declare const getRegisterEInvoicingSupplierUrl: () => string;
|
|
631
633
|
export declare const registerEInvoicingSupplier: (registerEInvoicingSupplierRequest: RegisterEInvoicingSupplierRequest, options?: RequestInit) => Promise<registerEInvoicingSupplierResponse>;
|
|
632
634
|
/**
|
|
633
|
-
* Deprecated
|
|
635
|
+
* **Deprecated:** use `GET /e-invoicing/settings` instead. Responses carry `Deprecation` and `Sunset` headers; this endpoint will be removed after 2027-01-01. See the [deprecations guide](https://docs.spaceinvoices.com/guides/deprecations/).
|
|
636
|
+
|
|
637
|
+
Returns the entity's Peppol enrollment state.
|
|
634
638
|
* @deprecated
|
|
635
639
|
* @summary Get supplier status (deprecated)
|
|
636
640
|
*/
|
|
@@ -668,7 +672,9 @@ export type getEInvoicingSupplierResponse = (getEInvoicingSupplierResponseSucces
|
|
|
668
672
|
export declare const getGetEInvoicingSupplierUrl: () => string;
|
|
669
673
|
export declare const getEInvoicingSupplier: (options?: RequestInit) => Promise<getEInvoicingSupplierResponse>;
|
|
670
674
|
/**
|
|
671
|
-
* Deprecated
|
|
675
|
+
* **Deprecated:** use `PUT /entities/{id}` instead. Responses carry `Deprecation` and `Sunset` headers; this endpoint will be removed after 2027-01-01. See the [deprecations guide](https://docs.spaceinvoices.com/guides/deprecations/).
|
|
676
|
+
|
|
677
|
+
The entity profile is canonical for Peppol enrollment data.
|
|
672
678
|
* @deprecated
|
|
673
679
|
* @summary Update supplier (deprecated)
|
|
674
680
|
*/
|
|
@@ -759,7 +765,7 @@ export type checkEInvoicingRecipientResponse = (checkEInvoicingRecipientResponse
|
|
|
759
765
|
export declare const getCheckEInvoicingRecipientUrl: () => string;
|
|
760
766
|
export declare const checkEInvoicingRecipient: (checkEInvoicingRecipientRequest: CheckEInvoicingRecipientRequest, options?: RequestInit) => Promise<checkEInvoicingRecipientResponse>;
|
|
761
767
|
/**
|
|
762
|
-
* Deprecated
|
|
768
|
+
* **Deprecated:** use `POST /e-invoicing/recipients/check` instead. Responses carry `Deprecation` and `Sunset` headers; this endpoint will be removed after 2027-01-01. See the [deprecations guide](https://docs.spaceinvoices.com/guides/deprecations/).
|
|
763
769
|
* @deprecated
|
|
764
770
|
* @summary Search Peppol customer (deprecated)
|
|
765
771
|
*/
|
|
@@ -854,7 +860,7 @@ export type sendEInvoicingDocumentResponse = (sendEInvoicingDocumentResponseSucc
|
|
|
854
860
|
export declare const getSendEInvoicingDocumentUrl: (id: string) => string;
|
|
855
861
|
export declare const sendEInvoicingDocument: (id: string, sendEInvoiceRequest?: SendEInvoiceRequest, options?: RequestInit) => Promise<sendEInvoicingDocumentResponse>;
|
|
856
862
|
/**
|
|
857
|
-
* Deprecated
|
|
863
|
+
* **Deprecated:** use `POST /e-invoicing/documents/{id}/send` instead. Responses carry `Deprecation` and `Sunset` headers; this endpoint will be removed after 2027-01-01. See the [deprecations guide](https://docs.spaceinvoices.com/guides/deprecations/).
|
|
858
864
|
* @deprecated
|
|
859
865
|
* @summary Send e-invoice (deprecated)
|
|
860
866
|
*/
|
|
@@ -584,7 +584,9 @@ export type retryFrenchEReportingRecordResponse = (retryFrenchEReportingRecordRe
|
|
|
584
584
|
export declare const getRetryFrenchEReportingRecordUrl: (id: string) => string;
|
|
585
585
|
export declare const retryFrenchEReportingRecord: (id: string, options?: RequestInit) => Promise<retryFrenchEReportingRecordResponse>;
|
|
586
586
|
/**
|
|
587
|
-
* Deprecated
|
|
587
|
+
* **Deprecated:** use `PATCH /e-invoicing/settings` instead. Responses carry `Deprecation` and `Sunset` headers; this endpoint will be removed after 2027-01-01. See the [deprecations guide](https://docs.spaceinvoices.com/guides/deprecations/).
|
|
588
|
+
|
|
589
|
+
Enables Peppol sending for the entity.
|
|
588
590
|
* @deprecated
|
|
589
591
|
* @summary Register supplier (deprecated)
|
|
590
592
|
*/
|
|
@@ -630,7 +632,9 @@ export type registerEInvoicingSupplierResponse = (registerEInvoicingSupplierResp
|
|
|
630
632
|
export declare const getRegisterEInvoicingSupplierUrl: () => string;
|
|
631
633
|
export declare const registerEInvoicingSupplier: (registerEInvoicingSupplierRequest: RegisterEInvoicingSupplierRequest, options?: RequestInit) => Promise<registerEInvoicingSupplierResponse>;
|
|
632
634
|
/**
|
|
633
|
-
* Deprecated
|
|
635
|
+
* **Deprecated:** use `GET /e-invoicing/settings` instead. Responses carry `Deprecation` and `Sunset` headers; this endpoint will be removed after 2027-01-01. See the [deprecations guide](https://docs.spaceinvoices.com/guides/deprecations/).
|
|
636
|
+
|
|
637
|
+
Returns the entity's Peppol enrollment state.
|
|
634
638
|
* @deprecated
|
|
635
639
|
* @summary Get supplier status (deprecated)
|
|
636
640
|
*/
|
|
@@ -668,7 +672,9 @@ export type getEInvoicingSupplierResponse = (getEInvoicingSupplierResponseSucces
|
|
|
668
672
|
export declare const getGetEInvoicingSupplierUrl: () => string;
|
|
669
673
|
export declare const getEInvoicingSupplier: (options?: RequestInit) => Promise<getEInvoicingSupplierResponse>;
|
|
670
674
|
/**
|
|
671
|
-
* Deprecated
|
|
675
|
+
* **Deprecated:** use `PUT /entities/{id}` instead. Responses carry `Deprecation` and `Sunset` headers; this endpoint will be removed after 2027-01-01. See the [deprecations guide](https://docs.spaceinvoices.com/guides/deprecations/).
|
|
676
|
+
|
|
677
|
+
The entity profile is canonical for Peppol enrollment data.
|
|
672
678
|
* @deprecated
|
|
673
679
|
* @summary Update supplier (deprecated)
|
|
674
680
|
*/
|
|
@@ -759,7 +765,7 @@ export type checkEInvoicingRecipientResponse = (checkEInvoicingRecipientResponse
|
|
|
759
765
|
export declare const getCheckEInvoicingRecipientUrl: () => string;
|
|
760
766
|
export declare const checkEInvoicingRecipient: (checkEInvoicingRecipientRequest: CheckEInvoicingRecipientRequest, options?: RequestInit) => Promise<checkEInvoicingRecipientResponse>;
|
|
761
767
|
/**
|
|
762
|
-
* Deprecated
|
|
768
|
+
* **Deprecated:** use `POST /e-invoicing/recipients/check` instead. Responses carry `Deprecation` and `Sunset` headers; this endpoint will be removed after 2027-01-01. See the [deprecations guide](https://docs.spaceinvoices.com/guides/deprecations/).
|
|
763
769
|
* @deprecated
|
|
764
770
|
* @summary Search Peppol customer (deprecated)
|
|
765
771
|
*/
|
|
@@ -854,7 +860,7 @@ export type sendEInvoicingDocumentResponse = (sendEInvoicingDocumentResponseSucc
|
|
|
854
860
|
export declare const getSendEInvoicingDocumentUrl: (id: string) => string;
|
|
855
861
|
export declare const sendEInvoicingDocument: (id: string, sendEInvoiceRequest?: SendEInvoiceRequest, options?: RequestInit) => Promise<sendEInvoicingDocumentResponse>;
|
|
856
862
|
/**
|
|
857
|
-
* Deprecated
|
|
863
|
+
* **Deprecated:** use `POST /e-invoicing/documents/{id}/send` instead. Responses carry `Deprecation` and `Sunset` headers; this endpoint will be removed after 2027-01-01. See the [deprecations guide](https://docs.spaceinvoices.com/guides/deprecations/).
|
|
858
864
|
* @deprecated
|
|
859
865
|
* @summary Send e-invoice (deprecated)
|
|
860
866
|
*/
|
|
@@ -960,7 +960,9 @@ export type voidInvoiceResponse = (voidInvoiceResponseSuccess | voidInvoiceRespo
|
|
|
960
960
|
export declare const getVoidInvoiceUrl: (id: string) => string;
|
|
961
961
|
export declare const voidInvoice: (id: string, voidInvoiceBody: VoidInvoiceBody, options?: RequestInit) => Promise<voidInvoiceResponse>;
|
|
962
962
|
/**
|
|
963
|
-
* Deprecated
|
|
963
|
+
* **Deprecated:** use `POST /documents/{id}/fiscalize` instead. Responses carry `Deprecation` and `Sunset` headers; this endpoint will be removed after 2027-01-01. See the [deprecations guide](https://docs.spaceinvoices.com/guides/deprecations/).
|
|
964
|
+
|
|
965
|
+
Manually fiscalize an invoice that was created before FURS was enabled. Creates or reuses a dedicated "OLD" device under an existing active FURS premise, assigns a new sequential FURS number (Premise-OLD-N), and submits to FURS with SubsequentSubmit=true and SpecialNotes=#OLDINV;. The original invoice number remains unchanged.
|
|
964
966
|
* @deprecated
|
|
965
967
|
* @summary Fiscalize an old invoice (deprecated)
|
|
966
968
|
*/
|
|
@@ -960,7 +960,9 @@ export type voidInvoiceResponse = (voidInvoiceResponseSuccess | voidInvoiceRespo
|
|
|
960
960
|
export declare const getVoidInvoiceUrl: (id: string) => string;
|
|
961
961
|
export declare const voidInvoice: (id: string, voidInvoiceBody: VoidInvoiceBody, options?: RequestInit) => Promise<voidInvoiceResponse>;
|
|
962
962
|
/**
|
|
963
|
-
* Deprecated
|
|
963
|
+
* **Deprecated:** use `POST /documents/{id}/fiscalize` instead. Responses carry `Deprecation` and `Sunset` headers; this endpoint will be removed after 2027-01-01. See the [deprecations guide](https://docs.spaceinvoices.com/guides/deprecations/).
|
|
964
|
+
|
|
965
|
+
Manually fiscalize an invoice that was created before FURS was enabled. Creates or reuses a dedicated "OLD" device under an existing active FURS premise, assigns a new sequential FURS number (Premise-OLD-N), and submits to FURS with SubsequentSubmit=true and SpecialNotes=#OLDINV;. The original invoice number remains unchanged.
|
|
964
966
|
* @deprecated
|
|
965
967
|
* @summary Fiscalize an old invoice (deprecated)
|
|
966
968
|
*/
|
|
@@ -36,7 +36,7 @@ export type GetFilesParams = {
|
|
|
36
36
|
*/
|
|
37
37
|
document_id?: string;
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
39
|
+
* Alias for document_id. Deprecated: use `document_id` instead. It will be removed after 2027-01-01 (see the [deprecations guide](https://docs.spaceinvoices.com/guides/deprecations/)). Requests that use it get `Deprecation` and `Sunset` response headers.
|
|
40
40
|
* @deprecated
|
|
41
41
|
*/
|
|
42
42
|
account_payable_id?: string;
|
|
@@ -36,7 +36,7 @@ export type GetFilesParams = {
|
|
|
36
36
|
*/
|
|
37
37
|
document_id?: string;
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
39
|
+
* Alias for document_id. Deprecated: use `document_id` instead. It will be removed after 2027-01-01 (see the [deprecations guide](https://docs.spaceinvoices.com/guides/deprecations/)). Requests that use it get `Deprecation` and `Sunset` response headers.
|
|
40
40
|
* @deprecated
|
|
41
41
|
*/
|
|
42
42
|
account_payable_id?: string;
|
|
@@ -17,7 +17,7 @@ export type UploadFileBody = {
|
|
|
17
17
|
*/
|
|
18
18
|
document_id?: string | null;
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Alias for document_id. Uploads through this field keep the general attachment size limit and are not subject to the per-document count and total limits. Deprecated: use `document_id` instead. It will be removed after 2027-01-01 (see the [deprecations guide](https://docs.spaceinvoices.com/guides/deprecations/)). Requests that use it get `Deprecation` and `Sunset` response headers.
|
|
21
21
|
* @deprecated
|
|
22
22
|
*/
|
|
23
23
|
account_payable_id?: string;
|
|
@@ -17,7 +17,7 @@ export type UploadFileBody = {
|
|
|
17
17
|
*/
|
|
18
18
|
document_id?: string | null;
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Alias for document_id. Uploads through this field keep the general attachment size limit and are not subject to the per-document count and total limits. Deprecated: use `document_id` instead. It will be removed after 2027-01-01 (see the [deprecations guide](https://docs.spaceinvoices.com/guides/deprecations/)). Requests that use it get `Deprecation` and `Sunset` response headers.
|
|
21
21
|
* @deprecated
|
|
22
22
|
*/
|
|
23
23
|
account_payable_id?: string;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import type { Error, TransactionTypeCheckRequest, TransactionTypeCheckResponse, ValidationError } from '../model/index.cjs';
|
|
9
9
|
/**
|
|
10
|
-
* **Deprecated:**
|
|
10
|
+
* **Deprecated:** use `POST /transaction-type/check` instead. Responses carry `Deprecation` and `Sunset` headers; this endpoint will be removed after 2027-01-01. See the [deprecations guide](https://docs.spaceinvoices.com/guides/deprecations/).
|
|
11
11
|
|
|
12
12
|
This endpoint never selects an entity. When `items` are sent, a line's own `classification` is used, but a line that only has an `item_id` cannot take its classification from the catalog here and counts as unclassified. Use `POST /transaction-type/check` with the entity selected for that.
|
|
13
13
|
* @deprecated
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import type { Error, TransactionTypeCheckRequest, TransactionTypeCheckResponse, ValidationError } from '../model/index.js';
|
|
9
9
|
/**
|
|
10
|
-
* **Deprecated:**
|
|
10
|
+
* **Deprecated:** use `POST /transaction-type/check` instead. Responses carry `Deprecation` and `Sunset` headers; this endpoint will be removed after 2027-01-01. See the [deprecations guide](https://docs.spaceinvoices.com/guides/deprecations/).
|
|
11
11
|
|
|
12
12
|
This endpoint never selects an entity. When `items` are sent, a line's own `classification` is used, but a line that only has an `item_id` cannot take its classification from the catalog here and counts as unclassified. Use `POST /transaction-type/check` with the entity selected for that.
|
|
13
13
|
* @deprecated
|
|
@@ -31041,7 +31041,9 @@ export declare const RenderCreditNotePreviewBody: zod.ZodUnion<readonly [zod.Zod
|
|
|
31041
31041
|
}, zod.z.core.$strip>>>>;
|
|
31042
31042
|
}, zod.z.core.$strip>]>;
|
|
31043
31043
|
/**
|
|
31044
|
-
* Deprecated
|
|
31044
|
+
* **Deprecated:** use `POST /documents/{id}/fiscalize` instead. Responses carry `Deprecation` and `Sunset` headers; this endpoint will be removed after 2027-01-01. See the [deprecations guide](https://docs.spaceinvoices.com/guides/deprecations/).
|
|
31045
|
+
|
|
31046
|
+
Manually fiscalize a credit note that was created before FURS was enabled. Creates or reuses a dedicated "OLD" device under an existing active FURS premise, assigns a new sequential FURS number (Premise-OLD-N), and submits to FURS with SubsequentSubmit=true and SpecialNotes=#OLDINV;. The original credit note number remains unchanged.
|
|
31045
31047
|
* @deprecated
|
|
31046
31048
|
* @summary Fiscalize an old credit note (deprecated)
|
|
31047
31049
|
*/
|
|
@@ -31041,7 +31041,9 @@ export declare const RenderCreditNotePreviewBody: zod.ZodUnion<readonly [zod.Zod
|
|
|
31041
31041
|
}, zod.z.core.$strip>>>>;
|
|
31042
31042
|
}, zod.z.core.$strip>]>;
|
|
31043
31043
|
/**
|
|
31044
|
-
* Deprecated
|
|
31044
|
+
* **Deprecated:** use `POST /documents/{id}/fiscalize` instead. Responses carry `Deprecation` and `Sunset` headers; this endpoint will be removed after 2027-01-01. See the [deprecations guide](https://docs.spaceinvoices.com/guides/deprecations/).
|
|
31045
|
+
|
|
31046
|
+
Manually fiscalize a credit note that was created before FURS was enabled. Creates or reuses a dedicated "OLD" device under an existing active FURS premise, assigns a new sequential FURS number (Premise-OLD-N), and submits to FURS with SubsequentSubmit=true and SpecialNotes=#OLDINV;. The original credit note number remains unchanged.
|
|
31045
31047
|
* @deprecated
|
|
31046
31048
|
* @summary Fiscalize an old credit note (deprecated)
|
|
31047
31049
|
*/
|
|
@@ -511,7 +511,9 @@ export declare const RetryFrenchEReportingRecordResponse: zod.ZodObject<{
|
|
|
511
511
|
updated_at: zod.z.ZodISODateTime;
|
|
512
512
|
}, zod.z.core.$strip>;
|
|
513
513
|
/**
|
|
514
|
-
* Deprecated
|
|
514
|
+
* **Deprecated:** use `PATCH /e-invoicing/settings` instead. Responses carry `Deprecation` and `Sunset` headers; this endpoint will be removed after 2027-01-01. See the [deprecations guide](https://docs.spaceinvoices.com/guides/deprecations/).
|
|
515
|
+
|
|
516
|
+
Enables Peppol sending for the entity.
|
|
515
517
|
* @deprecated
|
|
516
518
|
* @summary Register supplier (deprecated)
|
|
517
519
|
*/
|
|
@@ -542,7 +544,9 @@ export declare const RegisterEInvoicingSupplierBody: zod.ZodObject<{
|
|
|
542
544
|
contact_phone: zod.ZodOptional<zod.ZodString>;
|
|
543
545
|
}, zod.z.core.$strip>;
|
|
544
546
|
/**
|
|
545
|
-
* Deprecated
|
|
547
|
+
* **Deprecated:** use `GET /e-invoicing/settings` instead. Responses carry `Deprecation` and `Sunset` headers; this endpoint will be removed after 2027-01-01. See the [deprecations guide](https://docs.spaceinvoices.com/guides/deprecations/).
|
|
548
|
+
|
|
549
|
+
Returns the entity's Peppol enrollment state.
|
|
546
550
|
* @deprecated
|
|
547
551
|
* @summary Get supplier status (deprecated)
|
|
548
552
|
*/
|
|
@@ -595,7 +599,9 @@ export declare const GetEInvoicingSupplierResponse: zod.ZodObject<{
|
|
|
595
599
|
updated_at: zod.z.ZodISODateTime;
|
|
596
600
|
}, zod.z.core.$strip>;
|
|
597
601
|
/**
|
|
598
|
-
* Deprecated
|
|
602
|
+
* **Deprecated:** use `PUT /entities/{id}` instead. Responses carry `Deprecation` and `Sunset` headers; this endpoint will be removed after 2027-01-01. See the [deprecations guide](https://docs.spaceinvoices.com/guides/deprecations/).
|
|
603
|
+
|
|
604
|
+
The entity profile is canonical for Peppol enrollment data.
|
|
599
605
|
* @deprecated
|
|
600
606
|
* @summary Update supplier (deprecated)
|
|
601
607
|
*/
|
|
@@ -696,7 +702,7 @@ export declare const CheckEInvoicingRecipientResponse: zod.ZodObject<{
|
|
|
696
702
|
document_supported: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
|
|
697
703
|
}, zod.z.core.$strip>;
|
|
698
704
|
/**
|
|
699
|
-
* Deprecated
|
|
705
|
+
* **Deprecated:** use `POST /e-invoicing/recipients/check` instead. Responses carry `Deprecation` and `Sunset` headers; this endpoint will be removed after 2027-01-01. See the [deprecations guide](https://docs.spaceinvoices.com/guides/deprecations/).
|
|
700
706
|
* @deprecated
|
|
701
707
|
* @summary Search Peppol customer (deprecated)
|
|
702
708
|
*/
|
|
@@ -753,7 +759,7 @@ export declare const SendEInvoicingDocumentBody: zod.ZodObject<{
|
|
|
753
759
|
}, zod.z.core.$strip>>>;
|
|
754
760
|
}, zod.z.core.$strip>;
|
|
755
761
|
/**
|
|
756
|
-
* Deprecated
|
|
762
|
+
* **Deprecated:** use `POST /e-invoicing/documents/{id}/send` instead. Responses carry `Deprecation` and `Sunset` headers; this endpoint will be removed after 2027-01-01. See the [deprecations guide](https://docs.spaceinvoices.com/guides/deprecations/).
|
|
757
763
|
* @deprecated
|
|
758
764
|
* @summary Send e-invoice (deprecated)
|
|
759
765
|
*/
|
|
@@ -511,7 +511,9 @@ export declare const RetryFrenchEReportingRecordResponse: zod.ZodObject<{
|
|
|
511
511
|
updated_at: zod.z.ZodISODateTime;
|
|
512
512
|
}, zod.z.core.$strip>;
|
|
513
513
|
/**
|
|
514
|
-
* Deprecated
|
|
514
|
+
* **Deprecated:** use `PATCH /e-invoicing/settings` instead. Responses carry `Deprecation` and `Sunset` headers; this endpoint will be removed after 2027-01-01. See the [deprecations guide](https://docs.spaceinvoices.com/guides/deprecations/).
|
|
515
|
+
|
|
516
|
+
Enables Peppol sending for the entity.
|
|
515
517
|
* @deprecated
|
|
516
518
|
* @summary Register supplier (deprecated)
|
|
517
519
|
*/
|
|
@@ -542,7 +544,9 @@ export declare const RegisterEInvoicingSupplierBody: zod.ZodObject<{
|
|
|
542
544
|
contact_phone: zod.ZodOptional<zod.ZodString>;
|
|
543
545
|
}, zod.z.core.$strip>;
|
|
544
546
|
/**
|
|
545
|
-
* Deprecated
|
|
547
|
+
* **Deprecated:** use `GET /e-invoicing/settings` instead. Responses carry `Deprecation` and `Sunset` headers; this endpoint will be removed after 2027-01-01. See the [deprecations guide](https://docs.spaceinvoices.com/guides/deprecations/).
|
|
548
|
+
|
|
549
|
+
Returns the entity's Peppol enrollment state.
|
|
546
550
|
* @deprecated
|
|
547
551
|
* @summary Get supplier status (deprecated)
|
|
548
552
|
*/
|
|
@@ -595,7 +599,9 @@ export declare const GetEInvoicingSupplierResponse: zod.ZodObject<{
|
|
|
595
599
|
updated_at: zod.z.ZodISODateTime;
|
|
596
600
|
}, zod.z.core.$strip>;
|
|
597
601
|
/**
|
|
598
|
-
* Deprecated
|
|
602
|
+
* **Deprecated:** use `PUT /entities/{id}` instead. Responses carry `Deprecation` and `Sunset` headers; this endpoint will be removed after 2027-01-01. See the [deprecations guide](https://docs.spaceinvoices.com/guides/deprecations/).
|
|
603
|
+
|
|
604
|
+
The entity profile is canonical for Peppol enrollment data.
|
|
599
605
|
* @deprecated
|
|
600
606
|
* @summary Update supplier (deprecated)
|
|
601
607
|
*/
|
|
@@ -696,7 +702,7 @@ export declare const CheckEInvoicingRecipientResponse: zod.ZodObject<{
|
|
|
696
702
|
document_supported: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
|
|
697
703
|
}, zod.z.core.$strip>;
|
|
698
704
|
/**
|
|
699
|
-
* Deprecated
|
|
705
|
+
* **Deprecated:** use `POST /e-invoicing/recipients/check` instead. Responses carry `Deprecation` and `Sunset` headers; this endpoint will be removed after 2027-01-01. See the [deprecations guide](https://docs.spaceinvoices.com/guides/deprecations/).
|
|
700
706
|
* @deprecated
|
|
701
707
|
* @summary Search Peppol customer (deprecated)
|
|
702
708
|
*/
|
|
@@ -753,7 +759,7 @@ export declare const SendEInvoicingDocumentBody: zod.ZodObject<{
|
|
|
753
759
|
}, zod.z.core.$strip>>>;
|
|
754
760
|
}, zod.z.core.$strip>;
|
|
755
761
|
/**
|
|
756
|
-
* Deprecated
|
|
762
|
+
* **Deprecated:** use `POST /e-invoicing/documents/{id}/send` instead. Responses carry `Deprecation` and `Sunset` headers; this endpoint will be removed after 2027-01-01. See the [deprecations guide](https://docs.spaceinvoices.com/guides/deprecations/).
|
|
757
763
|
* @deprecated
|
|
758
764
|
* @summary Send e-invoice (deprecated)
|
|
759
765
|
*/
|
|
@@ -34776,7 +34776,9 @@ export declare const VoidInvoiceResponse: zod.ZodObject<{
|
|
|
34776
34776
|
}, zod.z.core.$strip>>>;
|
|
34777
34777
|
}, zod.z.core.$strip>;
|
|
34778
34778
|
/**
|
|
34779
|
-
* Deprecated
|
|
34779
|
+
* **Deprecated:** use `POST /documents/{id}/fiscalize` instead. Responses carry `Deprecation` and `Sunset` headers; this endpoint will be removed after 2027-01-01. See the [deprecations guide](https://docs.spaceinvoices.com/guides/deprecations/).
|
|
34780
|
+
|
|
34781
|
+
Manually fiscalize an invoice that was created before FURS was enabled. Creates or reuses a dedicated "OLD" device under an existing active FURS premise, assigns a new sequential FURS number (Premise-OLD-N), and submits to FURS with SubsequentSubmit=true and SpecialNotes=#OLDINV;. The original invoice number remains unchanged.
|
|
34780
34782
|
* @deprecated
|
|
34781
34783
|
* @summary Fiscalize an old invoice (deprecated)
|
|
34782
34784
|
*/
|
|
@@ -34776,7 +34776,9 @@ export declare const VoidInvoiceResponse: zod.ZodObject<{
|
|
|
34776
34776
|
}, zod.z.core.$strip>>>;
|
|
34777
34777
|
}, zod.z.core.$strip>;
|
|
34778
34778
|
/**
|
|
34779
|
-
* Deprecated
|
|
34779
|
+
* **Deprecated:** use `POST /documents/{id}/fiscalize` instead. Responses carry `Deprecation` and `Sunset` headers; this endpoint will be removed after 2027-01-01. See the [deprecations guide](https://docs.spaceinvoices.com/guides/deprecations/).
|
|
34780
|
+
|
|
34781
|
+
Manually fiscalize an invoice that was created before FURS was enabled. Creates or reuses a dedicated "OLD" device under an existing active FURS premise, assigns a new sequential FURS number (Premise-OLD-N), and submits to FURS with SubsequentSubmit=true and SpecialNotes=#OLDINV;. The original invoice number remains unchanged.
|
|
34780
34782
|
* @deprecated
|
|
34781
34783
|
* @summary Fiscalize an old invoice (deprecated)
|
|
34782
34784
|
*/
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import * as zod from "zod";
|
|
9
9
|
/**
|
|
10
|
-
* **Deprecated:**
|
|
10
|
+
* **Deprecated:** use `POST /transaction-type/check` instead. Responses carry `Deprecation` and `Sunset` headers; this endpoint will be removed after 2027-01-01. See the [deprecations guide](https://docs.spaceinvoices.com/guides/deprecations/).
|
|
11
11
|
|
|
12
12
|
This endpoint never selects an entity. When `items` are sent, a line's own `classification` is used, but a line that only has an `item_id` cannot take its classification from the catalog here and counts as unclassified. Use `POST /transaction-type/check` with the entity selected for that.
|
|
13
13
|
* @deprecated
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import * as zod from "zod";
|
|
9
9
|
/**
|
|
10
|
-
* **Deprecated:**
|
|
10
|
+
* **Deprecated:** use `POST /transaction-type/check` instead. Responses carry `Deprecation` and `Sunset` headers; this endpoint will be removed after 2027-01-01. See the [deprecations guide](https://docs.spaceinvoices.com/guides/deprecations/).
|
|
11
11
|
|
|
12
12
|
This endpoint never selects an entity. When `items` are sent, a line's own `classification` is used, but a line that only has an `item_id` cannot take its classification from the catalog here and counts as unclassified. Use `POST /transaction-type/check` with the entity selected for that.
|
|
13
13
|
* @deprecated
|