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
|
@@ -1342,6 +1342,330 @@ class DeclarationsClient {
|
|
|
1342
1342
|
}
|
|
1343
1343
|
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/declarations/eu/ioss/compute");
|
|
1344
1344
|
}
|
|
1345
|
+
/**
|
|
1346
|
+
* @param {NordletApi.EuOwnGoodsTransfersComputeDeclarationsRequest} request
|
|
1347
|
+
* @param {DeclarationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1348
|
+
*
|
|
1349
|
+
* @throws {@link NordletApi.BadRequestError}
|
|
1350
|
+
* @throws {@link NordletApi.UnauthorizedError}
|
|
1351
|
+
* @throws {@link NordletApi.PaymentRequiredError}
|
|
1352
|
+
* @throws {@link NordletApi.ForbiddenError}
|
|
1353
|
+
* @throws {@link NordletApi.NotFoundError}
|
|
1354
|
+
* @throws {@link NordletApi.ConflictError}
|
|
1355
|
+
* @throws {@link NordletApi.ContentTooLargeError}
|
|
1356
|
+
* @throws {@link NordletApi.UnprocessableEntityError}
|
|
1357
|
+
* @throws {@link NordletApi.TooManyRequestsError}
|
|
1358
|
+
* @throws {@link NordletApi.InternalServerError}
|
|
1359
|
+
*
|
|
1360
|
+
* @example
|
|
1361
|
+
* await client.declarations.euOwnGoodsTransfersCompute({
|
|
1362
|
+
* year: 1000000,
|
|
1363
|
+
* month: 1000000
|
|
1364
|
+
* })
|
|
1365
|
+
*/
|
|
1366
|
+
euOwnGoodsTransfersCompute(request, requestOptions) {
|
|
1367
|
+
return core.HttpResponsePromise.fromPromise(this.__euOwnGoodsTransfersCompute(request, requestOptions));
|
|
1368
|
+
}
|
|
1369
|
+
async __euOwnGoodsTransfersCompute(request, requestOptions) {
|
|
1370
|
+
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
1371
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
|
|
1372
|
+
const _response = await core.fetcher({
|
|
1373
|
+
url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
|
|
1374
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
1375
|
+
environments.NordletApiEnvironment.Production, "v1/declarations/eu/own-goods-transfers/compute"),
|
|
1376
|
+
method: "POST",
|
|
1377
|
+
headers: _headers,
|
|
1378
|
+
contentType: "application/json",
|
|
1379
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
|
|
1380
|
+
requestType: "json",
|
|
1381
|
+
body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(request, requestOptions?.additionalBodyParameters),
|
|
1382
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
1383
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
1384
|
+
abortSignal: requestOptions?.abortSignal,
|
|
1385
|
+
fetchFn: this._options?.fetch,
|
|
1386
|
+
logging: this._options.logging,
|
|
1387
|
+
});
|
|
1388
|
+
if (_response.ok) {
|
|
1389
|
+
return {
|
|
1390
|
+
data: _response.body,
|
|
1391
|
+
rawResponse: _response.rawResponse,
|
|
1392
|
+
};
|
|
1393
|
+
}
|
|
1394
|
+
if (_response.error.reason === "status-code") {
|
|
1395
|
+
switch (_response.error.statusCode) {
|
|
1396
|
+
case 400:
|
|
1397
|
+
throw new NordletApi.BadRequestError(_response.error.body, _response.rawResponse);
|
|
1398
|
+
case 401:
|
|
1399
|
+
throw new NordletApi.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
1400
|
+
case 402:
|
|
1401
|
+
throw new NordletApi.PaymentRequiredError(_response.error.body, _response.rawResponse);
|
|
1402
|
+
case 403:
|
|
1403
|
+
throw new NordletApi.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
1404
|
+
case 404:
|
|
1405
|
+
throw new NordletApi.NotFoundError(_response.error.body, _response.rawResponse);
|
|
1406
|
+
case 409:
|
|
1407
|
+
throw new NordletApi.ConflictError(_response.error.body, _response.rawResponse);
|
|
1408
|
+
case 413:
|
|
1409
|
+
throw new NordletApi.ContentTooLargeError(_response.error.body, _response.rawResponse);
|
|
1410
|
+
case 422:
|
|
1411
|
+
throw new NordletApi.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
1412
|
+
case 429:
|
|
1413
|
+
throw new NordletApi.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
1414
|
+
case 500:
|
|
1415
|
+
throw new NordletApi.InternalServerError(_response.error.body, _response.rawResponse);
|
|
1416
|
+
default:
|
|
1417
|
+
throw new errors.NordletApiError({
|
|
1418
|
+
statusCode: _response.error.statusCode,
|
|
1419
|
+
body: _response.error.body,
|
|
1420
|
+
rawResponse: _response.rawResponse,
|
|
1421
|
+
});
|
|
1422
|
+
}
|
|
1423
|
+
}
|
|
1424
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/declarations/eu/own-goods-transfers/compute");
|
|
1425
|
+
}
|
|
1426
|
+
/**
|
|
1427
|
+
* @param {NordletApi.EuDigitalReportingListDeclarationsRequest} request
|
|
1428
|
+
* @param {DeclarationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1429
|
+
*
|
|
1430
|
+
* @throws {@link NordletApi.BadRequestError}
|
|
1431
|
+
* @throws {@link NordletApi.UnauthorizedError}
|
|
1432
|
+
* @throws {@link NordletApi.PaymentRequiredError}
|
|
1433
|
+
* @throws {@link NordletApi.ForbiddenError}
|
|
1434
|
+
* @throws {@link NordletApi.NotFoundError}
|
|
1435
|
+
* @throws {@link NordletApi.ConflictError}
|
|
1436
|
+
* @throws {@link NordletApi.ContentTooLargeError}
|
|
1437
|
+
* @throws {@link NordletApi.UnprocessableEntityError}
|
|
1438
|
+
* @throws {@link NordletApi.TooManyRequestsError}
|
|
1439
|
+
* @throws {@link NordletApi.InternalServerError}
|
|
1440
|
+
*
|
|
1441
|
+
* @example
|
|
1442
|
+
* await client.declarations.euDigitalReportingList({
|
|
1443
|
+
* fromDate: "2026-07-01",
|
|
1444
|
+
* toDate: "2026-07-01"
|
|
1445
|
+
* })
|
|
1446
|
+
*/
|
|
1447
|
+
euDigitalReportingList(request, requestOptions) {
|
|
1448
|
+
return core.HttpResponsePromise.fromPromise(this.__euDigitalReportingList(request, requestOptions));
|
|
1449
|
+
}
|
|
1450
|
+
async __euDigitalReportingList(request, requestOptions) {
|
|
1451
|
+
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
1452
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
|
|
1453
|
+
const _response = await core.fetcher({
|
|
1454
|
+
url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
|
|
1455
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
1456
|
+
environments.NordletApiEnvironment.Production, "v1/declarations/eu/digital-reporting/list"),
|
|
1457
|
+
method: "POST",
|
|
1458
|
+
headers: _headers,
|
|
1459
|
+
contentType: "application/json",
|
|
1460
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
|
|
1461
|
+
requestType: "json",
|
|
1462
|
+
body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(request, requestOptions?.additionalBodyParameters),
|
|
1463
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
1464
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
1465
|
+
abortSignal: requestOptions?.abortSignal,
|
|
1466
|
+
fetchFn: this._options?.fetch,
|
|
1467
|
+
logging: this._options.logging,
|
|
1468
|
+
});
|
|
1469
|
+
if (_response.ok) {
|
|
1470
|
+
return {
|
|
1471
|
+
data: _response.body,
|
|
1472
|
+
rawResponse: _response.rawResponse,
|
|
1473
|
+
};
|
|
1474
|
+
}
|
|
1475
|
+
if (_response.error.reason === "status-code") {
|
|
1476
|
+
switch (_response.error.statusCode) {
|
|
1477
|
+
case 400:
|
|
1478
|
+
throw new NordletApi.BadRequestError(_response.error.body, _response.rawResponse);
|
|
1479
|
+
case 401:
|
|
1480
|
+
throw new NordletApi.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
1481
|
+
case 402:
|
|
1482
|
+
throw new NordletApi.PaymentRequiredError(_response.error.body, _response.rawResponse);
|
|
1483
|
+
case 403:
|
|
1484
|
+
throw new NordletApi.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
1485
|
+
case 404:
|
|
1486
|
+
throw new NordletApi.NotFoundError(_response.error.body, _response.rawResponse);
|
|
1487
|
+
case 409:
|
|
1488
|
+
throw new NordletApi.ConflictError(_response.error.body, _response.rawResponse);
|
|
1489
|
+
case 413:
|
|
1490
|
+
throw new NordletApi.ContentTooLargeError(_response.error.body, _response.rawResponse);
|
|
1491
|
+
case 422:
|
|
1492
|
+
throw new NordletApi.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
1493
|
+
case 429:
|
|
1494
|
+
throw new NordletApi.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
1495
|
+
case 500:
|
|
1496
|
+
throw new NordletApi.InternalServerError(_response.error.body, _response.rawResponse);
|
|
1497
|
+
default:
|
|
1498
|
+
throw new errors.NordletApiError({
|
|
1499
|
+
statusCode: _response.error.statusCode,
|
|
1500
|
+
body: _response.error.body,
|
|
1501
|
+
rawResponse: _response.rawResponse,
|
|
1502
|
+
});
|
|
1503
|
+
}
|
|
1504
|
+
}
|
|
1505
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/declarations/eu/digital-reporting/list");
|
|
1506
|
+
}
|
|
1507
|
+
/**
|
|
1508
|
+
* 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.
|
|
1509
|
+
*
|
|
1510
|
+
* @param {NordletApi.EuDac7PreviewDeclarationsRequest} request
|
|
1511
|
+
* @param {DeclarationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1512
|
+
*
|
|
1513
|
+
* @throws {@link NordletApi.BadRequestError}
|
|
1514
|
+
* @throws {@link NordletApi.UnauthorizedError}
|
|
1515
|
+
* @throws {@link NordletApi.PaymentRequiredError}
|
|
1516
|
+
* @throws {@link NordletApi.ForbiddenError}
|
|
1517
|
+
* @throws {@link NordletApi.NotFoundError}
|
|
1518
|
+
* @throws {@link NordletApi.ConflictError}
|
|
1519
|
+
* @throws {@link NordletApi.ContentTooLargeError}
|
|
1520
|
+
* @throws {@link NordletApi.UnprocessableEntityError}
|
|
1521
|
+
* @throws {@link NordletApi.TooManyRequestsError}
|
|
1522
|
+
* @throws {@link NordletApi.InternalServerError}
|
|
1523
|
+
*
|
|
1524
|
+
* @example
|
|
1525
|
+
* await client.declarations.euDac7Preview({
|
|
1526
|
+
* year: 1000000
|
|
1527
|
+
* })
|
|
1528
|
+
*/
|
|
1529
|
+
euDac7Preview(request, requestOptions) {
|
|
1530
|
+
return core.HttpResponsePromise.fromPromise(this.__euDac7Preview(request, requestOptions));
|
|
1531
|
+
}
|
|
1532
|
+
async __euDac7Preview(request, requestOptions) {
|
|
1533
|
+
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
1534
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
|
|
1535
|
+
const _response = await core.fetcher({
|
|
1536
|
+
url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
|
|
1537
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
1538
|
+
environments.NordletApiEnvironment.Production, "v1/declarations/eu/dac7/preview"),
|
|
1539
|
+
method: "POST",
|
|
1540
|
+
headers: _headers,
|
|
1541
|
+
contentType: "application/json",
|
|
1542
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
|
|
1543
|
+
requestType: "json",
|
|
1544
|
+
body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(request, requestOptions?.additionalBodyParameters),
|
|
1545
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
1546
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
1547
|
+
abortSignal: requestOptions?.abortSignal,
|
|
1548
|
+
fetchFn: this._options?.fetch,
|
|
1549
|
+
logging: this._options.logging,
|
|
1550
|
+
});
|
|
1551
|
+
if (_response.ok) {
|
|
1552
|
+
return {
|
|
1553
|
+
data: _response.body,
|
|
1554
|
+
rawResponse: _response.rawResponse,
|
|
1555
|
+
};
|
|
1556
|
+
}
|
|
1557
|
+
if (_response.error.reason === "status-code") {
|
|
1558
|
+
switch (_response.error.statusCode) {
|
|
1559
|
+
case 400:
|
|
1560
|
+
throw new NordletApi.BadRequestError(_response.error.body, _response.rawResponse);
|
|
1561
|
+
case 401:
|
|
1562
|
+
throw new NordletApi.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
1563
|
+
case 402:
|
|
1564
|
+
throw new NordletApi.PaymentRequiredError(_response.error.body, _response.rawResponse);
|
|
1565
|
+
case 403:
|
|
1566
|
+
throw new NordletApi.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
1567
|
+
case 404:
|
|
1568
|
+
throw new NordletApi.NotFoundError(_response.error.body, _response.rawResponse);
|
|
1569
|
+
case 409:
|
|
1570
|
+
throw new NordletApi.ConflictError(_response.error.body, _response.rawResponse);
|
|
1571
|
+
case 413:
|
|
1572
|
+
throw new NordletApi.ContentTooLargeError(_response.error.body, _response.rawResponse);
|
|
1573
|
+
case 422:
|
|
1574
|
+
throw new NordletApi.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
1575
|
+
case 429:
|
|
1576
|
+
throw new NordletApi.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
1577
|
+
case 500:
|
|
1578
|
+
throw new NordletApi.InternalServerError(_response.error.body, _response.rawResponse);
|
|
1579
|
+
default:
|
|
1580
|
+
throw new errors.NordletApiError({
|
|
1581
|
+
statusCode: _response.error.statusCode,
|
|
1582
|
+
body: _response.error.body,
|
|
1583
|
+
rawResponse: _response.rawResponse,
|
|
1584
|
+
});
|
|
1585
|
+
}
|
|
1586
|
+
}
|
|
1587
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/declarations/eu/dac7/preview");
|
|
1588
|
+
}
|
|
1589
|
+
/**
|
|
1590
|
+
* @param {NordletApi.EuDac7XmlDeclarationsRequest} request
|
|
1591
|
+
* @param {DeclarationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1592
|
+
*
|
|
1593
|
+
* @throws {@link NordletApi.BadRequestError}
|
|
1594
|
+
* @throws {@link NordletApi.UnauthorizedError}
|
|
1595
|
+
* @throws {@link NordletApi.PaymentRequiredError}
|
|
1596
|
+
* @throws {@link NordletApi.ForbiddenError}
|
|
1597
|
+
* @throws {@link NordletApi.NotFoundError}
|
|
1598
|
+
* @throws {@link NordletApi.ConflictError}
|
|
1599
|
+
* @throws {@link NordletApi.ContentTooLargeError}
|
|
1600
|
+
* @throws {@link NordletApi.UnprocessableEntityError}
|
|
1601
|
+
* @throws {@link NordletApi.TooManyRequestsError}
|
|
1602
|
+
* @throws {@link NordletApi.InternalServerError}
|
|
1603
|
+
*
|
|
1604
|
+
* @example
|
|
1605
|
+
* await client.declarations.euDac7Xml({
|
|
1606
|
+
* year: 1000000
|
|
1607
|
+
* })
|
|
1608
|
+
*/
|
|
1609
|
+
euDac7Xml(request, requestOptions) {
|
|
1610
|
+
return core.HttpResponsePromise.fromPromise(this.__euDac7Xml(request, requestOptions));
|
|
1611
|
+
}
|
|
1612
|
+
async __euDac7Xml(request, requestOptions) {
|
|
1613
|
+
const _authRequest = await this._options.authProvider.getAuthRequest();
|
|
1614
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, this._options?.headers, requestOptions?.headers);
|
|
1615
|
+
const _response = await core.fetcher({
|
|
1616
|
+
url: core.url.join((await core.Supplier.get(this._options.baseUrl)) ??
|
|
1617
|
+
(await core.Supplier.get(this._options.environment)) ??
|
|
1618
|
+
environments.NordletApiEnvironment.Production, "v1/declarations/eu/dac7/xml"),
|
|
1619
|
+
method: "POST",
|
|
1620
|
+
headers: _headers,
|
|
1621
|
+
contentType: "application/json",
|
|
1622
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions?.queryParams).build(),
|
|
1623
|
+
requestType: "json",
|
|
1624
|
+
body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(request, requestOptions?.additionalBodyParameters),
|
|
1625
|
+
timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 60) * 1000,
|
|
1626
|
+
maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
|
|
1627
|
+
abortSignal: requestOptions?.abortSignal,
|
|
1628
|
+
fetchFn: this._options?.fetch,
|
|
1629
|
+
logging: this._options.logging,
|
|
1630
|
+
});
|
|
1631
|
+
if (_response.ok) {
|
|
1632
|
+
return {
|
|
1633
|
+
data: _response.body,
|
|
1634
|
+
rawResponse: _response.rawResponse,
|
|
1635
|
+
};
|
|
1636
|
+
}
|
|
1637
|
+
if (_response.error.reason === "status-code") {
|
|
1638
|
+
switch (_response.error.statusCode) {
|
|
1639
|
+
case 400:
|
|
1640
|
+
throw new NordletApi.BadRequestError(_response.error.body, _response.rawResponse);
|
|
1641
|
+
case 401:
|
|
1642
|
+
throw new NordletApi.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
1643
|
+
case 402:
|
|
1644
|
+
throw new NordletApi.PaymentRequiredError(_response.error.body, _response.rawResponse);
|
|
1645
|
+
case 403:
|
|
1646
|
+
throw new NordletApi.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
1647
|
+
case 404:
|
|
1648
|
+
throw new NordletApi.NotFoundError(_response.error.body, _response.rawResponse);
|
|
1649
|
+
case 409:
|
|
1650
|
+
throw new NordletApi.ConflictError(_response.error.body, _response.rawResponse);
|
|
1651
|
+
case 413:
|
|
1652
|
+
throw new NordletApi.ContentTooLargeError(_response.error.body, _response.rawResponse);
|
|
1653
|
+
case 422:
|
|
1654
|
+
throw new NordletApi.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
1655
|
+
case 429:
|
|
1656
|
+
throw new NordletApi.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
1657
|
+
case 500:
|
|
1658
|
+
throw new NordletApi.InternalServerError(_response.error.body, _response.rawResponse);
|
|
1659
|
+
default:
|
|
1660
|
+
throw new errors.NordletApiError({
|
|
1661
|
+
statusCode: _response.error.statusCode,
|
|
1662
|
+
body: _response.error.body,
|
|
1663
|
+
rawResponse: _response.rawResponse,
|
|
1664
|
+
});
|
|
1665
|
+
}
|
|
1666
|
+
}
|
|
1667
|
+
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/declarations/eu/dac7/xml");
|
|
1668
|
+
}
|
|
1345
1669
|
/**
|
|
1346
1670
|
* @param {NordletApi.EuDistanceSalesThresholdGetDeclarationsRequest} request
|
|
1347
1671
|
* @param {DeclarationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -5679,7 +6003,7 @@ class DeclarationsClient {
|
|
|
5679
6003
|
return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/v1/declarations/pl/jpk-mag/generate");
|
|
5680
6004
|
}
|
|
5681
6005
|
/**
|
|
5682
|
-
* 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.
|
|
6006
|
+
* 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.
|
|
5683
6007
|
*
|
|
5684
6008
|
* @param {NordletApi.PlPit11GenerateDeclarationsRequest} request
|
|
5685
6009
|
* @param {DeclarationsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -25,9 +25,13 @@ export { DeReturnsGenerateDeclarationsRequest } from "./DeReturnsGenerateDeclara
|
|
|
25
25
|
export type { DkSelskabsskatGenerateDeclarationsRequest } from "./DkSelskabsskatGenerateDeclarationsRequest.js";
|
|
26
26
|
export { EeEmploymentRegisterSendDeclarationsRequest } from "./EeEmploymentRegisterSendDeclarationsRequest.js";
|
|
27
27
|
export type { EsVerifactuDeclaracionResponsableDeclarationsRequest } from "./EsVerifactuDeclaracionResponsableDeclarationsRequest.js";
|
|
28
|
+
export type { EuDac7PreviewDeclarationsRequest } from "./EuDac7PreviewDeclarationsRequest.js";
|
|
29
|
+
export type { EuDac7XmlDeclarationsRequest } from "./EuDac7XmlDeclarationsRequest.js";
|
|
30
|
+
export type { EuDigitalReportingListDeclarationsRequest } from "./EuDigitalReportingListDeclarationsRequest.js";
|
|
28
31
|
export type { EuDistanceSalesThresholdGetDeclarationsRequest } from "./EuDistanceSalesThresholdGetDeclarationsRequest.js";
|
|
29
32
|
export type { EuIossComputeDeclarationsRequest } from "./EuIossComputeDeclarationsRequest.js";
|
|
30
33
|
export type { EuOssComputeDeclarationsRequest } from "./EuOssComputeDeclarationsRequest.js";
|
|
34
|
+
export type { EuOwnGoodsTransfersComputeDeclarationsRequest } from "./EuOwnGoodsTransfersComputeDeclarationsRequest.js";
|
|
31
35
|
export type { EuSmeCrossBorderReportComputeDeclarationsRequest } from "./EuSmeCrossBorderReportComputeDeclarationsRequest.js";
|
|
32
36
|
export type { EuSmeThresholdGetDeclarationsRequest } from "./EuSmeThresholdGetDeclarationsRequest.js";
|
|
33
37
|
export type { EuSmeThresholdsListDeclarationsRequest } from "./EuSmeThresholdsListDeclarationsRequest.js";
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export interface EuDac7PreviewDeclarationsResponse {
|
|
2
|
+
year: number;
|
|
3
|
+
country: string;
|
|
4
|
+
system: string;
|
|
5
|
+
sendsDirectly: boolean;
|
|
6
|
+
messageTypeIndic: string;
|
|
7
|
+
currency: string;
|
|
8
|
+
sellers: EuDac7PreviewDeclarationsResponse.Sellers.Item[];
|
|
9
|
+
warnings: string[];
|
|
10
|
+
source: string;
|
|
11
|
+
}
|
|
12
|
+
export declare namespace EuDac7PreviewDeclarationsResponse {
|
|
13
|
+
type Sellers = Sellers.Item[];
|
|
14
|
+
namespace Sellers {
|
|
15
|
+
interface Item {
|
|
16
|
+
sellerId: string;
|
|
17
|
+
name: string;
|
|
18
|
+
reportable: boolean;
|
|
19
|
+
reason: string | null;
|
|
20
|
+
consideration: string;
|
|
21
|
+
activities: number;
|
|
22
|
+
warnings: string[];
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
export interface EuDigitalReportingListDeclarationsResponse {
|
|
2
|
+
fromDate: string;
|
|
3
|
+
toDate: string;
|
|
4
|
+
appliesFrom: string;
|
|
5
|
+
reportTo: string;
|
|
6
|
+
transactions: EuDigitalReportingListDeclarationsResponse.Transactions.Item[];
|
|
7
|
+
warnings: string[];
|
|
8
|
+
source: string;
|
|
9
|
+
}
|
|
10
|
+
export declare namespace EuDigitalReportingListDeclarationsResponse {
|
|
11
|
+
type Transactions = Transactions.Item[];
|
|
12
|
+
namespace Transactions {
|
|
13
|
+
interface Item {
|
|
14
|
+
direction: Item.Direction;
|
|
15
|
+
article: Item.Article;
|
|
16
|
+
documentId: string;
|
|
17
|
+
documentType: Item.DocumentType;
|
|
18
|
+
number: string | null;
|
|
19
|
+
issueDate: string;
|
|
20
|
+
partnerName: string;
|
|
21
|
+
supplierVatNumber: string | null;
|
|
22
|
+
customerVatNumber: string | null;
|
|
23
|
+
currency: string;
|
|
24
|
+
lines: Item.Lines.Item[];
|
|
25
|
+
taxableAmount: string;
|
|
26
|
+
vatAmount: string | null;
|
|
27
|
+
exemptionReference: string | null;
|
|
28
|
+
reverseCharge: boolean;
|
|
29
|
+
correctedInvoiceNumber: string | null;
|
|
30
|
+
supplierAccounts: string[];
|
|
31
|
+
reportTo: string;
|
|
32
|
+
deadline: string;
|
|
33
|
+
missing: string[];
|
|
34
|
+
}
|
|
35
|
+
namespace Item {
|
|
36
|
+
const Direction: {
|
|
37
|
+
readonly Supply: "supply";
|
|
38
|
+
readonly Acquisition: "acquisition";
|
|
39
|
+
};
|
|
40
|
+
type Direction = (typeof Direction)[keyof typeof Direction];
|
|
41
|
+
const Article: {
|
|
42
|
+
readonly TwoHundredSixtyTwo1A: "262(1)(a)";
|
|
43
|
+
readonly TwoHundredSixtyTwo1B: "262(1)(b)";
|
|
44
|
+
readonly TwoHundredSixtyTwo1C: "262(1)(c)";
|
|
45
|
+
readonly TwoHundredSixtyTwo1D: "262(1)(d)";
|
|
46
|
+
};
|
|
47
|
+
type Article = (typeof Article)[keyof typeof Article];
|
|
48
|
+
const DocumentType: {
|
|
49
|
+
readonly Invoice: "invoice";
|
|
50
|
+
readonly CreditNote: "credit_note";
|
|
51
|
+
};
|
|
52
|
+
type DocumentType = (typeof DocumentType)[keyof typeof DocumentType];
|
|
53
|
+
type Lines = Lines.Item[];
|
|
54
|
+
namespace Lines {
|
|
55
|
+
interface Item {
|
|
56
|
+
description: string;
|
|
57
|
+
quantity: string;
|
|
58
|
+
unit: string;
|
|
59
|
+
unitPrice: string | null;
|
|
60
|
+
taxableAmount: string;
|
|
61
|
+
vatRatePercent: string;
|
|
62
|
+
vatAmount: string;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.EuDigitalReportingListDeclarationsResponse = void 0;
|
|
5
|
+
var EuDigitalReportingListDeclarationsResponse;
|
|
6
|
+
(function (EuDigitalReportingListDeclarationsResponse) {
|
|
7
|
+
let Transactions;
|
|
8
|
+
(function (Transactions) {
|
|
9
|
+
let Item;
|
|
10
|
+
(function (Item) {
|
|
11
|
+
Item.Direction = {
|
|
12
|
+
Supply: "supply",
|
|
13
|
+
Acquisition: "acquisition",
|
|
14
|
+
};
|
|
15
|
+
Item.Article = {
|
|
16
|
+
TwoHundredSixtyTwo1A: "262(1)(a)",
|
|
17
|
+
TwoHundredSixtyTwo1B: "262(1)(b)",
|
|
18
|
+
TwoHundredSixtyTwo1C: "262(1)(c)",
|
|
19
|
+
TwoHundredSixtyTwo1D: "262(1)(d)",
|
|
20
|
+
};
|
|
21
|
+
Item.DocumentType = {
|
|
22
|
+
Invoice: "invoice",
|
|
23
|
+
CreditNote: "credit_note",
|
|
24
|
+
};
|
|
25
|
+
})(Item = Transactions.Item || (Transactions.Item = {}));
|
|
26
|
+
})(Transactions = EuDigitalReportingListDeclarationsResponse.Transactions || (EuDigitalReportingListDeclarationsResponse.Transactions = {}));
|
|
27
|
+
})(EuDigitalReportingListDeclarationsResponse || (exports.EuDigitalReportingListDeclarationsResponse = EuDigitalReportingListDeclarationsResponse = {}));
|
package/dist/api/resources/declarations/types/EuOwnGoodsTransfersComputeDeclarationsResponse.d.ts
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export interface EuOwnGoodsTransfersComputeDeclarationsResponse {
|
|
2
|
+
periodYear: number;
|
|
3
|
+
periodMonth: number;
|
|
4
|
+
fromDate: string;
|
|
5
|
+
toDate: string;
|
|
6
|
+
dueDate: string;
|
|
7
|
+
memberStateOfIdentification: string;
|
|
8
|
+
currency: string;
|
|
9
|
+
rows: EuOwnGoodsTransfersComputeDeclarationsResponse.Rows.Item[];
|
|
10
|
+
total: string;
|
|
11
|
+
transfers: EuOwnGoodsTransfersComputeDeclarationsResponse.Transfers.Item[];
|
|
12
|
+
warnings: string[];
|
|
13
|
+
source: string;
|
|
14
|
+
}
|
|
15
|
+
export declare namespace EuOwnGoodsTransfersComputeDeclarationsResponse {
|
|
16
|
+
type Rows = Rows.Item[];
|
|
17
|
+
namespace Rows {
|
|
18
|
+
interface Item {
|
|
19
|
+
destinationCountryCode: string;
|
|
20
|
+
dispatchCountryCode: string;
|
|
21
|
+
taxableAmount: string;
|
|
22
|
+
transfers: number;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
type Transfers = Transfers.Item[];
|
|
26
|
+
namespace Transfers {
|
|
27
|
+
interface Item {
|
|
28
|
+
movementId: string;
|
|
29
|
+
date: string;
|
|
30
|
+
itemId: string;
|
|
31
|
+
itemName: string;
|
|
32
|
+
quantity: string;
|
|
33
|
+
cost: string;
|
|
34
|
+
fromCountryCode: string;
|
|
35
|
+
toCountryCode: string;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -25,9 +25,13 @@ export * from "./DeReturnsGenerateDeclarationsResponse.js";
|
|
|
25
25
|
export * from "./DkSelskabsskatGenerateDeclarationsResponse.js";
|
|
26
26
|
export * from "./EeEmploymentRegisterSendDeclarationsResponse.js";
|
|
27
27
|
export * from "./EsVerifactuDeclaracionResponsableDeclarationsResponse.js";
|
|
28
|
+
export * from "./EuDac7PreviewDeclarationsResponse.js";
|
|
29
|
+
export * from "./EuDac7XmlDeclarationsResponse.js";
|
|
30
|
+
export * from "./EuDigitalReportingListDeclarationsResponse.js";
|
|
28
31
|
export * from "./EuDistanceSalesThresholdGetDeclarationsResponse.js";
|
|
29
32
|
export * from "./EuIossComputeDeclarationsResponse.js";
|
|
30
33
|
export * from "./EuOssComputeDeclarationsResponse.js";
|
|
34
|
+
export * from "./EuOwnGoodsTransfersComputeDeclarationsResponse.js";
|
|
31
35
|
export * from "./EuSmeCrossBorderReportComputeDeclarationsResponse.js";
|
|
32
36
|
export * from "./EuSmeThresholdGetDeclarationsResponse.js";
|
|
33
37
|
export * from "./EuSmeThresholdsListDeclarationsResponse.js";
|
|
@@ -41,9 +41,13 @@ __exportStar(require("./DeReturnsGenerateDeclarationsResponse.js"), exports);
|
|
|
41
41
|
__exportStar(require("./DkSelskabsskatGenerateDeclarationsResponse.js"), exports);
|
|
42
42
|
__exportStar(require("./EeEmploymentRegisterSendDeclarationsResponse.js"), exports);
|
|
43
43
|
__exportStar(require("./EsVerifactuDeclaracionResponsableDeclarationsResponse.js"), exports);
|
|
44
|
+
__exportStar(require("./EuDac7PreviewDeclarationsResponse.js"), exports);
|
|
45
|
+
__exportStar(require("./EuDac7XmlDeclarationsResponse.js"), exports);
|
|
46
|
+
__exportStar(require("./EuDigitalReportingListDeclarationsResponse.js"), exports);
|
|
44
47
|
__exportStar(require("./EuDistanceSalesThresholdGetDeclarationsResponse.js"), exports);
|
|
45
48
|
__exportStar(require("./EuIossComputeDeclarationsResponse.js"), exports);
|
|
46
49
|
__exportStar(require("./EuOssComputeDeclarationsResponse.js"), exports);
|
|
50
|
+
__exportStar(require("./EuOwnGoodsTransfersComputeDeclarationsResponse.js"), exports);
|
|
47
51
|
__exportStar(require("./EuSmeCrossBorderReportComputeDeclarationsResponse.js"), exports);
|
|
48
52
|
__exportStar(require("./EuSmeThresholdGetDeclarationsResponse.js"), exports);
|
|
49
53
|
__exportStar(require("./EuSmeThresholdsListDeclarationsResponse.js"), exports);
|
|
@@ -73,6 +73,12 @@ export * from "./partners/types/index.js";
|
|
|
73
73
|
export * from "./payroll/client/requests/index.js";
|
|
74
74
|
export * as payroll from "./payroll/index.js";
|
|
75
75
|
export * from "./payroll/types/index.js";
|
|
76
|
+
export * from "./peppol/client/requests/index.js";
|
|
77
|
+
export * as peppol from "./peppol/index.js";
|
|
78
|
+
export * from "./peppol/types/index.js";
|
|
79
|
+
export * from "./platformSellers/client/requests/index.js";
|
|
80
|
+
export * as platformSellers from "./platformSellers/index.js";
|
|
81
|
+
export * from "./platformSellers/types/index.js";
|
|
76
82
|
export * from "./pos/client/requests/index.js";
|
|
77
83
|
export * as pos from "./pos/index.js";
|
|
78
84
|
export * from "./pos/types/index.js";
|