nordlet 0.3.9 → 0.3.11
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/Client.d.ts +6 -0
- package/dist/Client.js +28 -20
- package/dist/api/resources/bank/client/requests/AccountsCreateBankRequest.d.ts +8 -0
- package/dist/api/resources/bank/client/requests/AccountsCreateBankRequest.js +8 -0
- package/dist/api/resources/bank/client/requests/AccountsUpdateBankRequest.d.ts +8 -0
- package/dist/api/resources/bank/client/requests/AccountsUpdateBankRequest.js +8 -0
- package/dist/api/resources/bank/client/requests/TransactionsMatchBankRequest.d.ts +1 -0
- package/dist/api/resources/bank/client/requests/TransactionsMatchBankRequest.js +1 -0
- package/dist/api/resources/bank/client/requests/TransactionsMatchManyBankRequest.d.ts +1 -0
- package/dist/api/resources/bank/client/requests/TransactionsMatchManyBankRequest.js +1 -0
- package/dist/api/resources/bank/client/requests/TransactionsRecordBankRequest.d.ts +1 -0
- package/dist/api/resources/bank/client/requests/TransactionsRecordBankRequest.js +1 -0
- package/dist/api/resources/bank/client/requests/index.d.ts +2 -2
- package/dist/api/resources/bank/client/requests/index.js +5 -1
- package/dist/api/resources/bank/types/AccountsCreateBankResponse.d.ts +8 -0
- package/dist/api/resources/bank/types/AccountsCreateBankResponse.js +8 -0
- package/dist/api/resources/bank/types/AccountsListBankResponse.d.ts +8 -0
- package/dist/api/resources/bank/types/AccountsListBankResponse.js +14 -0
- package/dist/api/resources/bank/types/AccountsUpdateBankResponse.d.ts +8 -0
- package/dist/api/resources/bank/types/AccountsUpdateBankResponse.js +8 -0
- package/dist/api/resources/bank/types/SettlementsCommissionBankResponse.d.ts +4 -0
- package/dist/api/resources/bank/types/SettlementsGetBankResponse.d.ts +7 -0
- package/dist/api/resources/bank/types/SettlementsImportBankResponse.d.ts +3 -0
- package/dist/api/resources/bank/types/SettlementsLinkBankResponse.d.ts +3 -0
- package/dist/api/resources/bank/types/SettlementsListBankResponse.d.ts +3 -0
- package/dist/api/resources/bank/types/SettlementsMatchBankResponse.d.ts +4 -0
- package/dist/api/resources/bank/types/SettlementsPostBankResponse.d.ts +4 -0
- package/dist/api/resources/bank/types/SettlementsUnlinkBankResponse.d.ts +3 -0
- package/dist/api/resources/bank/types/TransactionsSuggestMatchesBankResponse.d.ts +1 -0
- package/dist/api/resources/bank/types/TransactionsSuggestMatchesBankResponse.js +1 -0
- package/dist/api/resources/capture/client/Client.d.ts +2 -0
- package/dist/api/resources/capture/client/Client.js +2 -0
- package/dist/api/resources/capture/client/requests/DocumentsConfirmCaptureRequest.d.ts +29 -0
- package/dist/api/resources/capture/client/requests/DocumentsConfirmCaptureRequest.js +8 -0
- package/dist/api/resources/capture/client/requests/index.d.ts +1 -1
- package/dist/api/resources/capture/client/requests/index.js +3 -1
- package/dist/api/resources/capture/types/DocumentsConfirmCaptureResponse.d.ts +93 -0
- package/dist/api/resources/capture/types/DocumentsConfirmCaptureResponse.js +23 -0
- package/dist/api/resources/capture/types/DocumentsExtractCaptureResponse.d.ts +21 -0
- package/dist/api/resources/capture/types/DocumentsExtractCaptureResponse.js +7 -0
- package/dist/api/resources/capture/types/DocumentsGetCaptureResponse.d.ts +21 -0
- package/dist/api/resources/capture/types/DocumentsGetCaptureResponse.js +7 -0
- package/dist/api/resources/capture/types/DocumentsListCaptureResponse.d.ts +21 -0
- package/dist/api/resources/capture/types/DocumentsListCaptureResponse.js +7 -0
- package/dist/api/resources/capture/types/DocumentsUploadCaptureResponse.d.ts +21 -0
- package/dist/api/resources/capture/types/DocumentsUploadCaptureResponse.js +7 -0
- package/dist/api/resources/declarations/client/Client.d.ts +93 -1
- package/dist/api/resources/declarations/client/Client.js +325 -1
- package/dist/api/resources/declarations/client/requests/EuDac7PreviewDeclarationsRequest.d.ts +9 -0
- package/dist/api/resources/declarations/client/requests/EuDac7PreviewDeclarationsRequest.js +3 -0
- package/dist/api/resources/declarations/client/requests/EuDac7XmlDeclarationsRequest.d.ts +9 -0
- package/dist/api/resources/declarations/client/requests/EuDac7XmlDeclarationsRequest.js +3 -0
- package/dist/api/resources/declarations/client/requests/EuDigitalReportingListDeclarationsRequest.d.ts +11 -0
- package/dist/api/resources/declarations/client/requests/EuDigitalReportingListDeclarationsRequest.js +3 -0
- package/dist/api/resources/declarations/client/requests/EuOwnGoodsTransfersComputeDeclarationsRequest.d.ts +11 -0
- package/dist/api/resources/declarations/client/requests/EuOwnGoodsTransfersComputeDeclarationsRequest.js +3 -0
- package/dist/api/resources/declarations/client/requests/index.d.ts +4 -0
- package/dist/api/resources/declarations/types/EuDac7PreviewDeclarationsResponse.d.ts +25 -0
- package/dist/api/resources/declarations/types/EuDac7PreviewDeclarationsResponse.js +3 -0
- package/dist/api/resources/declarations/types/EuDac7XmlDeclarationsResponse.d.ts +6 -0
- package/dist/api/resources/declarations/types/EuDac7XmlDeclarationsResponse.js +3 -0
- package/dist/api/resources/declarations/types/EuDigitalReportingListDeclarationsResponse.d.ts +67 -0
- package/dist/api/resources/declarations/types/EuDigitalReportingListDeclarationsResponse.js +27 -0
- package/dist/api/resources/declarations/types/EuOwnGoodsTransfersComputeDeclarationsResponse.d.ts +38 -0
- package/dist/api/resources/declarations/types/EuOwnGoodsTransfersComputeDeclarationsResponse.js +3 -0
- package/dist/api/resources/declarations/types/index.d.ts +4 -0
- package/dist/api/resources/declarations/types/index.js +4 -0
- package/dist/api/resources/index.d.ts +6 -0
- package/dist/api/resources/index.js +7 -1
- package/dist/api/resources/inventory/client/Client.d.ts +22 -0
- package/dist/api/resources/inventory/client/Client.js +80 -0
- package/dist/api/resources/inventory/client/requests/WarehousesCreateInventoryRequest.d.ts +1 -0
- package/dist/api/resources/inventory/client/requests/WarehousesUpdateInventoryRequest.d.ts +11 -0
- package/dist/api/resources/inventory/client/requests/WarehousesUpdateInventoryRequest.js +3 -0
- package/dist/api/resources/inventory/client/requests/index.d.ts +1 -0
- package/dist/api/resources/inventory/types/LandedCostsCreateInventoryResponse.d.ts +1 -0
- package/dist/api/resources/inventory/types/LandedCostsGetInventoryResponse.d.ts +1 -0
- package/dist/api/resources/inventory/types/WarehousesCreateInventoryResponse.d.ts +1 -0
- package/dist/api/resources/inventory/types/WarehousesListInventoryResponse.d.ts +1 -0
- package/dist/api/resources/inventory/types/WarehousesUpdateInventoryResponse.d.ts +8 -0
- package/dist/api/resources/inventory/types/WarehousesUpdateInventoryResponse.js +3 -0
- package/dist/api/resources/inventory/types/index.d.ts +1 -0
- package/dist/api/resources/inventory/types/index.js +1 -0
- package/dist/api/resources/ledger/client/requests/JournalTransactionsCreateLedgerRequest.d.ts +1 -0
- package/dist/api/resources/payroll/types/RunsApprovePayrollResponse.d.ts +1 -0
- package/dist/api/resources/payroll/types/RunsCreatePayrollResponse.d.ts +1 -0
- package/dist/api/resources/payroll/types/RunsGetPayrollResponse.d.ts +1 -0
- package/dist/api/resources/payroll/types/RunsListPayrollResponse.d.ts +1 -0
- package/dist/api/resources/payroll/types/RunsReversePayrollResponse.d.ts +1 -0
- package/dist/api/resources/peppol/client/Client.d.ts +58 -0
- package/dist/api/resources/peppol/client/Client.js +207 -0
- package/dist/api/resources/peppol/client/index.d.ts +1 -0
- package/dist/api/resources/peppol/client/index.js +17 -0
- package/dist/api/resources/peppol/client/requests/ParticipantsLookupPeppolRequest.d.ts +8 -0
- package/dist/api/resources/peppol/client/requests/ParticipantsLookupPeppolRequest.js +3 -0
- package/dist/api/resources/peppol/client/requests/WebhooksPeppolRequest.d.ts +12 -0
- package/dist/api/resources/peppol/client/requests/WebhooksPeppolRequest.js +3 -0
- package/dist/api/resources/peppol/client/requests/index.d.ts +2 -0
- package/dist/api/resources/peppol/client/requests/index.js +2 -0
- package/dist/api/resources/peppol/exports.d.ts +2 -0
- package/dist/api/resources/peppol/exports.js +21 -0
- package/dist/api/resources/peppol/index.d.ts +2 -0
- package/dist/api/resources/peppol/index.js +18 -0
- package/dist/api/resources/peppol/types/ParticipantsLookupPeppolResponse.d.ts +9 -0
- package/dist/api/resources/peppol/types/ParticipantsLookupPeppolResponse.js +3 -0
- package/dist/api/resources/peppol/types/WebhooksPeppolRequestProvider.d.ts +6 -0
- package/dist/api/resources/peppol/types/WebhooksPeppolRequestProvider.js +9 -0
- package/dist/api/resources/peppol/types/WebhooksPeppolResponse.d.ts +3 -0
- package/dist/api/resources/peppol/types/WebhooksPeppolResponse.js +3 -0
- package/dist/api/resources/peppol/types/index.d.ts +3 -0
- package/dist/api/resources/peppol/types/index.js +19 -0
- package/dist/api/resources/platformSellers/client/Client.d.ts +130 -0
- package/dist/api/resources/platformSellers/client/Client.js +458 -0
- package/dist/api/resources/platformSellers/client/index.d.ts +1 -0
- package/dist/api/resources/platformSellers/client/index.js +17 -0
- package/dist/api/resources/platformSellers/client/requests/CreatePlatformSellersRequest.d.ts +98 -0
- package/dist/api/resources/platformSellers/client/requests/CreatePlatformSellersRequest.js +35 -0
- package/dist/api/resources/platformSellers/client/requests/DeletePlatformSellersRequest.d.ts +9 -0
- package/dist/api/resources/platformSellers/client/requests/DeletePlatformSellersRequest.js +3 -0
- package/dist/api/resources/platformSellers/client/requests/GetPlatformSellersRequest.d.ts +9 -0
- package/dist/api/resources/platformSellers/client/requests/GetPlatformSellersRequest.js +3 -0
- package/dist/api/resources/platformSellers/client/requests/ListPlatformSellersRequest.d.ts +48 -0
- package/dist/api/resources/platformSellers/client/requests/ListPlatformSellersRequest.js +31 -0
- package/dist/api/resources/platformSellers/client/requests/UpdatePlatformSellersRequest.d.ts +100 -0
- package/dist/api/resources/platformSellers/client/requests/UpdatePlatformSellersRequest.js +35 -0
- package/dist/api/resources/platformSellers/client/requests/index.d.ts +5 -0
- package/dist/api/resources/platformSellers/client/requests/index.js +9 -0
- package/dist/api/resources/platformSellers/exports.d.ts +2 -0
- package/dist/api/resources/platformSellers/exports.js +21 -0
- package/dist/api/resources/platformSellers/index.d.ts +2 -0
- package/dist/api/resources/platformSellers/index.js +18 -0
- package/dist/api/resources/platformSellers/types/CreatePlatformSellersResponse.d.ts +93 -0
- package/dist/api/resources/platformSellers/types/CreatePlatformSellersResponse.js +35 -0
- package/dist/api/resources/platformSellers/types/DeletePlatformSellersResponse.d.ts +4 -0
- package/dist/api/resources/platformSellers/types/DeletePlatformSellersResponse.js +3 -0
- package/dist/api/resources/platformSellers/types/GetPlatformSellersResponse.d.ts +93 -0
- package/dist/api/resources/platformSellers/types/GetPlatformSellersResponse.js +35 -0
- package/dist/api/resources/platformSellers/types/ListPlatformSellersResponse.d.ts +59 -0
- package/dist/api/resources/platformSellers/types/ListPlatformSellersResponse.js +17 -0
- package/dist/api/resources/platformSellers/types/UpdatePlatformSellersResponse.d.ts +93 -0
- package/dist/api/resources/platformSellers/types/UpdatePlatformSellersResponse.js +35 -0
- package/dist/api/resources/platformSellers/types/index.d.ts +5 -0
- package/dist/api/resources/platformSellers/types/index.js +21 -0
- package/dist/api/resources/purchases/client/requests/InvoicesRegisterPurchasesRequest.d.ts +1 -0
- package/dist/api/resources/reference/client/requests/VatResolveReferenceRequest.d.ts +16 -0
- package/dist/api/resources/reference/client/requests/VatResolveReferenceRequest.js +8 -0
- package/dist/api/resources/reports/types/OnlineSalesReportsResponse.d.ts +1 -0
- package/dist/api/resources/sales/client/Client.d.ts +26 -0
- package/dist/api/resources/sales/client/Client.js +84 -0
- package/dist/api/resources/sales/client/requests/InvoicesApplyAdvanceSalesRequest.d.ts +2 -0
- package/dist/api/resources/sales/client/requests/InvoicesPeppolStatusSalesRequest.d.ts +9 -0
- package/dist/api/resources/sales/client/requests/InvoicesPeppolStatusSalesRequest.js +3 -0
- package/dist/api/resources/sales/client/requests/index.d.ts +1 -0
- package/dist/api/resources/sales/types/InvoicesApplyAdvanceSalesResponse.d.ts +7 -0
- package/dist/api/resources/sales/types/InvoicesCreateSalesResponse.d.ts +7 -0
- package/dist/api/resources/sales/types/InvoicesGetSalesResponse.d.ts +7 -0
- package/dist/api/resources/sales/types/InvoicesIssueSalesResponse.d.ts +7 -0
- package/dist/api/resources/sales/types/InvoicesListSalesResponse.d.ts +5 -0
- package/dist/api/resources/sales/types/InvoicesLockSalesResponse.d.ts +7 -0
- package/dist/api/resources/sales/types/InvoicesPeppolSendSalesResponse.d.ts +11 -0
- package/dist/api/resources/sales/types/InvoicesPeppolSendSalesResponse.js +10 -0
- package/dist/api/resources/sales/types/InvoicesPeppolStatusSalesResponse.d.ts +15 -0
- package/dist/api/resources/sales/types/InvoicesPeppolStatusSalesResponse.js +13 -0
- package/dist/api/resources/sales/types/InvoicesUnlockSalesResponse.d.ts +7 -0
- package/dist/api/resources/sales/types/InvoicesUpdateSalesResponse.d.ts +7 -0
- package/dist/api/resources/sales/types/index.d.ts +1 -0
- package/dist/api/resources/sales/types/index.js +1 -0
- package/dist/api/resources/webhooks/client/requests/SubscriptionsCreateWebhooksRequest.d.ts +4 -0
- package/dist/api/resources/webhooks/client/requests/SubscriptionsCreateWebhooksRequest.js +4 -0
- package/dist/api/resources/webhooks/client/requests/SubscriptionsUpdateWebhooksRequest.d.ts +4 -0
- package/dist/api/resources/webhooks/client/requests/SubscriptionsUpdateWebhooksRequest.js +4 -0
- package/package.json +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export interface DocumentsConfirmCaptureResponse {
|
|
2
2
|
capture: DocumentsConfirmCaptureResponse.Capture;
|
|
3
3
|
invoice: DocumentsConfirmCaptureResponse.Invoice;
|
|
4
|
+
oppositeInvoice: DocumentsConfirmCaptureResponse.OppositeInvoice | null;
|
|
4
5
|
}
|
|
5
6
|
export declare namespace DocumentsConfirmCaptureResponse {
|
|
6
7
|
interface Capture {
|
|
@@ -17,6 +18,7 @@ export declare namespace DocumentsConfirmCaptureResponse {
|
|
|
17
18
|
matchedPartnerId: string | null;
|
|
18
19
|
purchaseInvoiceId: string | null;
|
|
19
20
|
error: string | null;
|
|
21
|
+
senderId: string | null;
|
|
20
22
|
createdAt: string;
|
|
21
23
|
updatedAt: string;
|
|
22
24
|
}
|
|
@@ -29,6 +31,7 @@ export declare namespace DocumentsConfirmCaptureResponse {
|
|
|
29
31
|
};
|
|
30
32
|
type Status = (typeof Status)[keyof typeof Status];
|
|
31
33
|
interface Extraction {
|
|
34
|
+
documentType?: Extraction.DocumentType | undefined;
|
|
32
35
|
supplier: Extraction.Supplier;
|
|
33
36
|
documentNumber: string | null;
|
|
34
37
|
documentDate: string | null;
|
|
@@ -39,8 +42,14 @@ export declare namespace DocumentsConfirmCaptureResponse {
|
|
|
39
42
|
grossTotal: string | null;
|
|
40
43
|
notes: string | null;
|
|
41
44
|
lines: Extraction.Lines.Item[];
|
|
45
|
+
oppositeLines?: Extraction.OppositeLines.Item[] | undefined;
|
|
42
46
|
}
|
|
43
47
|
namespace Extraction {
|
|
48
|
+
const DocumentType: {
|
|
49
|
+
readonly Invoice: "invoice";
|
|
50
|
+
readonly CreditNote: "credit_note";
|
|
51
|
+
};
|
|
52
|
+
type DocumentType = (typeof DocumentType)[keyof typeof DocumentType];
|
|
44
53
|
interface Supplier {
|
|
45
54
|
name: string | null;
|
|
46
55
|
code: string | null;
|
|
@@ -61,6 +70,19 @@ export declare namespace DocumentsConfirmCaptureResponse {
|
|
|
61
70
|
lineGross: string | null;
|
|
62
71
|
}
|
|
63
72
|
}
|
|
73
|
+
type OppositeLines = OppositeLines.Item[];
|
|
74
|
+
namespace OppositeLines {
|
|
75
|
+
interface Item {
|
|
76
|
+
description: string;
|
|
77
|
+
quantity: string;
|
|
78
|
+
unit: string | null;
|
|
79
|
+
unitPriceExclVat: string | null;
|
|
80
|
+
vatRatePercent: string | null;
|
|
81
|
+
lineNet: string | null;
|
|
82
|
+
lineVat: string | null;
|
|
83
|
+
lineGross: string | null;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
64
86
|
}
|
|
65
87
|
}
|
|
66
88
|
interface Invoice {
|
|
@@ -134,4 +156,75 @@ export declare namespace DocumentsConfirmCaptureResponse {
|
|
|
134
156
|
}
|
|
135
157
|
}
|
|
136
158
|
}
|
|
159
|
+
interface OppositeInvoice {
|
|
160
|
+
id: string;
|
|
161
|
+
partnerId: string;
|
|
162
|
+
type: OppositeInvoice.Type;
|
|
163
|
+
status: OppositeInvoice.Status;
|
|
164
|
+
paymentStatus: OppositeInvoice.PaymentStatus;
|
|
165
|
+
documentNumber: string;
|
|
166
|
+
documentDate: string;
|
|
167
|
+
dueDate: string | null;
|
|
168
|
+
registrationDate: string | null;
|
|
169
|
+
currency: string;
|
|
170
|
+
netTotal: string;
|
|
171
|
+
vatTotal: string;
|
|
172
|
+
grossTotal: string;
|
|
173
|
+
paidAmount: string;
|
|
174
|
+
journalTransactionId: string | null;
|
|
175
|
+
creditedInvoiceId: string | null;
|
|
176
|
+
purchaseOrderId: string | null;
|
|
177
|
+
operationTypeId: string | null;
|
|
178
|
+
notes: string | null;
|
|
179
|
+
intrastatTransportMode: string | null;
|
|
180
|
+
intrastatDeliveryTerms: string | null;
|
|
181
|
+
intrastatRegion: string | null;
|
|
182
|
+
intrastatNatureOfTransaction: string | null;
|
|
183
|
+
einvoiceNumber: string | null;
|
|
184
|
+
documentRef: string | null;
|
|
185
|
+
createdAt: string;
|
|
186
|
+
updatedAt: string;
|
|
187
|
+
lines: OppositeInvoice.Lines.Item[];
|
|
188
|
+
}
|
|
189
|
+
namespace OppositeInvoice {
|
|
190
|
+
const Type: {
|
|
191
|
+
readonly Invoice: "invoice";
|
|
192
|
+
readonly CreditNote: "credit_note";
|
|
193
|
+
};
|
|
194
|
+
type Type = (typeof Type)[keyof typeof Type];
|
|
195
|
+
const Status: {
|
|
196
|
+
readonly Draft: "draft";
|
|
197
|
+
readonly Registered: "registered";
|
|
198
|
+
};
|
|
199
|
+
type Status = (typeof Status)[keyof typeof Status];
|
|
200
|
+
const PaymentStatus: {
|
|
201
|
+
readonly Unpaid: "unpaid";
|
|
202
|
+
readonly Partial: "partial";
|
|
203
|
+
readonly Paid: "paid";
|
|
204
|
+
};
|
|
205
|
+
type PaymentStatus = (typeof PaymentStatus)[keyof typeof PaymentStatus];
|
|
206
|
+
type Lines = Lines.Item[];
|
|
207
|
+
namespace Lines {
|
|
208
|
+
interface Item {
|
|
209
|
+
id: string;
|
|
210
|
+
itemId: string | null;
|
|
211
|
+
description: string;
|
|
212
|
+
unit: string;
|
|
213
|
+
quantity: string;
|
|
214
|
+
unitPriceExclVat: string | null;
|
|
215
|
+
unitPriceInclVat: string | null;
|
|
216
|
+
vatRatePercent: string;
|
|
217
|
+
vatClassifierCode: string | null;
|
|
218
|
+
costCenterId: string | null;
|
|
219
|
+
projectId: string | null;
|
|
220
|
+
accountCode: string | null;
|
|
221
|
+
deferralStartDate: string | null;
|
|
222
|
+
deferralEndDate: string | null;
|
|
223
|
+
lineNet: string;
|
|
224
|
+
lineVat: string;
|
|
225
|
+
lineGross: string;
|
|
226
|
+
sortOrder: number;
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
}
|
|
137
230
|
}
|
|
@@ -12,6 +12,13 @@ var DocumentsConfirmCaptureResponse;
|
|
|
12
12
|
Failed: "failed",
|
|
13
13
|
Linked: "linked",
|
|
14
14
|
};
|
|
15
|
+
let Extraction;
|
|
16
|
+
(function (Extraction) {
|
|
17
|
+
Extraction.DocumentType = {
|
|
18
|
+
Invoice: "invoice",
|
|
19
|
+
CreditNote: "credit_note",
|
|
20
|
+
};
|
|
21
|
+
})(Extraction = Capture.Extraction || (Capture.Extraction = {}));
|
|
15
22
|
})(Capture = DocumentsConfirmCaptureResponse.Capture || (DocumentsConfirmCaptureResponse.Capture = {}));
|
|
16
23
|
let Invoice;
|
|
17
24
|
(function (Invoice) {
|
|
@@ -29,4 +36,20 @@ var DocumentsConfirmCaptureResponse;
|
|
|
29
36
|
Paid: "paid",
|
|
30
37
|
};
|
|
31
38
|
})(Invoice = DocumentsConfirmCaptureResponse.Invoice || (DocumentsConfirmCaptureResponse.Invoice = {}));
|
|
39
|
+
let OppositeInvoice;
|
|
40
|
+
(function (OppositeInvoice) {
|
|
41
|
+
OppositeInvoice.Type = {
|
|
42
|
+
Invoice: "invoice",
|
|
43
|
+
CreditNote: "credit_note",
|
|
44
|
+
};
|
|
45
|
+
OppositeInvoice.Status = {
|
|
46
|
+
Draft: "draft",
|
|
47
|
+
Registered: "registered",
|
|
48
|
+
};
|
|
49
|
+
OppositeInvoice.PaymentStatus = {
|
|
50
|
+
Unpaid: "unpaid",
|
|
51
|
+
Partial: "partial",
|
|
52
|
+
Paid: "paid",
|
|
53
|
+
};
|
|
54
|
+
})(OppositeInvoice = DocumentsConfirmCaptureResponse.OppositeInvoice || (DocumentsConfirmCaptureResponse.OppositeInvoice = {}));
|
|
32
55
|
})(DocumentsConfirmCaptureResponse || (exports.DocumentsConfirmCaptureResponse = DocumentsConfirmCaptureResponse = {}));
|
|
@@ -12,6 +12,7 @@ export interface DocumentsExtractCaptureResponse {
|
|
|
12
12
|
matchedPartnerId: string | null;
|
|
13
13
|
purchaseInvoiceId: string | null;
|
|
14
14
|
error: string | null;
|
|
15
|
+
senderId: string | null;
|
|
15
16
|
createdAt: string;
|
|
16
17
|
updatedAt: string;
|
|
17
18
|
rawText: string | null;
|
|
@@ -25,6 +26,7 @@ export declare namespace DocumentsExtractCaptureResponse {
|
|
|
25
26
|
};
|
|
26
27
|
type Status = (typeof Status)[keyof typeof Status];
|
|
27
28
|
interface Extraction {
|
|
29
|
+
documentType?: Extraction.DocumentType | undefined;
|
|
28
30
|
supplier: Extraction.Supplier;
|
|
29
31
|
documentNumber: string | null;
|
|
30
32
|
documentDate: string | null;
|
|
@@ -35,8 +37,14 @@ export declare namespace DocumentsExtractCaptureResponse {
|
|
|
35
37
|
grossTotal: string | null;
|
|
36
38
|
notes: string | null;
|
|
37
39
|
lines: Extraction.Lines.Item[];
|
|
40
|
+
oppositeLines?: Extraction.OppositeLines.Item[] | undefined;
|
|
38
41
|
}
|
|
39
42
|
namespace Extraction {
|
|
43
|
+
const DocumentType: {
|
|
44
|
+
readonly Invoice: "invoice";
|
|
45
|
+
readonly CreditNote: "credit_note";
|
|
46
|
+
};
|
|
47
|
+
type DocumentType = (typeof DocumentType)[keyof typeof DocumentType];
|
|
40
48
|
interface Supplier {
|
|
41
49
|
name: string | null;
|
|
42
50
|
code: string | null;
|
|
@@ -57,5 +65,18 @@ export declare namespace DocumentsExtractCaptureResponse {
|
|
|
57
65
|
lineGross: string | null;
|
|
58
66
|
}
|
|
59
67
|
}
|
|
68
|
+
type OppositeLines = OppositeLines.Item[];
|
|
69
|
+
namespace OppositeLines {
|
|
70
|
+
interface Item {
|
|
71
|
+
description: string;
|
|
72
|
+
quantity: string;
|
|
73
|
+
unit: string | null;
|
|
74
|
+
unitPriceExclVat: string | null;
|
|
75
|
+
vatRatePercent: string | null;
|
|
76
|
+
lineNet: string | null;
|
|
77
|
+
lineVat: string | null;
|
|
78
|
+
lineGross: string | null;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
60
81
|
}
|
|
61
82
|
}
|
|
@@ -10,4 +10,11 @@ var DocumentsExtractCaptureResponse;
|
|
|
10
10
|
Failed: "failed",
|
|
11
11
|
Linked: "linked",
|
|
12
12
|
};
|
|
13
|
+
let Extraction;
|
|
14
|
+
(function (Extraction) {
|
|
15
|
+
Extraction.DocumentType = {
|
|
16
|
+
Invoice: "invoice",
|
|
17
|
+
CreditNote: "credit_note",
|
|
18
|
+
};
|
|
19
|
+
})(Extraction = DocumentsExtractCaptureResponse.Extraction || (DocumentsExtractCaptureResponse.Extraction = {}));
|
|
13
20
|
})(DocumentsExtractCaptureResponse || (exports.DocumentsExtractCaptureResponse = DocumentsExtractCaptureResponse = {}));
|
|
@@ -12,6 +12,7 @@ export interface DocumentsGetCaptureResponse {
|
|
|
12
12
|
matchedPartnerId: string | null;
|
|
13
13
|
purchaseInvoiceId: string | null;
|
|
14
14
|
error: string | null;
|
|
15
|
+
senderId: string | null;
|
|
15
16
|
createdAt: string;
|
|
16
17
|
updatedAt: string;
|
|
17
18
|
rawText: string | null;
|
|
@@ -25,6 +26,7 @@ export declare namespace DocumentsGetCaptureResponse {
|
|
|
25
26
|
};
|
|
26
27
|
type Status = (typeof Status)[keyof typeof Status];
|
|
27
28
|
interface Extraction {
|
|
29
|
+
documentType?: Extraction.DocumentType | undefined;
|
|
28
30
|
supplier: Extraction.Supplier;
|
|
29
31
|
documentNumber: string | null;
|
|
30
32
|
documentDate: string | null;
|
|
@@ -35,8 +37,14 @@ export declare namespace DocumentsGetCaptureResponse {
|
|
|
35
37
|
grossTotal: string | null;
|
|
36
38
|
notes: string | null;
|
|
37
39
|
lines: Extraction.Lines.Item[];
|
|
40
|
+
oppositeLines?: Extraction.OppositeLines.Item[] | undefined;
|
|
38
41
|
}
|
|
39
42
|
namespace Extraction {
|
|
43
|
+
const DocumentType: {
|
|
44
|
+
readonly Invoice: "invoice";
|
|
45
|
+
readonly CreditNote: "credit_note";
|
|
46
|
+
};
|
|
47
|
+
type DocumentType = (typeof DocumentType)[keyof typeof DocumentType];
|
|
40
48
|
interface Supplier {
|
|
41
49
|
name: string | null;
|
|
42
50
|
code: string | null;
|
|
@@ -57,5 +65,18 @@ export declare namespace DocumentsGetCaptureResponse {
|
|
|
57
65
|
lineGross: string | null;
|
|
58
66
|
}
|
|
59
67
|
}
|
|
68
|
+
type OppositeLines = OppositeLines.Item[];
|
|
69
|
+
namespace OppositeLines {
|
|
70
|
+
interface Item {
|
|
71
|
+
description: string;
|
|
72
|
+
quantity: string;
|
|
73
|
+
unit: string | null;
|
|
74
|
+
unitPriceExclVat: string | null;
|
|
75
|
+
vatRatePercent: string | null;
|
|
76
|
+
lineNet: string | null;
|
|
77
|
+
lineVat: string | null;
|
|
78
|
+
lineGross: string | null;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
60
81
|
}
|
|
61
82
|
}
|
|
@@ -10,4 +10,11 @@ var DocumentsGetCaptureResponse;
|
|
|
10
10
|
Failed: "failed",
|
|
11
11
|
Linked: "linked",
|
|
12
12
|
};
|
|
13
|
+
let Extraction;
|
|
14
|
+
(function (Extraction) {
|
|
15
|
+
Extraction.DocumentType = {
|
|
16
|
+
Invoice: "invoice",
|
|
17
|
+
CreditNote: "credit_note",
|
|
18
|
+
};
|
|
19
|
+
})(Extraction = DocumentsGetCaptureResponse.Extraction || (DocumentsGetCaptureResponse.Extraction = {}));
|
|
13
20
|
})(DocumentsGetCaptureResponse || (exports.DocumentsGetCaptureResponse = DocumentsGetCaptureResponse = {}));
|
|
@@ -24,6 +24,7 @@ export declare namespace DocumentsListCaptureResponse {
|
|
|
24
24
|
matchedPartnerId: string | null;
|
|
25
25
|
purchaseInvoiceId: string | null;
|
|
26
26
|
error: string | null;
|
|
27
|
+
senderId: string | null;
|
|
27
28
|
createdAt: string;
|
|
28
29
|
updatedAt: string;
|
|
29
30
|
}
|
|
@@ -36,6 +37,7 @@ export declare namespace DocumentsListCaptureResponse {
|
|
|
36
37
|
};
|
|
37
38
|
type Status = (typeof Status)[keyof typeof Status];
|
|
38
39
|
interface Extraction {
|
|
40
|
+
documentType?: Extraction.DocumentType | undefined;
|
|
39
41
|
supplier: Extraction.Supplier;
|
|
40
42
|
documentNumber: string | null;
|
|
41
43
|
documentDate: string | null;
|
|
@@ -46,8 +48,14 @@ export declare namespace DocumentsListCaptureResponse {
|
|
|
46
48
|
grossTotal: string | null;
|
|
47
49
|
notes: string | null;
|
|
48
50
|
lines: Extraction.Lines.Item[];
|
|
51
|
+
oppositeLines?: Extraction.OppositeLines.Item[] | undefined;
|
|
49
52
|
}
|
|
50
53
|
namespace Extraction {
|
|
54
|
+
const DocumentType: {
|
|
55
|
+
readonly Invoice: "invoice";
|
|
56
|
+
readonly CreditNote: "credit_note";
|
|
57
|
+
};
|
|
58
|
+
type DocumentType = (typeof DocumentType)[keyof typeof DocumentType];
|
|
51
59
|
interface Supplier {
|
|
52
60
|
name: string | null;
|
|
53
61
|
code: string | null;
|
|
@@ -68,6 +76,19 @@ export declare namespace DocumentsListCaptureResponse {
|
|
|
68
76
|
lineGross: string | null;
|
|
69
77
|
}
|
|
70
78
|
}
|
|
79
|
+
type OppositeLines = OppositeLines.Item[];
|
|
80
|
+
namespace OppositeLines {
|
|
81
|
+
interface Item {
|
|
82
|
+
description: string;
|
|
83
|
+
quantity: string;
|
|
84
|
+
unit: string | null;
|
|
85
|
+
unitPriceExclVat: string | null;
|
|
86
|
+
vatRatePercent: string | null;
|
|
87
|
+
lineNet: string | null;
|
|
88
|
+
lineVat: string | null;
|
|
89
|
+
lineGross: string | null;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
71
92
|
}
|
|
72
93
|
}
|
|
73
94
|
}
|
|
@@ -14,6 +14,13 @@ var DocumentsListCaptureResponse;
|
|
|
14
14
|
Failed: "failed",
|
|
15
15
|
Linked: "linked",
|
|
16
16
|
};
|
|
17
|
+
let Extraction;
|
|
18
|
+
(function (Extraction) {
|
|
19
|
+
Extraction.DocumentType = {
|
|
20
|
+
Invoice: "invoice",
|
|
21
|
+
CreditNote: "credit_note",
|
|
22
|
+
};
|
|
23
|
+
})(Extraction = Item.Extraction || (Item.Extraction = {}));
|
|
17
24
|
})(Item = Rows.Item || (Rows.Item = {}));
|
|
18
25
|
})(Rows = DocumentsListCaptureResponse.Rows || (DocumentsListCaptureResponse.Rows = {}));
|
|
19
26
|
})(DocumentsListCaptureResponse || (exports.DocumentsListCaptureResponse = DocumentsListCaptureResponse = {}));
|
|
@@ -12,6 +12,7 @@ export interface DocumentsUploadCaptureResponse {
|
|
|
12
12
|
matchedPartnerId: string | null;
|
|
13
13
|
purchaseInvoiceId: string | null;
|
|
14
14
|
error: string | null;
|
|
15
|
+
senderId: string | null;
|
|
15
16
|
createdAt: string;
|
|
16
17
|
updatedAt: string;
|
|
17
18
|
rawText: string | null;
|
|
@@ -25,6 +26,7 @@ export declare namespace DocumentsUploadCaptureResponse {
|
|
|
25
26
|
};
|
|
26
27
|
type Status = (typeof Status)[keyof typeof Status];
|
|
27
28
|
interface Extraction {
|
|
29
|
+
documentType?: Extraction.DocumentType | undefined;
|
|
28
30
|
supplier: Extraction.Supplier;
|
|
29
31
|
documentNumber: string | null;
|
|
30
32
|
documentDate: string | null;
|
|
@@ -35,8 +37,14 @@ export declare namespace DocumentsUploadCaptureResponse {
|
|
|
35
37
|
grossTotal: string | null;
|
|
36
38
|
notes: string | null;
|
|
37
39
|
lines: Extraction.Lines.Item[];
|
|
40
|
+
oppositeLines?: Extraction.OppositeLines.Item[] | undefined;
|
|
38
41
|
}
|
|
39
42
|
namespace Extraction {
|
|
43
|
+
const DocumentType: {
|
|
44
|
+
readonly Invoice: "invoice";
|
|
45
|
+
readonly CreditNote: "credit_note";
|
|
46
|
+
};
|
|
47
|
+
type DocumentType = (typeof DocumentType)[keyof typeof DocumentType];
|
|
40
48
|
interface Supplier {
|
|
41
49
|
name: string | null;
|
|
42
50
|
code: string | null;
|
|
@@ -57,5 +65,18 @@ export declare namespace DocumentsUploadCaptureResponse {
|
|
|
57
65
|
lineGross: string | null;
|
|
58
66
|
}
|
|
59
67
|
}
|
|
68
|
+
type OppositeLines = OppositeLines.Item[];
|
|
69
|
+
namespace OppositeLines {
|
|
70
|
+
interface Item {
|
|
71
|
+
description: string;
|
|
72
|
+
quantity: string;
|
|
73
|
+
unit: string | null;
|
|
74
|
+
unitPriceExclVat: string | null;
|
|
75
|
+
vatRatePercent: string | null;
|
|
76
|
+
lineNet: string | null;
|
|
77
|
+
lineVat: string | null;
|
|
78
|
+
lineGross: string | null;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
60
81
|
}
|
|
61
82
|
}
|
|
@@ -10,4 +10,11 @@ var DocumentsUploadCaptureResponse;
|
|
|
10
10
|
Failed: "failed",
|
|
11
11
|
Linked: "linked",
|
|
12
12
|
};
|
|
13
|
+
let Extraction;
|
|
14
|
+
(function (Extraction) {
|
|
15
|
+
Extraction.DocumentType = {
|
|
16
|
+
Invoice: "invoice",
|
|
17
|
+
CreditNote: "credit_note",
|
|
18
|
+
};
|
|
19
|
+
})(Extraction = DocumentsUploadCaptureResponse.Extraction || (DocumentsUploadCaptureResponse.Extraction = {}));
|
|
13
20
|
})(DocumentsUploadCaptureResponse || (exports.DocumentsUploadCaptureResponse = DocumentsUploadCaptureResponse = {}));
|
|
@@ -377,6 +377,98 @@ export declare class DeclarationsClient {
|
|
|
377
377
|
*/
|
|
378
378
|
euIossCompute(request: NordletApi.EuIossComputeDeclarationsRequest, requestOptions?: DeclarationsClient.RequestOptions): core.HttpResponsePromise<NordletApi.EuIossComputeDeclarationsResponse>;
|
|
379
379
|
private __euIossCompute;
|
|
380
|
+
/**
|
|
381
|
+
* @param {NordletApi.EuOwnGoodsTransfersComputeDeclarationsRequest} request
|
|
382
|
+
* @param {DeclarationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
383
|
+
*
|
|
384
|
+
* @throws {@link NordletApi.BadRequestError}
|
|
385
|
+
* @throws {@link NordletApi.UnauthorizedError}
|
|
386
|
+
* @throws {@link NordletApi.PaymentRequiredError}
|
|
387
|
+
* @throws {@link NordletApi.ForbiddenError}
|
|
388
|
+
* @throws {@link NordletApi.NotFoundError}
|
|
389
|
+
* @throws {@link NordletApi.ConflictError}
|
|
390
|
+
* @throws {@link NordletApi.ContentTooLargeError}
|
|
391
|
+
* @throws {@link NordletApi.UnprocessableEntityError}
|
|
392
|
+
* @throws {@link NordletApi.TooManyRequestsError}
|
|
393
|
+
* @throws {@link NordletApi.InternalServerError}
|
|
394
|
+
*
|
|
395
|
+
* @example
|
|
396
|
+
* await client.declarations.euOwnGoodsTransfersCompute({
|
|
397
|
+
* year: 1000000,
|
|
398
|
+
* month: 1000000
|
|
399
|
+
* })
|
|
400
|
+
*/
|
|
401
|
+
euOwnGoodsTransfersCompute(request: NordletApi.EuOwnGoodsTransfersComputeDeclarationsRequest, requestOptions?: DeclarationsClient.RequestOptions): core.HttpResponsePromise<NordletApi.EuOwnGoodsTransfersComputeDeclarationsResponse>;
|
|
402
|
+
private __euOwnGoodsTransfersCompute;
|
|
403
|
+
/**
|
|
404
|
+
* @param {NordletApi.EuDigitalReportingListDeclarationsRequest} request
|
|
405
|
+
* @param {DeclarationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
406
|
+
*
|
|
407
|
+
* @throws {@link NordletApi.BadRequestError}
|
|
408
|
+
* @throws {@link NordletApi.UnauthorizedError}
|
|
409
|
+
* @throws {@link NordletApi.PaymentRequiredError}
|
|
410
|
+
* @throws {@link NordletApi.ForbiddenError}
|
|
411
|
+
* @throws {@link NordletApi.NotFoundError}
|
|
412
|
+
* @throws {@link NordletApi.ConflictError}
|
|
413
|
+
* @throws {@link NordletApi.ContentTooLargeError}
|
|
414
|
+
* @throws {@link NordletApi.UnprocessableEntityError}
|
|
415
|
+
* @throws {@link NordletApi.TooManyRequestsError}
|
|
416
|
+
* @throws {@link NordletApi.InternalServerError}
|
|
417
|
+
*
|
|
418
|
+
* @example
|
|
419
|
+
* await client.declarations.euDigitalReportingList({
|
|
420
|
+
* fromDate: "2026-07-01",
|
|
421
|
+
* toDate: "2026-07-01"
|
|
422
|
+
* })
|
|
423
|
+
*/
|
|
424
|
+
euDigitalReportingList(request: NordletApi.EuDigitalReportingListDeclarationsRequest, requestOptions?: DeclarationsClient.RequestOptions): core.HttpResponsePromise<NordletApi.EuDigitalReportingListDeclarationsResponse>;
|
|
425
|
+
private __euDigitalReportingList;
|
|
426
|
+
/**
|
|
427
|
+
* Which platform sellers are reportable for the year (Council Directive (EU) 2021/514, Annex V) and why the others are excluded, the data still missing, and how the company files the report in its Member State.
|
|
428
|
+
*
|
|
429
|
+
* @param {NordletApi.EuDac7PreviewDeclarationsRequest} request
|
|
430
|
+
* @param {DeclarationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
431
|
+
*
|
|
432
|
+
* @throws {@link NordletApi.BadRequestError}
|
|
433
|
+
* @throws {@link NordletApi.UnauthorizedError}
|
|
434
|
+
* @throws {@link NordletApi.PaymentRequiredError}
|
|
435
|
+
* @throws {@link NordletApi.ForbiddenError}
|
|
436
|
+
* @throws {@link NordletApi.NotFoundError}
|
|
437
|
+
* @throws {@link NordletApi.ConflictError}
|
|
438
|
+
* @throws {@link NordletApi.ContentTooLargeError}
|
|
439
|
+
* @throws {@link NordletApi.UnprocessableEntityError}
|
|
440
|
+
* @throws {@link NordletApi.TooManyRequestsError}
|
|
441
|
+
* @throws {@link NordletApi.InternalServerError}
|
|
442
|
+
*
|
|
443
|
+
* @example
|
|
444
|
+
* await client.declarations.euDac7Preview({
|
|
445
|
+
* year: 1000000
|
|
446
|
+
* })
|
|
447
|
+
*/
|
|
448
|
+
euDac7Preview(request: NordletApi.EuDac7PreviewDeclarationsRequest, requestOptions?: DeclarationsClient.RequestOptions): core.HttpResponsePromise<NordletApi.EuDac7PreviewDeclarationsResponse>;
|
|
449
|
+
private __euDac7Preview;
|
|
450
|
+
/**
|
|
451
|
+
* @param {NordletApi.EuDac7XmlDeclarationsRequest} request
|
|
452
|
+
* @param {DeclarationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
453
|
+
*
|
|
454
|
+
* @throws {@link NordletApi.BadRequestError}
|
|
455
|
+
* @throws {@link NordletApi.UnauthorizedError}
|
|
456
|
+
* @throws {@link NordletApi.PaymentRequiredError}
|
|
457
|
+
* @throws {@link NordletApi.ForbiddenError}
|
|
458
|
+
* @throws {@link NordletApi.NotFoundError}
|
|
459
|
+
* @throws {@link NordletApi.ConflictError}
|
|
460
|
+
* @throws {@link NordletApi.ContentTooLargeError}
|
|
461
|
+
* @throws {@link NordletApi.UnprocessableEntityError}
|
|
462
|
+
* @throws {@link NordletApi.TooManyRequestsError}
|
|
463
|
+
* @throws {@link NordletApi.InternalServerError}
|
|
464
|
+
*
|
|
465
|
+
* @example
|
|
466
|
+
* await client.declarations.euDac7Xml({
|
|
467
|
+
* year: 1000000
|
|
468
|
+
* })
|
|
469
|
+
*/
|
|
470
|
+
euDac7Xml(request: NordletApi.EuDac7XmlDeclarationsRequest, requestOptions?: DeclarationsClient.RequestOptions): core.HttpResponsePromise<NordletApi.EuDac7XmlDeclarationsResponse>;
|
|
471
|
+
private __euDac7Xml;
|
|
380
472
|
/**
|
|
381
473
|
* @param {NordletApi.EuDistanceSalesThresholdGetDeclarationsRequest} request
|
|
382
474
|
* @param {DeclarationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -1640,7 +1732,7 @@ export declare class DeclarationsClient {
|
|
|
1640
1732
|
plJpkMagGenerate(request: NordletApi.PlJpkMagGenerateDeclarationsRequest, requestOptions?: DeclarationsClient.RequestOptions): core.HttpResponsePromise<NordletApi.PlJpkMagGenerateDeclarationsResponse>;
|
|
1641
1733
|
private __plJpkMagGenerate;
|
|
1642
1734
|
/**
|
|
1643
|
-
* Generate PIT-11(29) for every person on the payroll of one year: the pay, the deductible costs, the advance withheld and the social and health contributions taken off it. One document per person, because that is how the form is filed.
|
|
1735
|
+
* Generate PIT-11(29) for every person on the payroll of one year: the pay, the deductible costs, the advance withheld and the social and health contributions taken off it. One document per person, because that is how the form is filed, addressed to the tax office of the place of residence of that person (employee field plKodUrzedu); a person without that code is refused with 422.
|
|
1644
1736
|
*
|
|
1645
1737
|
* @param {NordletApi.PlPit11GenerateDeclarationsRequest} request
|
|
1646
1738
|
* @param {DeclarationsClient.RequestOptions} requestOptions - Request-specific configuration.
|