nordlet 0.1.2 → 0.2.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.
Files changed (140) hide show
  1. package/README.md +60 -0
  2. package/dist/api/resources/account/client/requests/PostV1AccountCompaniesCreateRequest.d.ts +1 -0
  3. package/dist/api/resources/account/client/requests/PostV1AccountCompaniesUpdateRequest.d.ts +1 -0
  4. package/dist/api/resources/account/types/PostV1AccountCompaniesProfileResponse.d.ts +1 -0
  5. package/dist/api/resources/account/types/PostV1AccountCompaniesUpdateResponse.d.ts +1 -0
  6. package/dist/api/resources/agreements/client/Client.d.ts +38 -0
  7. package/dist/api/resources/agreements/client/Client.js +146 -0
  8. package/dist/api/resources/agreements/client/requests/PostV1AgreementsAgreementsBillingRunRequest.d.ts +7 -0
  9. package/dist/api/resources/agreements/client/requests/PostV1AgreementsAgreementsBillingRunRequest.js +3 -0
  10. package/dist/api/resources/agreements/client/requests/PostV1AgreementsAgreementsCreateRequest.d.ts +8 -0
  11. package/dist/api/resources/agreements/client/requests/PostV1AgreementsAgreementsCreateRequest.js +5 -0
  12. package/dist/api/resources/agreements/client/requests/PostV1AgreementsAgreementsGenerateInvoiceRequest.d.ts +10 -0
  13. package/dist/api/resources/agreements/client/requests/PostV1AgreementsAgreementsGenerateInvoiceRequest.js +3 -0
  14. package/dist/api/resources/agreements/client/requests/PostV1AgreementsAgreementsUpdateRequest.d.ts +7 -0
  15. package/dist/api/resources/agreements/client/requests/PostV1AgreementsAgreementsUpdateRequest.js +5 -0
  16. package/dist/api/resources/agreements/client/requests/index.d.ts +2 -0
  17. package/dist/api/resources/agreements/types/PostV1AgreementsAgreementsBillingRunResponse.d.ts +23 -0
  18. package/dist/api/resources/agreements/types/PostV1AgreementsAgreementsBillingRunResponse.js +3 -0
  19. package/dist/api/resources/agreements/types/PostV1AgreementsAgreementsCreateResponse.d.ts +8 -0
  20. package/dist/api/resources/agreements/types/PostV1AgreementsAgreementsCreateResponse.js +5 -0
  21. package/dist/api/resources/agreements/types/PostV1AgreementsAgreementsGenerateInvoiceResponse.d.ts +6 -0
  22. package/dist/api/resources/agreements/types/PostV1AgreementsAgreementsGenerateInvoiceResponse.js +3 -0
  23. package/dist/api/resources/agreements/types/PostV1AgreementsAgreementsGetResponse.d.ts +8 -0
  24. package/dist/api/resources/agreements/types/PostV1AgreementsAgreementsGetResponse.js +5 -0
  25. package/dist/api/resources/agreements/types/PostV1AgreementsAgreementsListResponse.d.ts +7 -0
  26. package/dist/api/resources/agreements/types/PostV1AgreementsAgreementsListResponse.js +5 -0
  27. package/dist/api/resources/agreements/types/PostV1AgreementsAgreementsUpdateResponse.d.ts +8 -0
  28. package/dist/api/resources/agreements/types/PostV1AgreementsAgreementsUpdateResponse.js +5 -0
  29. package/dist/api/resources/agreements/types/index.d.ts +2 -0
  30. package/dist/api/resources/agreements/types/index.js +2 -0
  31. package/dist/api/resources/declarations/client/Client.d.ts +133 -0
  32. package/dist/api/resources/declarations/client/Client.js +511 -0
  33. package/dist/api/resources/declarations/client/requests/PostV1DeclarationsEuDistanceSalesThresholdGetRequest.d.ts +7 -0
  34. package/dist/api/resources/declarations/client/requests/PostV1DeclarationsEuDistanceSalesThresholdGetRequest.js +3 -0
  35. package/dist/api/resources/declarations/client/requests/PostV1DeclarationsEuSmeCrossBorderReportComputeRequest.d.ts +11 -0
  36. package/dist/api/resources/declarations/client/requests/PostV1DeclarationsEuSmeCrossBorderReportComputeRequest.js +3 -0
  37. package/dist/api/resources/declarations/client/requests/PostV1DeclarationsEuSmeThresholdGetRequest.d.ts +7 -0
  38. package/dist/api/resources/declarations/client/requests/PostV1DeclarationsEuSmeThresholdGetRequest.js +3 -0
  39. package/dist/api/resources/declarations/client/requests/PostV1DeclarationsEuSmeThresholdsListRequest.d.ts +5 -0
  40. package/dist/api/resources/declarations/client/requests/PostV1DeclarationsEuSmeThresholdsListRequest.js +3 -0
  41. package/dist/api/resources/declarations/client/requests/PostV1DeclarationsEuUnionTurnoverGetRequest.d.ts +7 -0
  42. package/dist/api/resources/declarations/client/requests/PostV1DeclarationsEuUnionTurnoverGetRequest.js +3 -0
  43. package/dist/api/resources/declarations/client/requests/PostV1DeclarationsEuVatReturnComputeRequest.d.ts +14 -0
  44. package/dist/api/resources/declarations/client/requests/PostV1DeclarationsEuVatReturnComputeRequest.js +3 -0
  45. package/dist/api/resources/declarations/client/requests/PostV1DeclarationsEuVatReturnPacksListRequest.d.ts +5 -0
  46. package/dist/api/resources/declarations/client/requests/PostV1DeclarationsEuVatReturnPacksListRequest.js +3 -0
  47. package/dist/api/resources/declarations/client/requests/index.d.ts +7 -0
  48. package/dist/api/resources/declarations/types/PostV1DeclarationsEuDistanceSalesThresholdGetResponse.d.ts +21 -0
  49. package/dist/api/resources/declarations/types/PostV1DeclarationsEuDistanceSalesThresholdGetResponse.js +3 -0
  50. package/dist/api/resources/declarations/types/PostV1DeclarationsEuIossComputeResponse.d.ts +18 -0
  51. package/dist/api/resources/declarations/types/PostV1DeclarationsEuOssComputeResponse.d.ts +18 -0
  52. package/dist/api/resources/declarations/types/PostV1DeclarationsEuSmeCrossBorderReportComputeResponse.d.ts +20 -0
  53. package/dist/api/resources/declarations/types/PostV1DeclarationsEuSmeCrossBorderReportComputeResponse.js +3 -0
  54. package/dist/api/resources/declarations/types/PostV1DeclarationsEuSmeThresholdGetResponse.d.ts +67 -0
  55. package/dist/api/resources/declarations/types/PostV1DeclarationsEuSmeThresholdGetResponse.js +22 -0
  56. package/dist/api/resources/declarations/types/PostV1DeclarationsEuSmeThresholdsListResponse.d.ts +34 -0
  57. package/dist/api/resources/declarations/types/PostV1DeclarationsEuSmeThresholdsListResponse.js +3 -0
  58. package/dist/api/resources/declarations/types/PostV1DeclarationsEuUnionTurnoverGetResponse.d.ts +29 -0
  59. package/dist/api/resources/declarations/types/PostV1DeclarationsEuUnionTurnoverGetResponse.js +13 -0
  60. package/dist/api/resources/declarations/types/PostV1DeclarationsEuVatReturnComputeResponse.d.ts +28 -0
  61. package/dist/api/resources/declarations/types/PostV1DeclarationsEuVatReturnComputeResponse.js +12 -0
  62. package/dist/api/resources/declarations/types/PostV1DeclarationsEuVatReturnPacksListResponse.d.ts +23 -0
  63. package/dist/api/resources/declarations/types/PostV1DeclarationsEuVatReturnPacksListResponse.js +18 -0
  64. package/dist/api/resources/declarations/types/index.d.ts +7 -0
  65. package/dist/api/resources/declarations/types/index.js +7 -0
  66. package/dist/api/resources/ledger/client/requests/PostV1LedgerPostingRulesUpdateRequest.d.ts +3 -0
  67. package/dist/api/resources/ledger/client/requests/PostV1LedgerPostingRulesUpdateRequest.js +3 -0
  68. package/dist/api/resources/reference/client/Client.d.ts +28 -0
  69. package/dist/api/resources/reference/client/Client.js +82 -0
  70. package/dist/api/resources/reference/client/requests/PostV1ReferenceEuVatRatesSetOverridesRequest.d.ts +32 -0
  71. package/dist/api/resources/reference/client/requests/PostV1ReferenceEuVatRatesSetOverridesRequest.js +19 -0
  72. package/dist/api/resources/reference/client/requests/index.d.ts +1 -0
  73. package/dist/api/resources/reference/client/requests/index.js +3 -1
  74. package/dist/api/resources/reference/types/PostV1ReferenceEuVatRatesListResponse.d.ts +7 -0
  75. package/dist/api/resources/reference/types/PostV1ReferenceEuVatRatesListResponse.js +4 -0
  76. package/dist/api/resources/reference/types/PostV1ReferenceEuVatRatesSetOverridesResponse.d.ts +29 -0
  77. package/dist/api/resources/reference/types/PostV1ReferenceEuVatRatesSetOverridesResponse.js +23 -0
  78. package/dist/api/resources/reference/types/PostV1ReferenceVatResolveResponse.d.ts +1 -0
  79. package/dist/api/resources/reference/types/PostV1ReferenceVatResolveResponse.js +1 -0
  80. package/dist/api/resources/reference/types/index.d.ts +1 -0
  81. package/dist/api/resources/reference/types/index.js +1 -0
  82. package/dist/api/resources/sales/client/Client.d.ts +173 -0
  83. package/dist/api/resources/sales/client/Client.js +659 -0
  84. package/dist/api/resources/sales/client/requests/PostV1SalesInvoicesCreateRequest.d.ts +27 -0
  85. package/dist/api/resources/sales/client/requests/PostV1SalesInvoicesCreateRequest.js +16 -0
  86. package/dist/api/resources/sales/client/requests/PostV1SalesInvoicesUpdateRequest.d.ts +27 -0
  87. package/dist/api/resources/sales/client/requests/PostV1SalesInvoicesUpdateRequest.js +16 -0
  88. package/dist/api/resources/sales/client/requests/PostV1SalesRecognitionComputeRequest.d.ts +7 -0
  89. package/dist/api/resources/sales/client/requests/PostV1SalesRecognitionComputeRequest.js +3 -0
  90. package/dist/api/resources/sales/client/requests/PostV1SalesRecognitionModifyRequest.d.ts +29 -0
  91. package/dist/api/resources/sales/client/requests/PostV1SalesRecognitionModifyRequest.js +11 -0
  92. package/dist/api/resources/sales/client/requests/PostV1SalesRecognitionProgressRequest.d.ts +12 -0
  93. package/dist/api/resources/sales/client/requests/PostV1SalesRecognitionProgressRequest.js +3 -0
  94. package/dist/api/resources/sales/client/requests/PostV1SalesRecognitionRunRequest.d.ts +9 -0
  95. package/dist/api/resources/sales/client/requests/PostV1SalesRecognitionRunRequest.js +3 -0
  96. package/dist/api/resources/sales/client/requests/PostV1SalesRecognitionRunsListRequest.d.ts +46 -0
  97. package/dist/api/resources/sales/client/requests/PostV1SalesRecognitionRunsListRequest.js +31 -0
  98. package/dist/api/resources/sales/client/requests/PostV1SalesRecognitionSchedulesListRequest.d.ts +46 -0
  99. package/dist/api/resources/sales/client/requests/PostV1SalesRecognitionSchedulesListRequest.js +31 -0
  100. package/dist/api/resources/sales/client/requests/PostV1SalesRecognitionSummaryRequest.d.ts +7 -0
  101. package/dist/api/resources/sales/client/requests/PostV1SalesRecognitionSummaryRequest.js +3 -0
  102. package/dist/api/resources/sales/client/requests/PostV1SalesRefundLiabilityListRequest.d.ts +46 -0
  103. package/dist/api/resources/sales/client/requests/PostV1SalesRefundLiabilityListRequest.js +31 -0
  104. package/dist/api/resources/sales/client/requests/PostV1SalesRefundLiabilityTrueUpRequest.d.ts +12 -0
  105. package/dist/api/resources/sales/client/requests/PostV1SalesRefundLiabilityTrueUpRequest.js +3 -0
  106. package/dist/api/resources/sales/client/requests/index.d.ts +9 -0
  107. package/dist/api/resources/sales/client/requests/index.js +9 -1
  108. package/dist/api/resources/sales/types/PostV1SalesInvoicesApplyAdvanceResponse.d.ts +26 -0
  109. package/dist/api/resources/sales/types/PostV1SalesInvoicesApplyAdvanceResponse.js +13 -0
  110. package/dist/api/resources/sales/types/PostV1SalesInvoicesCreateResponse.d.ts +26 -0
  111. package/dist/api/resources/sales/types/PostV1SalesInvoicesCreateResponse.js +13 -0
  112. package/dist/api/resources/sales/types/PostV1SalesInvoicesGetResponse.d.ts +26 -0
  113. package/dist/api/resources/sales/types/PostV1SalesInvoicesGetResponse.js +13 -0
  114. package/dist/api/resources/sales/types/PostV1SalesInvoicesIssueResponse.d.ts +26 -0
  115. package/dist/api/resources/sales/types/PostV1SalesInvoicesIssueResponse.js +13 -0
  116. package/dist/api/resources/sales/types/PostV1SalesInvoicesListResponse.d.ts +2 -0
  117. package/dist/api/resources/sales/types/PostV1SalesInvoicesListResponse.js +1 -0
  118. package/dist/api/resources/sales/types/PostV1SalesInvoicesUpdateResponse.d.ts +26 -0
  119. package/dist/api/resources/sales/types/PostV1SalesInvoicesUpdateResponse.js +13 -0
  120. package/dist/api/resources/sales/types/PostV1SalesRecognitionComputeResponse.d.ts +20 -0
  121. package/dist/api/resources/sales/types/PostV1SalesRecognitionComputeResponse.js +3 -0
  122. package/dist/api/resources/sales/types/PostV1SalesRecognitionModifyResponse.d.ts +16 -0
  123. package/dist/api/resources/sales/types/PostV1SalesRecognitionModifyResponse.js +11 -0
  124. package/dist/api/resources/sales/types/PostV1SalesRecognitionProgressResponse.d.ts +7 -0
  125. package/dist/api/resources/sales/types/PostV1SalesRecognitionProgressResponse.js +3 -0
  126. package/dist/api/resources/sales/types/PostV1SalesRecognitionRunResponse.d.ts +19 -0
  127. package/dist/api/resources/sales/types/PostV1SalesRecognitionRunResponse.js +15 -0
  128. package/dist/api/resources/sales/types/PostV1SalesRecognitionRunsListResponse.d.ts +31 -0
  129. package/dist/api/resources/sales/types/PostV1SalesRecognitionRunsListResponse.js +21 -0
  130. package/dist/api/resources/sales/types/PostV1SalesRecognitionSchedulesListResponse.d.ts +40 -0
  131. package/dist/api/resources/sales/types/PostV1SalesRecognitionSchedulesListResponse.js +24 -0
  132. package/dist/api/resources/sales/types/PostV1SalesRecognitionSummaryResponse.d.ts +35 -0
  133. package/dist/api/resources/sales/types/PostV1SalesRecognitionSummaryResponse.js +19 -0
  134. package/dist/api/resources/sales/types/PostV1SalesRefundLiabilityListResponse.d.ts +22 -0
  135. package/dist/api/resources/sales/types/PostV1SalesRefundLiabilityListResponse.js +3 -0
  136. package/dist/api/resources/sales/types/PostV1SalesRefundLiabilityTrueUpResponse.d.ts +8 -0
  137. package/dist/api/resources/sales/types/PostV1SalesRefundLiabilityTrueUpResponse.js +3 -0
  138. package/dist/api/resources/sales/types/index.d.ts +9 -0
  139. package/dist/api/resources/sales/types/index.js +9 -0
  140. package/package.json +1 -1
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * year: 1000000,
5
+ * quarter: 1000000
6
+ * }
7
+ */
8
+ export interface PostV1DeclarationsEuSmeCrossBorderReportComputeRequest {
9
+ year: number;
10
+ quarter: number;
11
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ /**
2
+ * @example
3
+ * {}
4
+ */
5
+ export interface PostV1DeclarationsEuSmeThresholdGetRequest {
6
+ date?: string;
7
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @example
3
+ * {}
4
+ */
5
+ export type PostV1DeclarationsEuSmeThresholdsListRequest = {};
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ /**
2
+ * @example
3
+ * {}
4
+ */
5
+ export interface PostV1DeclarationsEuUnionTurnoverGetRequest {
6
+ date?: string;
7
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @example
3
+ * {
4
+ * countryCode: "countryCode",
5
+ * year: 1000000,
6
+ * month: 1000000
7
+ * }
8
+ */
9
+ export interface PostV1DeclarationsEuVatReturnComputeRequest {
10
+ countryCode: string;
11
+ year: number;
12
+ month: number;
13
+ months?: number;
14
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ /**
2
+ * @example
3
+ * {}
4
+ */
5
+ export type PostV1DeclarationsEuVatReturnPacksListRequest = {};
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +1,14 @@
1
1
  export type { PostV1DeclarationsConfigsListRequest } from "./PostV1DeclarationsConfigsListRequest.js";
2
2
  export type { PostV1DeclarationsConfigsUpdateRequest } from "./PostV1DeclarationsConfigsUpdateRequest.js";
3
+ export type { PostV1DeclarationsEuDistanceSalesThresholdGetRequest } from "./PostV1DeclarationsEuDistanceSalesThresholdGetRequest.js";
3
4
  export type { PostV1DeclarationsEuIossComputeRequest } from "./PostV1DeclarationsEuIossComputeRequest.js";
4
5
  export type { PostV1DeclarationsEuOssComputeRequest } from "./PostV1DeclarationsEuOssComputeRequest.js";
6
+ export type { PostV1DeclarationsEuSmeCrossBorderReportComputeRequest } from "./PostV1DeclarationsEuSmeCrossBorderReportComputeRequest.js";
7
+ export type { PostV1DeclarationsEuSmeThresholdGetRequest } from "./PostV1DeclarationsEuSmeThresholdGetRequest.js";
8
+ export type { PostV1DeclarationsEuSmeThresholdsListRequest } from "./PostV1DeclarationsEuSmeThresholdsListRequest.js";
9
+ export type { PostV1DeclarationsEuUnionTurnoverGetRequest } from "./PostV1DeclarationsEuUnionTurnoverGetRequest.js";
10
+ export type { PostV1DeclarationsEuVatReturnComputeRequest } from "./PostV1DeclarationsEuVatReturnComputeRequest.js";
11
+ export type { PostV1DeclarationsEuVatReturnPacksListRequest } from "./PostV1DeclarationsEuVatReturnPacksListRequest.js";
5
12
  export type { PostV1DeclarationsLtFr0600ComputeRequest } from "./PostV1DeclarationsLtFr0600ComputeRequest.js";
6
13
  export { PostV1DeclarationsLtGpm313ComputeRequest } from "./PostV1DeclarationsLtGpm313ComputeRequest.js";
7
14
  export { PostV1DeclarationsLtIntrastatComputeRequest } from "./PostV1DeclarationsLtIntrastatComputeRequest.js";
@@ -0,0 +1,21 @@
1
+ export interface PostV1DeclarationsEuDistanceSalesThresholdGetResponse {
2
+ thresholdEur: string;
3
+ homeCountryCode: string;
4
+ currentYear: PostV1DeclarationsEuDistanceSalesThresholdGetResponse.CurrentYear;
5
+ precedingYear: PostV1DeclarationsEuDistanceSalesThresholdGetResponse.PrecedingYear;
6
+ belowThreshold: boolean;
7
+ headroomAmount: string;
8
+ warnings: string[];
9
+ }
10
+ export declare namespace PostV1DeclarationsEuDistanceSalesThresholdGetResponse {
11
+ interface CurrentYear {
12
+ year: number;
13
+ totalAmount: string;
14
+ documents: number;
15
+ }
16
+ interface PrecedingYear {
17
+ year: number;
18
+ totalAmount: string;
19
+ documents: number;
20
+ }
21
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -5,6 +5,8 @@ export interface PostV1DeclarationsEuIossComputeResponse {
5
5
  memberStateOfIdentification: string;
6
6
  rows: PostV1DeclarationsEuIossComputeResponse.Rows.Item[];
7
7
  totals: PostV1DeclarationsEuIossComputeResponse.Totals;
8
+ corrections: PostV1DeclarationsEuIossComputeResponse.Corrections.Item[];
9
+ correctionsTotal: PostV1DeclarationsEuIossComputeResponse.CorrectionsTotal;
8
10
  warnings: string[];
9
11
  periodMonth: number;
10
12
  }
@@ -31,4 +33,20 @@ export declare namespace PostV1DeclarationsEuIossComputeResponse {
31
33
  taxableAmount: string;
32
34
  vatAmount: string;
33
35
  }
36
+ type Corrections = Corrections.Item[];
37
+ namespace Corrections {
38
+ interface Item {
39
+ countryCode: string;
40
+ periodYear: number;
41
+ periodQuarter: number | null;
42
+ periodMonth: number | null;
43
+ taxableAmount: string;
44
+ vatAmount: string;
45
+ documents: number;
46
+ }
47
+ }
48
+ interface CorrectionsTotal {
49
+ taxableAmount: string;
50
+ vatAmount: string;
51
+ }
34
52
  }
@@ -5,6 +5,8 @@ export interface PostV1DeclarationsEuOssComputeResponse {
5
5
  memberStateOfIdentification: string;
6
6
  rows: PostV1DeclarationsEuOssComputeResponse.Rows.Item[];
7
7
  totals: PostV1DeclarationsEuOssComputeResponse.Totals;
8
+ corrections: PostV1DeclarationsEuOssComputeResponse.Corrections.Item[];
9
+ correctionsTotal: PostV1DeclarationsEuOssComputeResponse.CorrectionsTotal;
8
10
  warnings: string[];
9
11
  periodQuarter: number;
10
12
  }
@@ -31,4 +33,20 @@ export declare namespace PostV1DeclarationsEuOssComputeResponse {
31
33
  taxableAmount: string;
32
34
  vatAmount: string;
33
35
  }
36
+ type Corrections = Corrections.Item[];
37
+ namespace Corrections {
38
+ interface Item {
39
+ countryCode: string;
40
+ periodYear: number;
41
+ periodQuarter: number | null;
42
+ periodMonth: number | null;
43
+ taxableAmount: string;
44
+ vatAmount: string;
45
+ documents: number;
46
+ }
47
+ }
48
+ interface CorrectionsTotal {
49
+ taxableAmount: string;
50
+ vatAmount: string;
51
+ }
34
52
  }
@@ -0,0 +1,20 @@
1
+ export interface PostV1DeclarationsEuSmeCrossBorderReportComputeResponse {
2
+ year: number;
3
+ quarter: number;
4
+ fromDate: string;
5
+ toDate: string;
6
+ currency: string;
7
+ rows: PostV1DeclarationsEuSmeCrossBorderReportComputeResponse.Rows.Item[];
8
+ total: string;
9
+ warnings: string[];
10
+ }
11
+ export declare namespace PostV1DeclarationsEuSmeCrossBorderReportComputeResponse {
12
+ type Rows = Rows.Item[];
13
+ namespace Rows {
14
+ interface Item {
15
+ countryCode: string;
16
+ amount: string;
17
+ documents: number;
18
+ }
19
+ }
20
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,67 @@
1
+ export interface PostV1DeclarationsEuSmeThresholdGetResponse {
2
+ countryCode: string;
3
+ isVatPayer: boolean;
4
+ baseCurrency: string;
5
+ year: number;
6
+ threshold: PostV1DeclarationsEuSmeThresholdGetResponse.Threshold | null;
7
+ turnover: PostV1DeclarationsEuSmeThresholdGetResponse.Turnover;
8
+ precedingTurnover: PostV1DeclarationsEuSmeThresholdGetResponse.PrecedingTurnover;
9
+ status: PostV1DeclarationsEuSmeThresholdGetResponse.Status;
10
+ headroomAmount: string | null;
11
+ intraEu: PostV1DeclarationsEuSmeThresholdGetResponse.IntraEu | null;
12
+ warnings: string[];
13
+ }
14
+ export declare namespace PostV1DeclarationsEuSmeThresholdGetResponse {
15
+ interface Threshold {
16
+ currency: string;
17
+ nationalThreshold: string | null;
18
+ sectors?: Threshold.Sectors.Item[] | undefined;
19
+ note?: string | undefined;
20
+ source: string;
21
+ }
22
+ namespace Threshold {
23
+ type Sectors = Sectors.Item[];
24
+ namespace Sectors {
25
+ interface Item {
26
+ label: string;
27
+ amount: string;
28
+ note?: string | undefined;
29
+ }
30
+ }
31
+ }
32
+ interface Turnover {
33
+ amount: string;
34
+ currency: string;
35
+ documents: number;
36
+ }
37
+ interface PrecedingTurnover {
38
+ year: number;
39
+ amount: string;
40
+ documents: number;
41
+ }
42
+ const Status: {
43
+ readonly NotApplicable: "not_applicable";
44
+ readonly Below: "below";
45
+ readonly Approaching: "approaching";
46
+ readonly Exceeded: "exceeded";
47
+ readonly Unknown: "unknown";
48
+ };
49
+ type Status = (typeof Status)[keyof typeof Status];
50
+ interface IntraEu {
51
+ trigger: string;
52
+ currency: string;
53
+ acquisitionsFromMemberStates: string;
54
+ servicesToMemberStates: string;
55
+ total: string;
56
+ status: IntraEu.Status;
57
+ note: string;
58
+ }
59
+ namespace IntraEu {
60
+ const Status: {
61
+ readonly Below: "below";
62
+ readonly Approaching: "approaching";
63
+ readonly Exceeded: "exceeded";
64
+ };
65
+ type Status = (typeof Status)[keyof typeof Status];
66
+ }
67
+ }
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.PostV1DeclarationsEuSmeThresholdGetResponse = void 0;
5
+ var PostV1DeclarationsEuSmeThresholdGetResponse;
6
+ (function (PostV1DeclarationsEuSmeThresholdGetResponse) {
7
+ PostV1DeclarationsEuSmeThresholdGetResponse.Status = {
8
+ NotApplicable: "not_applicable",
9
+ Below: "below",
10
+ Approaching: "approaching",
11
+ Exceeded: "exceeded",
12
+ Unknown: "unknown",
13
+ };
14
+ let IntraEu;
15
+ (function (IntraEu) {
16
+ IntraEu.Status = {
17
+ Below: "below",
18
+ Approaching: "approaching",
19
+ Exceeded: "exceeded",
20
+ };
21
+ })(IntraEu = PostV1DeclarationsEuSmeThresholdGetResponse.IntraEu || (PostV1DeclarationsEuSmeThresholdGetResponse.IntraEu = {}));
22
+ })(PostV1DeclarationsEuSmeThresholdGetResponse || (exports.PostV1DeclarationsEuSmeThresholdGetResponse = PostV1DeclarationsEuSmeThresholdGetResponse = {}));
@@ -0,0 +1,34 @@
1
+ export interface PostV1DeclarationsEuSmeThresholdsListResponse {
2
+ nationalCapEur: string;
3
+ unionTurnoverCapEur: string;
4
+ thresholds: PostV1DeclarationsEuSmeThresholdsListResponse.Thresholds.Item[];
5
+ }
6
+ export declare namespace PostV1DeclarationsEuSmeThresholdsListResponse {
7
+ type Thresholds = Thresholds.Item[];
8
+ namespace Thresholds {
9
+ interface Item {
10
+ countryCode: string;
11
+ currency: string;
12
+ nationalThreshold: string | null;
13
+ sectors?: Item.Sectors.Item[] | undefined;
14
+ intraEuAcquisitionsTrigger?: Item.IntraEuAcquisitionsTrigger | undefined;
15
+ note?: string | undefined;
16
+ source: string;
17
+ }
18
+ namespace Item {
19
+ type Sectors = Sectors.Item[];
20
+ namespace Sectors {
21
+ interface Item {
22
+ label: string;
23
+ amount: string;
24
+ note?: string | undefined;
25
+ }
26
+ }
27
+ interface IntraEuAcquisitionsTrigger {
28
+ amount: string;
29
+ currency: string;
30
+ note: string;
31
+ }
32
+ }
33
+ }
34
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,29 @@
1
+ export interface PostV1DeclarationsEuUnionTurnoverGetResponse {
2
+ capEur: string;
3
+ currency: string;
4
+ isVatPayer: boolean;
5
+ currentYear: PostV1DeclarationsEuUnionTurnoverGetResponse.CurrentYear;
6
+ previousYear: PostV1DeclarationsEuUnionTurnoverGetResponse.PreviousYear;
7
+ status: PostV1DeclarationsEuUnionTurnoverGetResponse.Status;
8
+ headroomAmount: string | null;
9
+ warnings: string[];
10
+ }
11
+ export declare namespace PostV1DeclarationsEuUnionTurnoverGetResponse {
12
+ interface CurrentYear {
13
+ year: number;
14
+ amount: string;
15
+ documents: number;
16
+ }
17
+ interface PreviousYear {
18
+ year: number;
19
+ amount: string;
20
+ documents: number;
21
+ }
22
+ const Status: {
23
+ readonly Below: "below";
24
+ readonly Approaching: "approaching";
25
+ readonly Exceeded: "exceeded";
26
+ readonly NotApplicable: "not_applicable";
27
+ };
28
+ type Status = (typeof Status)[keyof typeof Status];
29
+ }
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.PostV1DeclarationsEuUnionTurnoverGetResponse = void 0;
5
+ var PostV1DeclarationsEuUnionTurnoverGetResponse;
6
+ (function (PostV1DeclarationsEuUnionTurnoverGetResponse) {
7
+ PostV1DeclarationsEuUnionTurnoverGetResponse.Status = {
8
+ Below: "below",
9
+ Approaching: "approaching",
10
+ Exceeded: "exceeded",
11
+ NotApplicable: "not_applicable",
12
+ };
13
+ })(PostV1DeclarationsEuUnionTurnoverGetResponse || (exports.PostV1DeclarationsEuUnionTurnoverGetResponse = PostV1DeclarationsEuUnionTurnoverGetResponse = {}));
@@ -0,0 +1,28 @@
1
+ export interface PostV1DeclarationsEuVatReturnComputeResponse {
2
+ countryCode: string;
3
+ formKey: string;
4
+ formName: string;
5
+ frequency: PostV1DeclarationsEuVatReturnComputeResponse.Frequency;
6
+ periodStart: string;
7
+ periodEnd: string;
8
+ boxes: PostV1DeclarationsEuVatReturnComputeResponse.Boxes.Item[];
9
+ warnings: string[];
10
+ notes: string[];
11
+ source: string;
12
+ }
13
+ export declare namespace PostV1DeclarationsEuVatReturnComputeResponse {
14
+ const Frequency: {
15
+ readonly Monthly: "monthly";
16
+ readonly Quarterly: "quarterly";
17
+ readonly Annual: "annual";
18
+ };
19
+ type Frequency = (typeof Frequency)[keyof typeof Frequency];
20
+ type Boxes = Boxes.Item[];
21
+ namespace Boxes {
22
+ interface Item {
23
+ code: string;
24
+ label: string;
25
+ amount: string;
26
+ }
27
+ }
28
+ }
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.PostV1DeclarationsEuVatReturnComputeResponse = void 0;
5
+ var PostV1DeclarationsEuVatReturnComputeResponse;
6
+ (function (PostV1DeclarationsEuVatReturnComputeResponse) {
7
+ PostV1DeclarationsEuVatReturnComputeResponse.Frequency = {
8
+ Monthly: "monthly",
9
+ Quarterly: "quarterly",
10
+ Annual: "annual",
11
+ };
12
+ })(PostV1DeclarationsEuVatReturnComputeResponse || (exports.PostV1DeclarationsEuVatReturnComputeResponse = PostV1DeclarationsEuVatReturnComputeResponse = {}));
@@ -0,0 +1,23 @@
1
+ export interface PostV1DeclarationsEuVatReturnPacksListResponse {
2
+ packs: PostV1DeclarationsEuVatReturnPacksListResponse.Packs.Item[];
3
+ }
4
+ export declare namespace PostV1DeclarationsEuVatReturnPacksListResponse {
5
+ type Packs = Packs.Item[];
6
+ namespace Packs {
7
+ interface Item {
8
+ countryCode: string;
9
+ formKey: string;
10
+ formName: string;
11
+ frequency: Item.Frequency;
12
+ source: string;
13
+ }
14
+ namespace Item {
15
+ const Frequency: {
16
+ readonly Monthly: "monthly";
17
+ readonly Quarterly: "quarterly";
18
+ readonly Annual: "annual";
19
+ };
20
+ type Frequency = (typeof Frequency)[keyof typeof Frequency];
21
+ }
22
+ }
23
+ }
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.PostV1DeclarationsEuVatReturnPacksListResponse = void 0;
5
+ var PostV1DeclarationsEuVatReturnPacksListResponse;
6
+ (function (PostV1DeclarationsEuVatReturnPacksListResponse) {
7
+ let Packs;
8
+ (function (Packs) {
9
+ let Item;
10
+ (function (Item) {
11
+ Item.Frequency = {
12
+ Monthly: "monthly",
13
+ Quarterly: "quarterly",
14
+ Annual: "annual",
15
+ };
16
+ })(Item = Packs.Item || (Packs.Item = {}));
17
+ })(Packs = PostV1DeclarationsEuVatReturnPacksListResponse.Packs || (PostV1DeclarationsEuVatReturnPacksListResponse.Packs = {}));
18
+ })(PostV1DeclarationsEuVatReturnPacksListResponse || (exports.PostV1DeclarationsEuVatReturnPacksListResponse = PostV1DeclarationsEuVatReturnPacksListResponse = {}));
@@ -1,7 +1,14 @@
1
1
  export * from "./PostV1DeclarationsConfigsListResponse.js";
2
2
  export * from "./PostV1DeclarationsConfigsUpdateResponse.js";
3
+ export * from "./PostV1DeclarationsEuDistanceSalesThresholdGetResponse.js";
3
4
  export * from "./PostV1DeclarationsEuIossComputeResponse.js";
4
5
  export * from "./PostV1DeclarationsEuOssComputeResponse.js";
6
+ export * from "./PostV1DeclarationsEuSmeCrossBorderReportComputeResponse.js";
7
+ export * from "./PostV1DeclarationsEuSmeThresholdGetResponse.js";
8
+ export * from "./PostV1DeclarationsEuSmeThresholdsListResponse.js";
9
+ export * from "./PostV1DeclarationsEuUnionTurnoverGetResponse.js";
10
+ export * from "./PostV1DeclarationsEuVatReturnComputeResponse.js";
11
+ export * from "./PostV1DeclarationsEuVatReturnPacksListResponse.js";
5
12
  export * from "./PostV1DeclarationsLtFr0600ComputeResponse.js";
6
13
  export * from "./PostV1DeclarationsLtGpm313ComputeResponse.js";
7
14
  export * from "./PostV1DeclarationsLtIntrastatComputeResponse.js";
@@ -16,8 +16,15 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./PostV1DeclarationsConfigsListResponse.js"), exports);
18
18
  __exportStar(require("./PostV1DeclarationsConfigsUpdateResponse.js"), exports);
19
+ __exportStar(require("./PostV1DeclarationsEuDistanceSalesThresholdGetResponse.js"), exports);
19
20
  __exportStar(require("./PostV1DeclarationsEuIossComputeResponse.js"), exports);
20
21
  __exportStar(require("./PostV1DeclarationsEuOssComputeResponse.js"), exports);
22
+ __exportStar(require("./PostV1DeclarationsEuSmeCrossBorderReportComputeResponse.js"), exports);
23
+ __exportStar(require("./PostV1DeclarationsEuSmeThresholdGetResponse.js"), exports);
24
+ __exportStar(require("./PostV1DeclarationsEuSmeThresholdsListResponse.js"), exports);
25
+ __exportStar(require("./PostV1DeclarationsEuUnionTurnoverGetResponse.js"), exports);
26
+ __exportStar(require("./PostV1DeclarationsEuVatReturnComputeResponse.js"), exports);
27
+ __exportStar(require("./PostV1DeclarationsEuVatReturnPacksListResponse.js"), exports);
21
28
  __exportStar(require("./PostV1DeclarationsLtFr0600ComputeResponse.js"), exports);
22
29
  __exportStar(require("./PostV1DeclarationsLtGpm313ComputeResponse.js"), exports);
23
30
  __exportStar(require("./PostV1DeclarationsLtIntrastatComputeResponse.js"), exports);
@@ -35,6 +35,9 @@ export declare namespace PostV1LedgerPostingRulesUpdateRequest {
35
35
  readonly SettlementsCommissionRevenue: "settlements.commissionRevenue";
36
36
  readonly SettlementsSellerPayable: "settlements.sellerPayable";
37
37
  readonly SettlementsSuspense: "settlements.suspense";
38
+ readonly RevenueDeferredIncome: "revenue.deferredIncome";
39
+ readonly RevenueContractAsset: "revenue.contractAsset";
40
+ readonly RevenueRefundLiability: "revenue.refundLiability";
38
41
  };
39
42
  type Key = (typeof Key)[keyof typeof Key];
40
43
  }
@@ -26,6 +26,9 @@ var PostV1LedgerPostingRulesUpdateRequest;
26
26
  SettlementsCommissionRevenue: "settlements.commissionRevenue",
27
27
  SettlementsSellerPayable: "settlements.sellerPayable",
28
28
  SettlementsSuspense: "settlements.suspense",
29
+ RevenueDeferredIncome: "revenue.deferredIncome",
30
+ RevenueContractAsset: "revenue.contractAsset",
31
+ RevenueRefundLiability: "revenue.refundLiability",
29
32
  };
30
33
  })(Item = Rules.Item || (Rules.Item = {}));
31
34
  })(Rules = PostV1LedgerPostingRulesUpdateRequest.Rules || (PostV1LedgerPostingRulesUpdateRequest.Rules = {}));
@@ -243,6 +243,8 @@ export declare class ReferenceClient {
243
243
  postV1ReferenceVatClassifiersUpsert(request: NordletApi.PostV1ReferenceVatClassifiersUpsertRequest, requestOptions?: ReferenceClient.RequestOptions): core.HttpResponsePromise<NordletApi.PostV1ReferenceVatClassifiersUpsertResponse>;
244
244
  private __postV1ReferenceVatClassifiersUpsert;
245
245
  /**
246
+ * Effective EU VAT rate mapping for this company: EC TEDB defaults, replaced per country by any company overrides. Verify the mapping fits the goods and services you sell before relying on it.
247
+ *
246
248
  * @param {NordletApi.PostV1ReferenceEuVatRatesListRequest} request
247
249
  * @param {ReferenceClient.RequestOptions} requestOptions - Request-specific configuration.
248
250
  *
@@ -260,6 +262,32 @@ export declare class ReferenceClient {
260
262
  */
261
263
  postV1ReferenceEuVatRatesList(request?: NordletApi.PostV1ReferenceEuVatRatesListRequest, requestOptions?: ReferenceClient.RequestOptions): core.HttpResponsePromise<NordletApi.PostV1ReferenceEuVatRatesListResponse>;
262
264
  private __postV1ReferenceEuVatRatesList;
265
+ /**
266
+ * Replace the VAT rate mapping this company uses for one EU country. Pass an empty rates array to drop the overrides and return to the TEDB defaults. Overrides feed rate suggestions (vat/resolve) and OSS/IOSS return rate classification.
267
+ *
268
+ * @param {NordletApi.PostV1ReferenceEuVatRatesSetOverridesRequest} request
269
+ * @param {ReferenceClient.RequestOptions} requestOptions - Request-specific configuration.
270
+ *
271
+ * @throws {@link NordletApi.BadRequestError}
272
+ * @throws {@link NordletApi.UnauthorizedError}
273
+ * @throws {@link NordletApi.ForbiddenError}
274
+ * @throws {@link NordletApi.NotFoundError}
275
+ * @throws {@link NordletApi.ConflictError}
276
+ * @throws {@link NordletApi.UnprocessableEntityError}
277
+ * @throws {@link NordletApi.TooManyRequestsError}
278
+ * @throws {@link NordletApi.InternalServerError}
279
+ *
280
+ * @example
281
+ * await client.reference.postV1ReferenceEuVatRatesSetOverrides({
282
+ * countryCode: "countryCode",
283
+ * rates: [{
284
+ * category: "standard",
285
+ * ratePercent: "ratePercent"
286
+ * }]
287
+ * })
288
+ */
289
+ postV1ReferenceEuVatRatesSetOverrides(request: NordletApi.PostV1ReferenceEuVatRatesSetOverridesRequest, requestOptions?: ReferenceClient.RequestOptions): core.HttpResponsePromise<NordletApi.PostV1ReferenceEuVatRatesSetOverridesResponse>;
290
+ private __postV1ReferenceEuVatRatesSetOverrides;
263
291
  /**
264
292
  * @param {NordletApi.PostV1ReferenceVatResolveRequest} request
265
293
  * @param {ReferenceClient.RequestOptions} requestOptions - Request-specific configuration.