@spaceinvoices/js-sdk 18.15.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/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/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/index.cjs +5 -5
- package/dist/index.js +5 -5
- 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);
|
|
@@ -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;
|
|
@@ -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;
|