@spaceinvoices/js-sdk 18.14.0 → 18.16.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 +10 -2
- package/dist/generated/credit-notes/credit-notes.d.ts +10 -2
- package/dist/generated/documents/documents.d.cts +10 -2
- package/dist/generated/documents/documents.d.ts +10 -2
- package/dist/generated/e-invoicing/e-invoicing.d.cts +1 -1
- package/dist/generated/e-invoicing/e-invoicing.d.ts +1 -1
- package/dist/generated/invoices/invoices.d.cts +15 -3
- package/dist/generated/invoices/invoices.d.ts +15 -3
- package/dist/generated/model/completeCreditNotePreview.d.cts +1 -1
- package/dist/generated/model/completeCreditNotePreview.d.ts +1 -1
- package/dist/generated/model/createCreditNote.d.cts +1 -1
- package/dist/generated/model/createCreditNote.d.ts +1 -1
- package/dist/generated/model/customCreateCreditNote.d.cts +1 -1
- package/dist/generated/model/customCreateCreditNote.d.ts +1 -1
- package/dist/generated/model/eInvoicingDeliveryRoute.d.cts +17 -0
- package/dist/generated/model/eInvoicingDeliveryRoute.d.ts +17 -0
- package/dist/generated/model/eInvoicingSubmission.d.cts +3 -0
- package/dist/generated/model/eInvoicingSubmission.d.ts +3 -0
- package/dist/generated/model/eInvoicingSubmissionDetail.d.cts +3 -0
- package/dist/generated/model/eInvoicingSubmissionDetail.d.ts +3 -0
- package/dist/generated/model/index.d.cts +1 -0
- package/dist/generated/model/index.d.ts +1 -0
- package/dist/generated/model/partialCreditNotePreview.d.cts +1 -1
- package/dist/generated/model/partialCreditNotePreview.d.ts +1 -1
- package/dist/generated/model/updateCreditNote.d.cts +1 -1
- package/dist/generated/model/updateCreditNote.d.ts +1 -1
- package/dist/generated-zod/e-invoicing/e-invoicing.d.cts +4 -1
- package/dist/generated-zod/e-invoicing/e-invoicing.d.ts +4 -1
- package/dist/index.cjs +8 -8
- package/dist/index.js +8 -8
- package/dist/sdk-runtime.cjs +1 -1
- package/dist/sdk-runtime.js +1 -1
- package/package.json +1 -1
|
@@ -441,6 +441,10 @@ export type createCreditNoteResponse404 = {
|
|
|
441
441
|
data: Error;
|
|
442
442
|
status: 404;
|
|
443
443
|
};
|
|
444
|
+
export type createCreditNoteResponse409 = {
|
|
445
|
+
data: Error;
|
|
446
|
+
status: 409;
|
|
447
|
+
};
|
|
444
448
|
export type createCreditNoteResponse422 = {
|
|
445
449
|
data: ValidationError;
|
|
446
450
|
status: 422;
|
|
@@ -456,7 +460,7 @@ export type createCreditNoteResponse503 = {
|
|
|
456
460
|
export type createCreditNoteResponseSuccess = (createCreditNoteResponse201) & {
|
|
457
461
|
headers: Headers;
|
|
458
462
|
};
|
|
459
|
-
export type createCreditNoteResponseError = (createCreditNoteResponse400 | createCreditNoteResponse401 | createCreditNoteResponse403 | createCreditNoteResponse404 | createCreditNoteResponse422 | createCreditNoteResponse500 | createCreditNoteResponse503) & {
|
|
463
|
+
export type createCreditNoteResponseError = (createCreditNoteResponse400 | createCreditNoteResponse401 | createCreditNoteResponse403 | createCreditNoteResponse404 | createCreditNoteResponse409 | createCreditNoteResponse422 | createCreditNoteResponse500 | createCreditNoteResponse503) & {
|
|
460
464
|
headers: Headers;
|
|
461
465
|
};
|
|
462
466
|
export type createCreditNoteResponse = (createCreditNoteResponseSuccess | createCreditNoteResponseError);
|
|
@@ -532,6 +536,10 @@ export type createCustomCreditNoteResponse404 = {
|
|
|
532
536
|
data: Error;
|
|
533
537
|
status: 404;
|
|
534
538
|
};
|
|
539
|
+
export type createCustomCreditNoteResponse409 = {
|
|
540
|
+
data: Error;
|
|
541
|
+
status: 409;
|
|
542
|
+
};
|
|
535
543
|
export type createCustomCreditNoteResponse422 = {
|
|
536
544
|
data: ValidationError;
|
|
537
545
|
status: 422;
|
|
@@ -547,7 +555,7 @@ export type createCustomCreditNoteResponse503 = {
|
|
|
547
555
|
export type createCustomCreditNoteResponseSuccess = (createCustomCreditNoteResponse201) & {
|
|
548
556
|
headers: Headers;
|
|
549
557
|
};
|
|
550
|
-
export type createCustomCreditNoteResponseError = (createCustomCreditNoteResponse400 | createCustomCreditNoteResponse401 | createCustomCreditNoteResponse403 | createCustomCreditNoteResponse404 | createCustomCreditNoteResponse422 | createCustomCreditNoteResponse500 | createCustomCreditNoteResponse503) & {
|
|
558
|
+
export type createCustomCreditNoteResponseError = (createCustomCreditNoteResponse400 | createCustomCreditNoteResponse401 | createCustomCreditNoteResponse403 | createCustomCreditNoteResponse404 | createCustomCreditNoteResponse409 | createCustomCreditNoteResponse422 | createCustomCreditNoteResponse500 | createCustomCreditNoteResponse503) & {
|
|
551
559
|
headers: Headers;
|
|
552
560
|
};
|
|
553
561
|
export type createCustomCreditNoteResponse = (createCustomCreditNoteResponseSuccess | createCustomCreditNoteResponseError);
|
|
@@ -441,6 +441,10 @@ export type createCreditNoteResponse404 = {
|
|
|
441
441
|
data: Error;
|
|
442
442
|
status: 404;
|
|
443
443
|
};
|
|
444
|
+
export type createCreditNoteResponse409 = {
|
|
445
|
+
data: Error;
|
|
446
|
+
status: 409;
|
|
447
|
+
};
|
|
444
448
|
export type createCreditNoteResponse422 = {
|
|
445
449
|
data: ValidationError;
|
|
446
450
|
status: 422;
|
|
@@ -456,7 +460,7 @@ export type createCreditNoteResponse503 = {
|
|
|
456
460
|
export type createCreditNoteResponseSuccess = (createCreditNoteResponse201) & {
|
|
457
461
|
headers: Headers;
|
|
458
462
|
};
|
|
459
|
-
export type createCreditNoteResponseError = (createCreditNoteResponse400 | createCreditNoteResponse401 | createCreditNoteResponse403 | createCreditNoteResponse404 | createCreditNoteResponse422 | createCreditNoteResponse500 | createCreditNoteResponse503) & {
|
|
463
|
+
export type createCreditNoteResponseError = (createCreditNoteResponse400 | createCreditNoteResponse401 | createCreditNoteResponse403 | createCreditNoteResponse404 | createCreditNoteResponse409 | createCreditNoteResponse422 | createCreditNoteResponse500 | createCreditNoteResponse503) & {
|
|
460
464
|
headers: Headers;
|
|
461
465
|
};
|
|
462
466
|
export type createCreditNoteResponse = (createCreditNoteResponseSuccess | createCreditNoteResponseError);
|
|
@@ -532,6 +536,10 @@ export type createCustomCreditNoteResponse404 = {
|
|
|
532
536
|
data: Error;
|
|
533
537
|
status: 404;
|
|
534
538
|
};
|
|
539
|
+
export type createCustomCreditNoteResponse409 = {
|
|
540
|
+
data: Error;
|
|
541
|
+
status: 409;
|
|
542
|
+
};
|
|
535
543
|
export type createCustomCreditNoteResponse422 = {
|
|
536
544
|
data: ValidationError;
|
|
537
545
|
status: 422;
|
|
@@ -547,7 +555,7 @@ export type createCustomCreditNoteResponse503 = {
|
|
|
547
555
|
export type createCustomCreditNoteResponseSuccess = (createCustomCreditNoteResponse201) & {
|
|
548
556
|
headers: Headers;
|
|
549
557
|
};
|
|
550
|
-
export type createCustomCreditNoteResponseError = (createCustomCreditNoteResponse400 | createCustomCreditNoteResponse401 | createCustomCreditNoteResponse403 | createCustomCreditNoteResponse404 | createCustomCreditNoteResponse422 | createCustomCreditNoteResponse500 | createCustomCreditNoteResponse503) & {
|
|
558
|
+
export type createCustomCreditNoteResponseError = (createCustomCreditNoteResponse400 | createCustomCreditNoteResponse401 | createCustomCreditNoteResponse403 | createCustomCreditNoteResponse404 | createCustomCreditNoteResponse409 | createCustomCreditNoteResponse422 | createCustomCreditNoteResponse500 | createCustomCreditNoteResponse503) & {
|
|
551
559
|
headers: Headers;
|
|
552
560
|
};
|
|
553
561
|
export type createCustomCreditNoteResponse = (createCustomCreditNoteResponseSuccess | createCustomCreditNoteResponseError);
|
|
@@ -67,6 +67,10 @@ export type calculateDocumentPreviewResponse404 = {
|
|
|
67
67
|
data: Error;
|
|
68
68
|
status: 404;
|
|
69
69
|
};
|
|
70
|
+
export type calculateDocumentPreviewResponse409 = {
|
|
71
|
+
data: Error;
|
|
72
|
+
status: 409;
|
|
73
|
+
};
|
|
70
74
|
export type calculateDocumentPreviewResponse422 = {
|
|
71
75
|
data: ValidationError;
|
|
72
76
|
status: 422;
|
|
@@ -78,7 +82,7 @@ export type calculateDocumentPreviewResponse500 = {
|
|
|
78
82
|
export type calculateDocumentPreviewResponseSuccess = (calculateDocumentPreviewResponse200) & {
|
|
79
83
|
headers: Headers;
|
|
80
84
|
};
|
|
81
|
-
export type calculateDocumentPreviewResponseError = (calculateDocumentPreviewResponse400 | calculateDocumentPreviewResponse401 | calculateDocumentPreviewResponse403 | calculateDocumentPreviewResponse404 | calculateDocumentPreviewResponse422 | calculateDocumentPreviewResponse500) & {
|
|
85
|
+
export type calculateDocumentPreviewResponseError = (calculateDocumentPreviewResponse400 | calculateDocumentPreviewResponse401 | calculateDocumentPreviewResponse403 | calculateDocumentPreviewResponse404 | calculateDocumentPreviewResponse409 | calculateDocumentPreviewResponse422 | calculateDocumentPreviewResponse500) & {
|
|
82
86
|
headers: Headers;
|
|
83
87
|
};
|
|
84
88
|
export type calculateDocumentPreviewResponse = (calculateDocumentPreviewResponseSuccess | calculateDocumentPreviewResponseError);
|
|
@@ -109,6 +113,10 @@ export type finalizeDocumentResponse404 = {
|
|
|
109
113
|
data: Error;
|
|
110
114
|
status: 404;
|
|
111
115
|
};
|
|
116
|
+
export type finalizeDocumentResponse409 = {
|
|
117
|
+
data: Error;
|
|
118
|
+
status: 409;
|
|
119
|
+
};
|
|
112
120
|
export type finalizeDocumentResponse422 = {
|
|
113
121
|
data: ValidationError;
|
|
114
122
|
status: 422;
|
|
@@ -124,7 +132,7 @@ export type finalizeDocumentResponse503 = {
|
|
|
124
132
|
export type finalizeDocumentResponseSuccess = (finalizeDocumentResponse200) & {
|
|
125
133
|
headers: Headers;
|
|
126
134
|
};
|
|
127
|
-
export type finalizeDocumentResponseError = (finalizeDocumentResponse400 | finalizeDocumentResponse401 | finalizeDocumentResponse403 | finalizeDocumentResponse404 | finalizeDocumentResponse422 | finalizeDocumentResponse500 | finalizeDocumentResponse503) & {
|
|
135
|
+
export type finalizeDocumentResponseError = (finalizeDocumentResponse400 | finalizeDocumentResponse401 | finalizeDocumentResponse403 | finalizeDocumentResponse404 | finalizeDocumentResponse409 | finalizeDocumentResponse422 | finalizeDocumentResponse500 | finalizeDocumentResponse503) & {
|
|
128
136
|
headers: Headers;
|
|
129
137
|
};
|
|
130
138
|
export type finalizeDocumentResponse = (finalizeDocumentResponseSuccess | finalizeDocumentResponseError);
|
|
@@ -67,6 +67,10 @@ export type calculateDocumentPreviewResponse404 = {
|
|
|
67
67
|
data: Error;
|
|
68
68
|
status: 404;
|
|
69
69
|
};
|
|
70
|
+
export type calculateDocumentPreviewResponse409 = {
|
|
71
|
+
data: Error;
|
|
72
|
+
status: 409;
|
|
73
|
+
};
|
|
70
74
|
export type calculateDocumentPreviewResponse422 = {
|
|
71
75
|
data: ValidationError;
|
|
72
76
|
status: 422;
|
|
@@ -78,7 +82,7 @@ export type calculateDocumentPreviewResponse500 = {
|
|
|
78
82
|
export type calculateDocumentPreviewResponseSuccess = (calculateDocumentPreviewResponse200) & {
|
|
79
83
|
headers: Headers;
|
|
80
84
|
};
|
|
81
|
-
export type calculateDocumentPreviewResponseError = (calculateDocumentPreviewResponse400 | calculateDocumentPreviewResponse401 | calculateDocumentPreviewResponse403 | calculateDocumentPreviewResponse404 | calculateDocumentPreviewResponse422 | calculateDocumentPreviewResponse500) & {
|
|
85
|
+
export type calculateDocumentPreviewResponseError = (calculateDocumentPreviewResponse400 | calculateDocumentPreviewResponse401 | calculateDocumentPreviewResponse403 | calculateDocumentPreviewResponse404 | calculateDocumentPreviewResponse409 | calculateDocumentPreviewResponse422 | calculateDocumentPreviewResponse500) & {
|
|
82
86
|
headers: Headers;
|
|
83
87
|
};
|
|
84
88
|
export type calculateDocumentPreviewResponse = (calculateDocumentPreviewResponseSuccess | calculateDocumentPreviewResponseError);
|
|
@@ -109,6 +113,10 @@ export type finalizeDocumentResponse404 = {
|
|
|
109
113
|
data: Error;
|
|
110
114
|
status: 404;
|
|
111
115
|
};
|
|
116
|
+
export type finalizeDocumentResponse409 = {
|
|
117
|
+
data: Error;
|
|
118
|
+
status: 409;
|
|
119
|
+
};
|
|
112
120
|
export type finalizeDocumentResponse422 = {
|
|
113
121
|
data: ValidationError;
|
|
114
122
|
status: 422;
|
|
@@ -124,7 +132,7 @@ export type finalizeDocumentResponse503 = {
|
|
|
124
132
|
export type finalizeDocumentResponseSuccess = (finalizeDocumentResponse200) & {
|
|
125
133
|
headers: Headers;
|
|
126
134
|
};
|
|
127
|
-
export type finalizeDocumentResponseError = (finalizeDocumentResponse400 | finalizeDocumentResponse401 | finalizeDocumentResponse403 | finalizeDocumentResponse404 | finalizeDocumentResponse422 | finalizeDocumentResponse500 | finalizeDocumentResponse503) & {
|
|
135
|
+
export type finalizeDocumentResponseError = (finalizeDocumentResponse400 | finalizeDocumentResponse401 | finalizeDocumentResponse403 | finalizeDocumentResponse404 | finalizeDocumentResponse409 | finalizeDocumentResponse422 | finalizeDocumentResponse500 | finalizeDocumentResponse503) & {
|
|
128
136
|
headers: Headers;
|
|
129
137
|
};
|
|
130
138
|
export type finalizeDocumentResponse = (finalizeDocumentResponseSuccess | finalizeDocumentResponseError);
|
|
@@ -797,7 +797,7 @@ export type searchEInvoicingCustomerResponse = (searchEInvoicingCustomerResponse
|
|
|
797
797
|
export declare const getSearchEInvoicingCustomerUrl: () => string;
|
|
798
798
|
export declare const searchEInvoicingCustomer: (eInvoicingCustomerSearchRequest: EInvoicingCustomerSearchRequest, options?: RequestInit) => Promise<searchEInvoicingCustomerResponse>;
|
|
799
799
|
/**
|
|
800
|
-
* Send an invoice or credit note over the entity's configured network. For French entities this also routes B2C and international B2B sales through the required e-reporting process. Supply delivery_address when the physical delivery address differs from the buyer address.
|
|
800
|
+
* Send an invoice or credit note over the entity's configured network. For French entities this also routes B2C and international B2B sales through the required e-reporting process. Supply delivery_address when the physical delivery address differs from the buyer address. Slovenian senders invoicing a Slovenian customer with a valid Slovenian tax number may omit the Peppol address (or give only the VAT-derived 9949 address): candidates are tried in order — the explicit address, the customer's tax number under scheme 9949 with and without the SI prefix (for example 9949:SI12345678, then 9949:12345678), UJP (known budget users only), then the bizBox gateway (9949:bizbox) — and the first registered recipient supporting the document type is used. UJP and bizBox route to the recipient by its Slovenian tax number, which the customer must therefore have. The chosen route is returned as delivery_route.
|
|
801
801
|
* @summary Send document
|
|
802
802
|
*/
|
|
803
803
|
export type sendEInvoicingDocumentResponse201 = {
|
|
@@ -797,7 +797,7 @@ export type searchEInvoicingCustomerResponse = (searchEInvoicingCustomerResponse
|
|
|
797
797
|
export declare const getSearchEInvoicingCustomerUrl: () => string;
|
|
798
798
|
export declare const searchEInvoicingCustomer: (eInvoicingCustomerSearchRequest: EInvoicingCustomerSearchRequest, options?: RequestInit) => Promise<searchEInvoicingCustomerResponse>;
|
|
799
799
|
/**
|
|
800
|
-
* Send an invoice or credit note over the entity's configured network. For French entities this also routes B2C and international B2B sales through the required e-reporting process. Supply delivery_address when the physical delivery address differs from the buyer address.
|
|
800
|
+
* Send an invoice or credit note over the entity's configured network. For French entities this also routes B2C and international B2B sales through the required e-reporting process. Supply delivery_address when the physical delivery address differs from the buyer address. Slovenian senders invoicing a Slovenian customer with a valid Slovenian tax number may omit the Peppol address (or give only the VAT-derived 9949 address): candidates are tried in order — the explicit address, the customer's tax number under scheme 9949 with and without the SI prefix (for example 9949:SI12345678, then 9949:12345678), UJP (known budget users only), then the bizBox gateway (9949:bizbox) — and the first registered recipient supporting the document type is used. UJP and bizBox route to the recipient by its Slovenian tax number, which the customer must therefore have. The chosen route is returned as delivery_route.
|
|
801
801
|
* @summary Send document
|
|
802
802
|
*/
|
|
803
803
|
export type sendEInvoicingDocumentResponse201 = {
|
|
@@ -440,6 +440,10 @@ export type createInvoiceResponse404 = {
|
|
|
440
440
|
data: Error;
|
|
441
441
|
status: 404;
|
|
442
442
|
};
|
|
443
|
+
export type createInvoiceResponse409 = {
|
|
444
|
+
data: Error;
|
|
445
|
+
status: 409;
|
|
446
|
+
};
|
|
443
447
|
export type createInvoiceResponse422 = {
|
|
444
448
|
data: ValidationError;
|
|
445
449
|
status: 422;
|
|
@@ -455,7 +459,7 @@ export type createInvoiceResponse503 = {
|
|
|
455
459
|
export type createInvoiceResponseSuccess = (createInvoiceResponse201) & {
|
|
456
460
|
headers: Headers;
|
|
457
461
|
};
|
|
458
|
-
export type createInvoiceResponseError = (createInvoiceResponse400 | createInvoiceResponse401 | createInvoiceResponse403 | createInvoiceResponse404 | createInvoiceResponse422 | createInvoiceResponse500 | createInvoiceResponse503) & {
|
|
462
|
+
export type createInvoiceResponseError = (createInvoiceResponse400 | createInvoiceResponse401 | createInvoiceResponse403 | createInvoiceResponse404 | createInvoiceResponse409 | createInvoiceResponse422 | createInvoiceResponse500 | createInvoiceResponse503) & {
|
|
459
463
|
headers: Headers;
|
|
460
464
|
};
|
|
461
465
|
export type createInvoiceResponse = (createInvoiceResponseSuccess | createInvoiceResponseError);
|
|
@@ -531,6 +535,10 @@ export type createCustomInvoiceResponse404 = {
|
|
|
531
535
|
data: Error;
|
|
532
536
|
status: 404;
|
|
533
537
|
};
|
|
538
|
+
export type createCustomInvoiceResponse409 = {
|
|
539
|
+
data: Error;
|
|
540
|
+
status: 409;
|
|
541
|
+
};
|
|
534
542
|
export type createCustomInvoiceResponse422 = {
|
|
535
543
|
data: ValidationError;
|
|
536
544
|
status: 422;
|
|
@@ -546,7 +554,7 @@ export type createCustomInvoiceResponse503 = {
|
|
|
546
554
|
export type createCustomInvoiceResponseSuccess = (createCustomInvoiceResponse201) & {
|
|
547
555
|
headers: Headers;
|
|
548
556
|
};
|
|
549
|
-
export type createCustomInvoiceResponseError = (createCustomInvoiceResponse400 | createCustomInvoiceResponse401 | createCustomInvoiceResponse403 | createCustomInvoiceResponse404 | createCustomInvoiceResponse422 | createCustomInvoiceResponse500 | createCustomInvoiceResponse503) & {
|
|
557
|
+
export type createCustomInvoiceResponseError = (createCustomInvoiceResponse400 | createCustomInvoiceResponse401 | createCustomInvoiceResponse403 | createCustomInvoiceResponse404 | createCustomInvoiceResponse409 | createCustomInvoiceResponse422 | createCustomInvoiceResponse500 | createCustomInvoiceResponse503) & {
|
|
550
558
|
headers: Headers;
|
|
551
559
|
};
|
|
552
560
|
export type createCustomInvoiceResponse = (createCustomInvoiceResponseSuccess | createCustomInvoiceResponseError);
|
|
@@ -835,6 +843,10 @@ export type renderInvoicePreviewResponse404 = {
|
|
|
835
843
|
data: Error;
|
|
836
844
|
status: 404;
|
|
837
845
|
};
|
|
846
|
+
export type renderInvoicePreviewResponse409 = {
|
|
847
|
+
data: Error;
|
|
848
|
+
status: 409;
|
|
849
|
+
};
|
|
838
850
|
export type renderInvoicePreviewResponse422 = {
|
|
839
851
|
data: ValidationError;
|
|
840
852
|
status: 422;
|
|
@@ -846,7 +858,7 @@ export type renderInvoicePreviewResponse500 = {
|
|
|
846
858
|
export type renderInvoicePreviewResponseSuccess = (renderInvoicePreviewResponse200) & {
|
|
847
859
|
headers: Headers;
|
|
848
860
|
};
|
|
849
|
-
export type renderInvoicePreviewResponseError = (renderInvoicePreviewResponse400 | renderInvoicePreviewResponse401 | renderInvoicePreviewResponse403 | renderInvoicePreviewResponse404 | renderInvoicePreviewResponse422 | renderInvoicePreviewResponse500) & {
|
|
861
|
+
export type renderInvoicePreviewResponseError = (renderInvoicePreviewResponse400 | renderInvoicePreviewResponse401 | renderInvoicePreviewResponse403 | renderInvoicePreviewResponse404 | renderInvoicePreviewResponse409 | renderInvoicePreviewResponse422 | renderInvoicePreviewResponse500) & {
|
|
850
862
|
headers: Headers;
|
|
851
863
|
};
|
|
852
864
|
export type renderInvoicePreviewResponse = (renderInvoicePreviewResponseSuccess | renderInvoicePreviewResponseError);
|
|
@@ -440,6 +440,10 @@ export type createInvoiceResponse404 = {
|
|
|
440
440
|
data: Error;
|
|
441
441
|
status: 404;
|
|
442
442
|
};
|
|
443
|
+
export type createInvoiceResponse409 = {
|
|
444
|
+
data: Error;
|
|
445
|
+
status: 409;
|
|
446
|
+
};
|
|
443
447
|
export type createInvoiceResponse422 = {
|
|
444
448
|
data: ValidationError;
|
|
445
449
|
status: 422;
|
|
@@ -455,7 +459,7 @@ export type createInvoiceResponse503 = {
|
|
|
455
459
|
export type createInvoiceResponseSuccess = (createInvoiceResponse201) & {
|
|
456
460
|
headers: Headers;
|
|
457
461
|
};
|
|
458
|
-
export type createInvoiceResponseError = (createInvoiceResponse400 | createInvoiceResponse401 | createInvoiceResponse403 | createInvoiceResponse404 | createInvoiceResponse422 | createInvoiceResponse500 | createInvoiceResponse503) & {
|
|
462
|
+
export type createInvoiceResponseError = (createInvoiceResponse400 | createInvoiceResponse401 | createInvoiceResponse403 | createInvoiceResponse404 | createInvoiceResponse409 | createInvoiceResponse422 | createInvoiceResponse500 | createInvoiceResponse503) & {
|
|
459
463
|
headers: Headers;
|
|
460
464
|
};
|
|
461
465
|
export type createInvoiceResponse = (createInvoiceResponseSuccess | createInvoiceResponseError);
|
|
@@ -531,6 +535,10 @@ export type createCustomInvoiceResponse404 = {
|
|
|
531
535
|
data: Error;
|
|
532
536
|
status: 404;
|
|
533
537
|
};
|
|
538
|
+
export type createCustomInvoiceResponse409 = {
|
|
539
|
+
data: Error;
|
|
540
|
+
status: 409;
|
|
541
|
+
};
|
|
534
542
|
export type createCustomInvoiceResponse422 = {
|
|
535
543
|
data: ValidationError;
|
|
536
544
|
status: 422;
|
|
@@ -546,7 +554,7 @@ export type createCustomInvoiceResponse503 = {
|
|
|
546
554
|
export type createCustomInvoiceResponseSuccess = (createCustomInvoiceResponse201) & {
|
|
547
555
|
headers: Headers;
|
|
548
556
|
};
|
|
549
|
-
export type createCustomInvoiceResponseError = (createCustomInvoiceResponse400 | createCustomInvoiceResponse401 | createCustomInvoiceResponse403 | createCustomInvoiceResponse404 | createCustomInvoiceResponse422 | createCustomInvoiceResponse500 | createCustomInvoiceResponse503) & {
|
|
557
|
+
export type createCustomInvoiceResponseError = (createCustomInvoiceResponse400 | createCustomInvoiceResponse401 | createCustomInvoiceResponse403 | createCustomInvoiceResponse404 | createCustomInvoiceResponse409 | createCustomInvoiceResponse422 | createCustomInvoiceResponse500 | createCustomInvoiceResponse503) & {
|
|
550
558
|
headers: Headers;
|
|
551
559
|
};
|
|
552
560
|
export type createCustomInvoiceResponse = (createCustomInvoiceResponseSuccess | createCustomInvoiceResponseError);
|
|
@@ -835,6 +843,10 @@ export type renderInvoicePreviewResponse404 = {
|
|
|
835
843
|
data: Error;
|
|
836
844
|
status: 404;
|
|
837
845
|
};
|
|
846
|
+
export type renderInvoicePreviewResponse409 = {
|
|
847
|
+
data: Error;
|
|
848
|
+
status: 409;
|
|
849
|
+
};
|
|
838
850
|
export type renderInvoicePreviewResponse422 = {
|
|
839
851
|
data: ValidationError;
|
|
840
852
|
status: 422;
|
|
@@ -846,7 +858,7 @@ export type renderInvoicePreviewResponse500 = {
|
|
|
846
858
|
export type renderInvoicePreviewResponseSuccess = (renderInvoicePreviewResponse200) & {
|
|
847
859
|
headers: Headers;
|
|
848
860
|
};
|
|
849
|
-
export type renderInvoicePreviewResponseError = (renderInvoicePreviewResponse400 | renderInvoicePreviewResponse401 | renderInvoicePreviewResponse403 | renderInvoicePreviewResponse404 | renderInvoicePreviewResponse422 | renderInvoicePreviewResponse500) & {
|
|
861
|
+
export type renderInvoicePreviewResponseError = (renderInvoicePreviewResponse400 | renderInvoicePreviewResponse401 | renderInvoicePreviewResponse403 | renderInvoicePreviewResponse404 | renderInvoicePreviewResponse409 | renderInvoicePreviewResponse422 | renderInvoicePreviewResponse500) & {
|
|
850
862
|
headers: Headers;
|
|
851
863
|
};
|
|
852
864
|
export type renderInvoicePreviewResponse = (renderInvoicePreviewResponseSuccess | renderInvoicePreviewResponseError);
|
|
@@ -135,7 +135,7 @@ export interface CompleteCreditNotePreview {
|
|
|
135
135
|
*/
|
|
136
136
|
items: CreateDocumentItem[];
|
|
137
137
|
/**
|
|
138
|
-
* Link this credit note to invoices. Accepts invoice IDs (inv_xxx). Creates 'credit_for' document relations. If no payment is specified and linked invoices have remaining balance, automatically applies the credit note to the invoices.
|
|
138
|
+
* Link this credit note to invoices. Accepts invoice IDs (inv_xxx). Creates 'credit_for' document relations. If no payment is specified and linked invoices have remaining balance, automatically applies the credit note to the invoices. Hungarian NAV-reporting entities may also link a NAV-reported, fully paid advance invoice (adv_xxx) that has not been applied to a final invoice; it is reported to NAV as a modification of the advance invoice.
|
|
139
139
|
* @nullable
|
|
140
140
|
*/
|
|
141
141
|
linked_documents?: string[] | null;
|
|
@@ -135,7 +135,7 @@ export interface CompleteCreditNotePreview {
|
|
|
135
135
|
*/
|
|
136
136
|
items: CreateDocumentItem[];
|
|
137
137
|
/**
|
|
138
|
-
* Link this credit note to invoices. Accepts invoice IDs (inv_xxx). Creates 'credit_for' document relations. If no payment is specified and linked invoices have remaining balance, automatically applies the credit note to the invoices.
|
|
138
|
+
* Link this credit note to invoices. Accepts invoice IDs (inv_xxx). Creates 'credit_for' document relations. If no payment is specified and linked invoices have remaining balance, automatically applies the credit note to the invoices. Hungarian NAV-reporting entities may also link a NAV-reported, fully paid advance invoice (adv_xxx) that has not been applied to a final invoice; it is reported to NAV as a modification of the advance invoice.
|
|
139
139
|
* @nullable
|
|
140
140
|
*/
|
|
141
141
|
linked_documents?: string[] | null;
|
|
@@ -136,7 +136,7 @@ export interface CreateCreditNote {
|
|
|
136
136
|
*/
|
|
137
137
|
items: CreateDocumentItem[];
|
|
138
138
|
/**
|
|
139
|
-
* Link this credit note to invoices. Accepts invoice IDs (inv_xxx). Creates 'credit_for' document relations. If no payment is specified and linked invoices have remaining balance, automatically applies the credit note to the invoices.
|
|
139
|
+
* Link this credit note to invoices. Accepts invoice IDs (inv_xxx). Creates 'credit_for' document relations. If no payment is specified and linked invoices have remaining balance, automatically applies the credit note to the invoices. Hungarian NAV-reporting entities may also link a NAV-reported, fully paid advance invoice (adv_xxx) that has not been applied to a final invoice; it is reported to NAV as a modification of the advance invoice.
|
|
140
140
|
* @nullable
|
|
141
141
|
*/
|
|
142
142
|
linked_documents?: string[] | null;
|
|
@@ -136,7 +136,7 @@ export interface CreateCreditNote {
|
|
|
136
136
|
*/
|
|
137
137
|
items: CreateDocumentItem[];
|
|
138
138
|
/**
|
|
139
|
-
* Link this credit note to invoices. Accepts invoice IDs (inv_xxx). Creates 'credit_for' document relations. If no payment is specified and linked invoices have remaining balance, automatically applies the credit note to the invoices.
|
|
139
|
+
* Link this credit note to invoices. Accepts invoice IDs (inv_xxx). Creates 'credit_for' document relations. If no payment is specified and linked invoices have remaining balance, automatically applies the credit note to the invoices. Hungarian NAV-reporting entities may also link a NAV-reported, fully paid advance invoice (adv_xxx) that has not been applied to a final invoice; it is reported to NAV as a modification of the advance invoice.
|
|
140
140
|
* @nullable
|
|
141
141
|
*/
|
|
142
142
|
linked_documents?: string[] | null;
|
|
@@ -136,7 +136,7 @@ export interface CustomCreateCreditNote {
|
|
|
136
136
|
/** @nullable */
|
|
137
137
|
taxes?: DocumentSummaryTax[] | null;
|
|
138
138
|
/**
|
|
139
|
-
* Link this credit note to invoices.
|
|
139
|
+
* Link this credit note to invoices. Hungarian NAV-reporting entities may also link a NAV-reported, fully paid advance invoice (adv_xxx) that has not been applied to a final invoice; it is reported to NAV as a modification of the advance invoice.
|
|
140
140
|
* @nullable
|
|
141
141
|
*/
|
|
142
142
|
linked_documents?: string[] | null;
|
|
@@ -136,7 +136,7 @@ export interface CustomCreateCreditNote {
|
|
|
136
136
|
/** @nullable */
|
|
137
137
|
taxes?: DocumentSummaryTax[] | null;
|
|
138
138
|
/**
|
|
139
|
-
* Link this credit note to invoices.
|
|
139
|
+
* Link this credit note to invoices. Hungarian NAV-reporting entities may also link a NAV-reported, fully paid advance invoice (adv_xxx) that has not been applied to a final invoice; it is reported to NAV as a modification of the advance invoice.
|
|
140
140
|
* @nullable
|
|
141
141
|
*/
|
|
142
142
|
linked_documents?: string[] | null;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.5.3 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Space Invoices API
|
|
5
|
+
* REST API for invoice management, customer management, and accounting operations. Features include cursor-based pagination for efficient data navigation, flexible JSON querying with MongoDB-style operators, full-text search across multiple fields, and comprehensive metadata support for custom tracking.
|
|
6
|
+
* OpenAPI spec version: 1.0.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Peppol delivery route: `direct` — the recipient's own Peppol registration; `ujp` — UJP, the single Peppol access point for Slovenian public budget users; `bizbox` — the bizBox gateway, which forwards to Slovenian recipients by their tax number. `null` for non-Peppol submissions.
|
|
10
|
+
* @nullable
|
|
11
|
+
*/
|
|
12
|
+
export type EInvoicingDeliveryRoute = typeof EInvoicingDeliveryRoute[keyof typeof EInvoicingDeliveryRoute] | null;
|
|
13
|
+
export declare const EInvoicingDeliveryRoute: {
|
|
14
|
+
readonly direct: "direct";
|
|
15
|
+
readonly ujp: "ujp";
|
|
16
|
+
readonly bizbox: "bizbox";
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.5.3 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Space Invoices API
|
|
5
|
+
* REST API for invoice management, customer management, and accounting operations. Features include cursor-based pagination for efficient data navigation, flexible JSON querying with MongoDB-style operators, full-text search across multiple fields, and comprehensive metadata support for custom tracking.
|
|
6
|
+
* OpenAPI spec version: 1.0.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Peppol delivery route: `direct` — the recipient's own Peppol registration; `ujp` — UJP, the single Peppol access point for Slovenian public budget users; `bizbox` — the bizBox gateway, which forwards to Slovenian recipients by their tax number. `null` for non-Peppol submissions.
|
|
10
|
+
* @nullable
|
|
11
|
+
*/
|
|
12
|
+
export type EInvoicingDeliveryRoute = typeof EInvoicingDeliveryRoute[keyof typeof EInvoicingDeliveryRoute] | null;
|
|
13
|
+
export declare const EInvoicingDeliveryRoute: {
|
|
14
|
+
readonly direct: "direct";
|
|
15
|
+
readonly ujp: "ujp";
|
|
16
|
+
readonly bizbox: "bizbox";
|
|
17
|
+
};
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
* REST API for invoice management, customer management, and accounting operations. Features include cursor-based pagination for efficient data navigation, flexible JSON querying with MongoDB-style operators, full-text search across multiple fields, and comprehensive metadata support for custom tracking.
|
|
6
6
|
* OpenAPI spec version: 1.0.0
|
|
7
7
|
*/
|
|
8
|
+
import type { EInvoicingDeliveryRoute } from './eInvoicingDeliveryRoute.cjs';
|
|
8
9
|
import type { EInvoicingSubmissionMetadata } from './eInvoicingSubmissionMetadata.cjs';
|
|
9
10
|
/**
|
|
10
11
|
* E-invoice submission status
|
|
@@ -78,5 +79,7 @@ export interface EInvoicingSubmission {
|
|
|
78
79
|
delivered_at?: string | null;
|
|
79
80
|
created_at: string;
|
|
80
81
|
updated_at: string;
|
|
82
|
+
/** Delivery network, e.g. peppol or france_e_invoicing. */
|
|
81
83
|
network?: string;
|
|
84
|
+
delivery_route?: EInvoicingDeliveryRoute | null;
|
|
82
85
|
}
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
* REST API for invoice management, customer management, and accounting operations. Features include cursor-based pagination for efficient data navigation, flexible JSON querying with MongoDB-style operators, full-text search across multiple fields, and comprehensive metadata support for custom tracking.
|
|
6
6
|
* OpenAPI spec version: 1.0.0
|
|
7
7
|
*/
|
|
8
|
+
import type { EInvoicingDeliveryRoute } from './eInvoicingDeliveryRoute.js';
|
|
8
9
|
import type { EInvoicingSubmissionMetadata } from './eInvoicingSubmissionMetadata.js';
|
|
9
10
|
/**
|
|
10
11
|
* E-invoice submission status
|
|
@@ -78,5 +79,7 @@ export interface EInvoicingSubmission {
|
|
|
78
79
|
delivered_at?: string | null;
|
|
79
80
|
created_at: string;
|
|
80
81
|
updated_at: string;
|
|
82
|
+
/** Delivery network, e.g. peppol or france_e_invoicing. */
|
|
81
83
|
network?: string;
|
|
84
|
+
delivery_route?: EInvoicingDeliveryRoute | null;
|
|
82
85
|
}
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
* REST API for invoice management, customer management, and accounting operations. Features include cursor-based pagination for efficient data navigation, flexible JSON querying with MongoDB-style operators, full-text search across multiple fields, and comprehensive metadata support for custom tracking.
|
|
6
6
|
* OpenAPI spec version: 1.0.0
|
|
7
7
|
*/
|
|
8
|
+
import type { EInvoicingDeliveryRoute } from './eInvoicingDeliveryRoute.cjs';
|
|
8
9
|
import type { EInvoicingSubmissionDetailMetadata } from './eInvoicingSubmissionDetailMetadata.cjs';
|
|
9
10
|
/**
|
|
10
11
|
* E-invoice submission detail including generated UBL XML
|
|
@@ -82,5 +83,7 @@ export interface EInvoicingSubmissionDetail {
|
|
|
82
83
|
delivered_at?: string | null;
|
|
83
84
|
created_at: string;
|
|
84
85
|
updated_at: string;
|
|
86
|
+
/** Delivery network, e.g. peppol or france_e_invoicing. */
|
|
85
87
|
network?: string;
|
|
88
|
+
delivery_route?: EInvoicingDeliveryRoute | null;
|
|
86
89
|
}
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
* REST API for invoice management, customer management, and accounting operations. Features include cursor-based pagination for efficient data navigation, flexible JSON querying with MongoDB-style operators, full-text search across multiple fields, and comprehensive metadata support for custom tracking.
|
|
6
6
|
* OpenAPI spec version: 1.0.0
|
|
7
7
|
*/
|
|
8
|
+
import type { EInvoicingDeliveryRoute } from './eInvoicingDeliveryRoute.js';
|
|
8
9
|
import type { EInvoicingSubmissionDetailMetadata } from './eInvoicingSubmissionDetailMetadata.js';
|
|
9
10
|
/**
|
|
10
11
|
* E-invoice submission detail including generated UBL XML
|
|
@@ -82,5 +83,7 @@ export interface EInvoicingSubmissionDetail {
|
|
|
82
83
|
delivered_at?: string | null;
|
|
83
84
|
created_at: string;
|
|
84
85
|
updated_at: string;
|
|
86
|
+
/** Delivery network, e.g. peppol or france_e_invoicing. */
|
|
85
87
|
network?: string;
|
|
88
|
+
delivery_route?: EInvoicingDeliveryRoute | null;
|
|
86
89
|
}
|
|
@@ -533,6 +533,7 @@ export * from './eetFiscalizationResponseStatus.cjs';
|
|
|
533
533
|
export * from './eInvoiceDeliveryAddress.cjs';
|
|
534
534
|
export * from './eInvoicingCustomerSearchRequest.cjs';
|
|
535
535
|
export * from './eInvoicingCustomerSearchResult.cjs';
|
|
536
|
+
export * from './eInvoicingDeliveryRoute.cjs';
|
|
536
537
|
export * from './eInvoicingEnrollment.cjs';
|
|
537
538
|
export * from './eInvoicingEnrollmentAuthorizationResponse.cjs';
|
|
538
539
|
export * from './eInvoicingEnrollmentChannel.cjs';
|
|
@@ -533,6 +533,7 @@ export * from './eetFiscalizationResponseStatus.js';
|
|
|
533
533
|
export * from './eInvoiceDeliveryAddress.js';
|
|
534
534
|
export * from './eInvoicingCustomerSearchRequest.js';
|
|
535
535
|
export * from './eInvoicingCustomerSearchResult.js';
|
|
536
|
+
export * from './eInvoicingDeliveryRoute.js';
|
|
536
537
|
export * from './eInvoicingEnrollment.js';
|
|
537
538
|
export * from './eInvoicingEnrollmentAuthorizationResponse.js';
|
|
538
539
|
export * from './eInvoicingEnrollmentChannel.js';
|
|
@@ -132,7 +132,7 @@ export interface PartialCreditNotePreview {
|
|
|
132
132
|
/** @minItems 1 */
|
|
133
133
|
items: PartialCreditNotePreviewItemsItem[];
|
|
134
134
|
/**
|
|
135
|
-
* Link this credit note to invoices. Accepts invoice IDs (inv_xxx). Creates 'credit_for' document relations. If no payment is specified and linked invoices have remaining balance, automatically applies the credit note to the invoices.
|
|
135
|
+
* Link this credit note to invoices. Accepts invoice IDs (inv_xxx). Creates 'credit_for' document relations. If no payment is specified and linked invoices have remaining balance, automatically applies the credit note to the invoices. Hungarian NAV-reporting entities may also link a NAV-reported, fully paid advance invoice (adv_xxx) that has not been applied to a final invoice; it is reported to NAV as a modification of the advance invoice.
|
|
136
136
|
* @nullable
|
|
137
137
|
*/
|
|
138
138
|
linked_documents?: string[] | null;
|
|
@@ -132,7 +132,7 @@ export interface PartialCreditNotePreview {
|
|
|
132
132
|
/** @minItems 1 */
|
|
133
133
|
items: PartialCreditNotePreviewItemsItem[];
|
|
134
134
|
/**
|
|
135
|
-
* Link this credit note to invoices. Accepts invoice IDs (inv_xxx). Creates 'credit_for' document relations. If no payment is specified and linked invoices have remaining balance, automatically applies the credit note to the invoices.
|
|
135
|
+
* Link this credit note to invoices. Accepts invoice IDs (inv_xxx). Creates 'credit_for' document relations. If no payment is specified and linked invoices have remaining balance, automatically applies the credit note to the invoices. Hungarian NAV-reporting entities may also link a NAV-reported, fully paid advance invoice (adv_xxx) that has not been applied to a final invoice; it is reported to NAV as a modification of the advance invoice.
|
|
136
136
|
* @nullable
|
|
137
137
|
*/
|
|
138
138
|
linked_documents?: string[] | null;
|
|
@@ -116,7 +116,7 @@ export interface UpdateCreditNote {
|
|
|
116
116
|
*/
|
|
117
117
|
date_service_to?: string | null;
|
|
118
118
|
/**
|
|
119
|
-
* Link this credit note to invoices. Replaces existing links. Accepts invoice IDs (inv_xxx).
|
|
119
|
+
* Link this credit note to invoices. Replaces existing links. Accepts invoice IDs (inv_xxx). Hungarian NAV-reporting entities may also link a NAV-reported, fully paid advance invoice (adv_xxx) that has not been applied to a final invoice; it is reported to NAV as a modification of the advance invoice.
|
|
120
120
|
* @nullable
|
|
121
121
|
*/
|
|
122
122
|
linked_documents?: string[] | null;
|
|
@@ -116,7 +116,7 @@ export interface UpdateCreditNote {
|
|
|
116
116
|
*/
|
|
117
117
|
date_service_to?: string | null;
|
|
118
118
|
/**
|
|
119
|
-
* Link this credit note to invoices. Replaces existing links. Accepts invoice IDs (inv_xxx).
|
|
119
|
+
* Link this credit note to invoices. Replaces existing links. Accepts invoice IDs (inv_xxx). Hungarian NAV-reporting entities may also link a NAV-reported, fully paid advance invoice (adv_xxx) that has not been applied to a final invoice; it is reported to NAV as a modification of the advance invoice.
|
|
120
120
|
* @nullable
|
|
121
121
|
*/
|
|
122
122
|
linked_documents?: string[] | null;
|
|
@@ -708,7 +708,7 @@ export declare const SearchEInvoicingCustomerResponse: zod.ZodObject<{
|
|
|
708
708
|
}, zod.z.core.$strip>>;
|
|
709
709
|
}, zod.z.core.$strip>;
|
|
710
710
|
/**
|
|
711
|
-
* Send an invoice or credit note over the entity's configured network. For French entities this also routes B2C and international B2B sales through the required e-reporting process. Supply delivery_address when the physical delivery address differs from the buyer address.
|
|
711
|
+
* Send an invoice or credit note over the entity's configured network. For French entities this also routes B2C and international B2B sales through the required e-reporting process. Supply delivery_address when the physical delivery address differs from the buyer address. Slovenian senders invoicing a Slovenian customer with a valid Slovenian tax number may omit the Peppol address (or give only the VAT-derived 9949 address): candidates are tried in order — the explicit address, the customer's tax number under scheme 9949 with and without the SI prefix (for example 9949:SI12345678, then 9949:12345678), UJP (known budget users only), then the bizBox gateway (9949:bizbox) — and the first registered recipient supporting the document type is used. UJP and bizBox route to the recipient by its Slovenian tax number, which the customer must therefore have. The chosen route is returned as delivery_route.
|
|
712
712
|
* @summary Send document
|
|
713
713
|
*/
|
|
714
714
|
export declare const SendEInvoicingDocumentParams: zod.ZodObject<{
|
|
@@ -841,6 +841,7 @@ export declare const ListEInvoicingSubmissionsResponse: zod.ZodObject<{
|
|
|
841
841
|
created_at: zod.z.ZodISODateTime;
|
|
842
842
|
updated_at: zod.z.ZodISODateTime;
|
|
843
843
|
network: zod.ZodOptional<zod.ZodString>;
|
|
844
|
+
delivery_route: zod.ZodOptional<zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodLiteral<"direct">, zod.ZodLiteral<"ujp">, zod.ZodLiteral<"bizbox">, zod.ZodLiteral<null>]>>>;
|
|
844
845
|
}, zod.z.core.$strip>>;
|
|
845
846
|
pagination: zod.ZodObject<{
|
|
846
847
|
total: zod.ZodNumber;
|
|
@@ -903,6 +904,7 @@ export declare const GetEInvoicingSubmissionByIdResponse: zod.ZodObject<{
|
|
|
903
904
|
created_at: zod.z.ZodISODateTime;
|
|
904
905
|
updated_at: zod.z.ZodISODateTime;
|
|
905
906
|
network: zod.ZodOptional<zod.ZodString>;
|
|
907
|
+
delivery_route: zod.ZodOptional<zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodLiteral<"direct">, zod.ZodLiteral<"ujp">, zod.ZodLiteral<"bizbox">, zod.ZodLiteral<null>]>>>;
|
|
906
908
|
}, zod.z.core.$strip>;
|
|
907
909
|
/**
|
|
908
910
|
* Retry a failed or rejected e-invoice submission.
|
|
@@ -956,4 +958,5 @@ export declare const RetryEInvoicingSubmissionByIdResponse: zod.ZodObject<{
|
|
|
956
958
|
created_at: zod.z.ZodISODateTime;
|
|
957
959
|
updated_at: zod.z.ZodISODateTime;
|
|
958
960
|
network: zod.ZodOptional<zod.ZodString>;
|
|
961
|
+
delivery_route: zod.ZodOptional<zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodLiteral<"direct">, zod.ZodLiteral<"ujp">, zod.ZodLiteral<"bizbox">, zod.ZodLiteral<null>]>>>;
|
|
959
962
|
}, zod.z.core.$strip>;
|
|
@@ -708,7 +708,7 @@ export declare const SearchEInvoicingCustomerResponse: zod.ZodObject<{
|
|
|
708
708
|
}, zod.z.core.$strip>>;
|
|
709
709
|
}, zod.z.core.$strip>;
|
|
710
710
|
/**
|
|
711
|
-
* Send an invoice or credit note over the entity's configured network. For French entities this also routes B2C and international B2B sales through the required e-reporting process. Supply delivery_address when the physical delivery address differs from the buyer address.
|
|
711
|
+
* Send an invoice or credit note over the entity's configured network. For French entities this also routes B2C and international B2B sales through the required e-reporting process. Supply delivery_address when the physical delivery address differs from the buyer address. Slovenian senders invoicing a Slovenian customer with a valid Slovenian tax number may omit the Peppol address (or give only the VAT-derived 9949 address): candidates are tried in order — the explicit address, the customer's tax number under scheme 9949 with and without the SI prefix (for example 9949:SI12345678, then 9949:12345678), UJP (known budget users only), then the bizBox gateway (9949:bizbox) — and the first registered recipient supporting the document type is used. UJP and bizBox route to the recipient by its Slovenian tax number, which the customer must therefore have. The chosen route is returned as delivery_route.
|
|
712
712
|
* @summary Send document
|
|
713
713
|
*/
|
|
714
714
|
export declare const SendEInvoicingDocumentParams: zod.ZodObject<{
|
|
@@ -841,6 +841,7 @@ export declare const ListEInvoicingSubmissionsResponse: zod.ZodObject<{
|
|
|
841
841
|
created_at: zod.z.ZodISODateTime;
|
|
842
842
|
updated_at: zod.z.ZodISODateTime;
|
|
843
843
|
network: zod.ZodOptional<zod.ZodString>;
|
|
844
|
+
delivery_route: zod.ZodOptional<zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodLiteral<"direct">, zod.ZodLiteral<"ujp">, zod.ZodLiteral<"bizbox">, zod.ZodLiteral<null>]>>>;
|
|
844
845
|
}, zod.z.core.$strip>>;
|
|
845
846
|
pagination: zod.ZodObject<{
|
|
846
847
|
total: zod.ZodNumber;
|
|
@@ -903,6 +904,7 @@ export declare const GetEInvoicingSubmissionByIdResponse: zod.ZodObject<{
|
|
|
903
904
|
created_at: zod.z.ZodISODateTime;
|
|
904
905
|
updated_at: zod.z.ZodISODateTime;
|
|
905
906
|
network: zod.ZodOptional<zod.ZodString>;
|
|
907
|
+
delivery_route: zod.ZodOptional<zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodLiteral<"direct">, zod.ZodLiteral<"ujp">, zod.ZodLiteral<"bizbox">, zod.ZodLiteral<null>]>>>;
|
|
906
908
|
}, zod.z.core.$strip>;
|
|
907
909
|
/**
|
|
908
910
|
* Retry a failed or rejected e-invoice submission.
|
|
@@ -956,4 +958,5 @@ export declare const RetryEInvoicingSubmissionByIdResponse: zod.ZodObject<{
|
|
|
956
958
|
created_at: zod.z.ZodISODateTime;
|
|
957
959
|
updated_at: zod.z.ZodISODateTime;
|
|
958
960
|
network: zod.ZodOptional<zod.ZodString>;
|
|
961
|
+
delivery_route: zod.ZodOptional<zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodLiteral<"direct">, zod.ZodLiteral<"ujp">, zod.ZodLiteral<"bizbox">, zod.ZodLiteral<null>]>>>;
|
|
959
962
|
}, zod.z.core.$strip>;
|