@timbro/invoices 0.12.0 → 0.14.0-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -1
- package/dist/admin.d.ts +1 -0
- package/dist/admin.d.ts.map +1 -1
- package/dist/admin.js +1 -0
- package/dist/certification-workbook.d.ts +9 -0
- package/dist/certification-workbook.d.ts.map +1 -0
- package/dist/certification-workbook.js +13 -0
- package/dist/fiscal-engine-runtime.manifest.json +121 -116
- package/dist/fiscal-engine-runtime.provenance.json +198 -193
- package/dist/generated/certification-api-contract.d.ts +430 -0
- package/dist/generated/certification-api-contract.d.ts.map +1 -0
- package/dist/generated/certification-api-contract.js +483 -0
- package/dist/generated/hosted/index.d.ts +3 -3
- package/dist/generated/hosted/index.d.ts.map +1 -1
- package/dist/generated/hosted/index.js +2 -2
- package/dist/generated/hosted/sdk.gen.d.ts +13 -1
- package/dist/generated/hosted/sdk.gen.d.ts.map +1 -1
- package/dist/generated/hosted/sdk.gen.js +165 -1
- package/dist/generated/hosted/types.gen.d.ts +308 -6
- package/dist/generated/hosted/types.gen.d.ts.map +1 -1
- package/dist/generated/hosted/zod-response.gen.d.ts +322 -20
- package/dist/generated/hosted/zod-response.gen.d.ts.map +1 -1
- package/dist/generated/hosted/zod-response.gen.js +113 -5
- package/dist/generated/hosted/zod.gen.d.ts +221 -5
- package/dist/generated/hosted/zod.gen.d.ts.map +1 -1
- package/dist/generated/hosted/zod.gen.js +133 -5
- package/dist/generated/index.d.ts +3 -3
- package/dist/generated/index.d.ts.map +1 -1
- package/dist/generated/index.js +2 -2
- package/dist/generated/invoice-api-contract.d.ts +1346 -106
- package/dist/generated/invoice-api-contract.d.ts.map +1 -1
- package/dist/generated/invoice-api-contract.js +1756 -164
- package/dist/generated/problem-catalog.d.ts.map +1 -1
- package/dist/generated/problem-catalog.js +2 -0
- package/dist/generated/sdk.gen.d.ts +5 -1
- package/dist/generated/sdk.gen.d.ts.map +1 -1
- package/dist/generated/sdk.gen.js +109 -1
- package/dist/generated/types.gen.d.ts +544 -55
- package/dist/generated/types.gen.d.ts.map +1 -1
- package/dist/generated/zod-response.gen.d.ts +20971 -3786
- package/dist/generated/zod-response.gen.d.ts.map +1 -1
- package/dist/generated/zod-response.gen.js +228 -6
- package/dist/generated/zod.gen.d.ts +17521 -2762
- package/dist/generated/zod.gen.d.ts.map +1 -1
- package/dist/generated/zod.gen.js +2328 -1438
- package/dist/generated-operation-client.d.ts +2 -2
- package/dist/generated-operation-client.d.ts.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/invoice-hosted-controls.d.ts +11 -2
- package/dist/invoice-hosted-controls.d.ts.map +1 -1
- package/dist/invoice-hosted-controls.js +26 -1
- package/dist/problem-contract.d.ts +3 -1
- package/dist/problem-contract.d.ts.map +1 -1
- package/dist/timbro_fiscal_engine_bg.wasm +0 -0
- package/package.json +2 -2
|
@@ -9,6 +9,13 @@ export type AcceptedMembership = {
|
|
|
9
9
|
organization_id: string;
|
|
10
10
|
role: MembershipRole;
|
|
11
11
|
};
|
|
12
|
+
/**
|
|
13
|
+
* Additional official document facts emitted in `InformacionesAdicionales`.
|
|
14
|
+
*/
|
|
15
|
+
export type AdditionalDocumentInformation = {
|
|
16
|
+
reference_number?: string | undefined;
|
|
17
|
+
shipment?: ShipmentInformation | undefined;
|
|
18
|
+
};
|
|
12
19
|
/**
|
|
13
20
|
* Buyer identity alternatives admitted by official conditional Type 33 and Type 34 `Comprador`.
|
|
14
21
|
*/
|
|
@@ -18,6 +25,7 @@ export type AdjustmentNoteBuyer = {
|
|
|
18
25
|
address?: string | undefined;
|
|
19
26
|
contact_name?: string | undefined;
|
|
20
27
|
delivery_on?: string | undefined;
|
|
28
|
+
delivery_phone?: string | undefined;
|
|
21
29
|
email?: string | undefined;
|
|
22
30
|
identity_kind: "domestic";
|
|
23
31
|
internal_code?: string | undefined;
|
|
@@ -28,6 +36,7 @@ export type AdjustmentNoteBuyer = {
|
|
|
28
36
|
purchase_order_on?: string | undefined;
|
|
29
37
|
tax_id: string;
|
|
30
38
|
} | {
|
|
39
|
+
delivery_phone?: string | undefined;
|
|
31
40
|
foreign_identifier: string;
|
|
32
41
|
identity_kind: "foreign";
|
|
33
42
|
legal_name: string;
|
|
@@ -109,6 +118,7 @@ export type Buyer = {
|
|
|
109
118
|
address?: string | undefined;
|
|
110
119
|
contact_name?: string | undefined;
|
|
111
120
|
delivery_on?: string | undefined;
|
|
121
|
+
delivery_phone?: string | undefined;
|
|
112
122
|
email?: string | undefined;
|
|
113
123
|
internal_code?: string | undefined;
|
|
114
124
|
legal_name: string;
|
|
@@ -213,6 +223,37 @@ export type CertificateCustodyCertificateVersionResource = {
|
|
|
213
223
|
* Signature algorithm pinned with a certificate-custody binding.
|
|
214
224
|
*/
|
|
215
225
|
export type CertificateCustodySignatureAlgorithm = "rsa_sha256";
|
|
226
|
+
export type CertificationTestSetKind = "ecf";
|
|
227
|
+
export type CertificationTestSetObject = "certification_test_set";
|
|
228
|
+
export type CertificationTestSetRequirement = "case_mapping_pending";
|
|
229
|
+
export type CertificationTestSetResource = {
|
|
230
|
+
attemptReference: string;
|
|
231
|
+
createdAt: string;
|
|
232
|
+
file: RetainedCertificationWorkbook;
|
|
233
|
+
generation: string;
|
|
234
|
+
id: string;
|
|
235
|
+
kind: CertificationTestSetKind;
|
|
236
|
+
object: CertificationTestSetObject;
|
|
237
|
+
review: CertificationTestSetReview;
|
|
238
|
+
};
|
|
239
|
+
export type CertificationTestSetReview = {
|
|
240
|
+
requirements: Array<CertificationTestSetRequirement>;
|
|
241
|
+
status: "review_required";
|
|
242
|
+
worksheets: Array<CertificationWorksheetSummary>;
|
|
243
|
+
};
|
|
244
|
+
export type CertificationTestSetUploadRequest = {
|
|
245
|
+
file: CertificationWorkbookFile;
|
|
246
|
+
kind: CertificationTestSetKind;
|
|
247
|
+
};
|
|
248
|
+
export type CertificationWorkbookFile = {
|
|
249
|
+
contentBase64: string;
|
|
250
|
+
name: string;
|
|
251
|
+
};
|
|
252
|
+
export type CertificationWorksheetName = "ECF" | "RFCE";
|
|
253
|
+
export type CertificationWorksheetSummary = {
|
|
254
|
+
caseCount: number;
|
|
255
|
+
name: CertificationWorksheetName;
|
|
256
|
+
};
|
|
216
257
|
/**
|
|
217
258
|
* The wire family a Collection page announces.
|
|
218
259
|
*/
|
|
@@ -318,6 +359,9 @@ export type CreateSourceConnectionRequest = {
|
|
|
318
359
|
provider_target_id: string;
|
|
319
360
|
source_provider_authorization_id: string;
|
|
320
361
|
};
|
|
362
|
+
export type CurrentCertificationTestSet = {
|
|
363
|
+
current: null | CertificationTestSetResource;
|
|
364
|
+
};
|
|
321
365
|
export type DeclareReceptionMountRequest = {
|
|
322
366
|
environment: FiscalEnvironment;
|
|
323
367
|
legal_issuer_id: string;
|
|
@@ -469,6 +513,7 @@ export type ExpectedAuthorizationHead = {
|
|
|
469
513
|
* Foreign customer identity admitted by the Type 46 export profile.
|
|
470
514
|
*/
|
|
471
515
|
export type ExportCustomer = {
|
|
516
|
+
delivery_phone?: string | undefined;
|
|
472
517
|
foreign_identifier: string;
|
|
473
518
|
identity_kind: "foreign";
|
|
474
519
|
legal_name: string;
|
|
@@ -598,19 +643,6 @@ export type FiscalItemCode = {
|
|
|
598
643
|
* Closed result vocabulary emitted by persisted fiscal lifecycle events.
|
|
599
644
|
*/
|
|
600
645
|
export type FiscalLifecycleResultCode = "authority_fiscal_identity_not_found" | "authority_fiscal_identity_reconciliation_requested" | "authority_inquiry_inconclusive" | "authority_inquiry_retry_requested" | "authority_status_accepted" | "authority_status_accepted_with_findings" | "authority_status_processing" | "authority_status_rejected" | "authority_submission_outcome_unknown" | "authority_submission_recorded" | "authority_submission_rejected" | "authority_submission_requested" | "authority_submission_retry_requested" | "authority_track_poll_not_found" | "authority_track_poll_requested" | "commercially_accepted" | "commercially_rejected" | "consumer_summary_accepted" | "consumer_summary_accepted_with_findings" | "consumer_summary_inquiry_inconclusive" | "consumer_summary_inquiry_not_found" | "consumer_summary_inquiry_requested" | "consumer_summary_inquiry_retry_requested" | "consumer_summary_rejected" | "consumer_summary_signed" | "consumer_summary_signing_failed" | "consumer_summary_signing_replay_horizon_expired" | "consumer_summary_signing_requested" | "consumer_summary_signing_retry_requested" | "consumer_summary_submission_outcome_unknown" | "consumer_summary_submission_requested" | "consumer_summary_submission_retry_requested" | "custody_effect_replay_capability_unavailable" | "custody_effect_replay_horizon_expired" | "fiscal_attempt_budget_exhausted" | "fiscal_document_signed" | "fiscal_operation_admitted" | "fiscal_operation_delivery_ready" | "fiscal_operation_rejected" | "fiscal_signing_failed" | "fiscal_signing_replay_capability_unavailable" | "fiscal_signing_replay_horizon_expired" | "fiscal_signing_requested" | "fiscal_signing_retry_requested";
|
|
601
|
-
/**
|
|
602
|
-
* One fiscal line admitted by sales and adjustment document profiles.
|
|
603
|
-
*/
|
|
604
|
-
export type FiscalLine = {
|
|
605
|
-
billing_indicator: "0" | "1" | "2" | "3" | "4";
|
|
606
|
-
goods_or_service_indicator: "1" | "2";
|
|
607
|
-
item_codes?: Array<FiscalItemCode> | undefined;
|
|
608
|
-
measurement_unit: string;
|
|
609
|
-
name: string;
|
|
610
|
-
quantity: string;
|
|
611
|
-
source_line_id: string;
|
|
612
|
-
unit_price: string;
|
|
613
|
-
};
|
|
614
646
|
/**
|
|
615
647
|
* Deterministic totals calculated for one fiscal line.
|
|
616
648
|
*/
|
|
@@ -649,7 +681,7 @@ export type FiscalNumberAuthorizationHistoryResource = {
|
|
|
649
681
|
/**
|
|
650
682
|
* Provenance strength of a fiscal-number authorization fact.
|
|
651
683
|
*/
|
|
652
|
-
export type FiscalNumberAuthorizationKnowledge = "verified" | "reported";
|
|
684
|
+
export type FiscalNumberAuthorizationKnowledge = "verified" | "reported" | "disputed";
|
|
653
685
|
export type FiscalNumberAuthorizationLineage = {
|
|
654
686
|
current: FiscalNumberAuthorizationResource;
|
|
655
687
|
generations: Array<FiscalNumberAuthorizationResource>;
|
|
@@ -689,7 +721,7 @@ export type FiscalNumberAuthorizationResource = {
|
|
|
689
721
|
/**
|
|
690
722
|
* Origin of a fiscal-number authorization fact.
|
|
691
723
|
*/
|
|
692
|
-
export type FiscalNumberAuthorizationSourceKind = "official_source_manifest" | "operator_attested" | "caller_reported";
|
|
724
|
+
export type FiscalNumberAuthorizationSourceKind = "official_source_manifest" | "operator_attested" | "caller_reported" | "dgii_response";
|
|
693
725
|
/**
|
|
694
726
|
* Lifecycle state of a fiscal-number authorization fact.
|
|
695
727
|
*/
|
|
@@ -855,6 +887,13 @@ export type ForeignPaymentLine = {
|
|
|
855
887
|
source_line_id: string;
|
|
856
888
|
unit_price: string;
|
|
857
889
|
};
|
|
890
|
+
/**
|
|
891
|
+
* Additional document facts for the governmental e-CF profile, whose reference may be alphanumeric.
|
|
892
|
+
*/
|
|
893
|
+
export type GovernmentAdditionalDocumentInformation = {
|
|
894
|
+
reference_number?: string | undefined;
|
|
895
|
+
shipment?: ShipmentInformation | undefined;
|
|
896
|
+
};
|
|
858
897
|
export type HealthLiveResponse = {
|
|
859
898
|
commit: string;
|
|
860
899
|
status: HealthStatus;
|
|
@@ -985,6 +1024,33 @@ export type InviteMemberRequest = {
|
|
|
985
1024
|
email: IdentityEmailSchema;
|
|
986
1025
|
role: MembershipRole;
|
|
987
1026
|
};
|
|
1027
|
+
export type InvoiceAdditionalInformation = {
|
|
1028
|
+
referenceNumber?: null | string | undefined;
|
|
1029
|
+
shipment?: {
|
|
1030
|
+
containerNumber?: null | string | undefined;
|
|
1031
|
+
deliveryNoteNumber?: null | string | undefined;
|
|
1032
|
+
driver?: null | string | undefined;
|
|
1033
|
+
grossWeight?: null | string | undefined;
|
|
1034
|
+
grossWeightUnit?: null | string | undefined;
|
|
1035
|
+
netWeight?: null | string | undefined;
|
|
1036
|
+
netWeightUnit?: null | string | undefined;
|
|
1037
|
+
packageCount?: null | string | undefined;
|
|
1038
|
+
packageUnit?: null | string | undefined;
|
|
1039
|
+
packageVolume?: null | string | undefined;
|
|
1040
|
+
route?: null | string | undefined;
|
|
1041
|
+
shipmentDate?: null | string | undefined;
|
|
1042
|
+
shipmentNumber?: null | string | undefined;
|
|
1043
|
+
transportDocumentNumber?: null | string | undefined;
|
|
1044
|
+
transportZone?: null | string | undefined;
|
|
1045
|
+
vehicleFiche?: null | string | undefined;
|
|
1046
|
+
vehiclePlate?: null | string | undefined;
|
|
1047
|
+
volumeUnit?: null | string | undefined;
|
|
1048
|
+
} | undefined;
|
|
1049
|
+
};
|
|
1050
|
+
export type InvoiceAdditionalInformationResource = {
|
|
1051
|
+
referenceNumber: string | null;
|
|
1052
|
+
shipment: null | InvoiceShipmentInformationResource;
|
|
1053
|
+
};
|
|
988
1054
|
export type InvoiceAffectedDocumentAttribution = {
|
|
989
1055
|
invoiceId: string;
|
|
990
1056
|
kind: "internalOperation";
|
|
@@ -1001,6 +1067,7 @@ export type InvoiceAffectedFiscalDocument = {
|
|
|
1001
1067
|
};
|
|
1002
1068
|
export type InvoiceBuyer = {
|
|
1003
1069
|
address?: null | string | undefined;
|
|
1070
|
+
deliveryPhone?: null | string | undefined;
|
|
1004
1071
|
email?: null | string | undefined;
|
|
1005
1072
|
legalName: string;
|
|
1006
1073
|
taxId: string;
|
|
@@ -1025,19 +1092,23 @@ export type InvoiceBuyerDeliveryReadiness = {
|
|
|
1025
1092
|
export type InvoiceBuyerIdentity = {
|
|
1026
1093
|
kind: "anonymous";
|
|
1027
1094
|
} | {
|
|
1095
|
+
deliveryPhone?: string | undefined;
|
|
1028
1096
|
kind: "domestic";
|
|
1029
1097
|
legalName: string;
|
|
1030
1098
|
taxId: string;
|
|
1031
1099
|
} | {
|
|
1100
|
+
deliveryPhone?: string | undefined;
|
|
1032
1101
|
foreignId: string;
|
|
1033
1102
|
kind: "foreign";
|
|
1034
1103
|
legalName: string;
|
|
1035
1104
|
};
|
|
1036
1105
|
export type InvoiceConsumerBuyer = {
|
|
1106
|
+
deliveryPhone?: null | string | undefined;
|
|
1037
1107
|
kind: "domestic";
|
|
1038
1108
|
legalName: string;
|
|
1039
1109
|
taxId: string;
|
|
1040
1110
|
} | {
|
|
1111
|
+
deliveryPhone?: null | string | undefined;
|
|
1041
1112
|
foreignId: string;
|
|
1042
1113
|
kind: "foreign";
|
|
1043
1114
|
legalName: string;
|
|
@@ -1106,6 +1177,7 @@ export type InvoiceExpectedTotals = {
|
|
|
1106
1177
|
* ForeignBuyer
|
|
1107
1178
|
*/
|
|
1108
1179
|
export type InvoiceExportBuyer = {
|
|
1180
|
+
deliveryPhone?: null | string | undefined;
|
|
1109
1181
|
foreignId: string;
|
|
1110
1182
|
kind: "foreign";
|
|
1111
1183
|
legalName: string;
|
|
@@ -1118,6 +1190,7 @@ export type InvoiceExportEligibility = {
|
|
|
1118
1190
|
exporterKind: "free_zone_business";
|
|
1119
1191
|
};
|
|
1120
1192
|
export type InvoiceExportItem = {
|
|
1193
|
+
adjustments?: null | LinePriceAdjustments | undefined;
|
|
1121
1194
|
description: string;
|
|
1122
1195
|
id?: null | string | undefined;
|
|
1123
1196
|
itemCodes?: null | Array<InvoiceItemCode> | undefined;
|
|
@@ -1169,6 +1242,29 @@ export type InvoiceForeignPaymentWithholdingBasis = {
|
|
|
1169
1242
|
authorityReference: string;
|
|
1170
1243
|
kind: "dominicanSourceIncome";
|
|
1171
1244
|
};
|
|
1245
|
+
export type InvoiceGovernmentAdditionalInformation = {
|
|
1246
|
+
referenceNumber?: null | string | undefined;
|
|
1247
|
+
shipment?: {
|
|
1248
|
+
containerNumber?: null | string | undefined;
|
|
1249
|
+
deliveryNoteNumber?: null | string | undefined;
|
|
1250
|
+
driver?: null | string | undefined;
|
|
1251
|
+
grossWeight?: null | string | undefined;
|
|
1252
|
+
grossWeightUnit?: null | string | undefined;
|
|
1253
|
+
netWeight?: null | string | undefined;
|
|
1254
|
+
netWeightUnit?: null | string | undefined;
|
|
1255
|
+
packageCount?: null | string | undefined;
|
|
1256
|
+
packageUnit?: null | string | undefined;
|
|
1257
|
+
packageVolume?: null | string | undefined;
|
|
1258
|
+
route?: null | string | undefined;
|
|
1259
|
+
shipmentDate?: null | string | undefined;
|
|
1260
|
+
shipmentNumber?: null | string | undefined;
|
|
1261
|
+
transportDocumentNumber?: null | string | undefined;
|
|
1262
|
+
transportZone?: null | string | undefined;
|
|
1263
|
+
vehicleFiche?: null | string | undefined;
|
|
1264
|
+
vehiclePlate?: null | string | undefined;
|
|
1265
|
+
volumeUnit?: null | string | undefined;
|
|
1266
|
+
} | undefined;
|
|
1267
|
+
};
|
|
1172
1268
|
export type InvoiceGovernmentEligibility = {
|
|
1173
1269
|
authorityReference: string;
|
|
1174
1270
|
entityKind: "central_government";
|
|
@@ -1194,6 +1290,7 @@ export type InvoiceGovernmentItem = {
|
|
|
1194
1290
|
unitPrice: string;
|
|
1195
1291
|
};
|
|
1196
1292
|
export type InvoiceItem = {
|
|
1293
|
+
adjustments?: null | LinePriceAdjustments | undefined;
|
|
1197
1294
|
description: string;
|
|
1198
1295
|
id?: null | string | undefined;
|
|
1199
1296
|
itemCodes?: null | Array<InvoiceItemCode> | undefined;
|
|
@@ -1214,6 +1311,7 @@ export type InvoiceItemCodeResource = {
|
|
|
1214
1311
|
};
|
|
1215
1312
|
export type InvoiceItemResource = {
|
|
1216
1313
|
additionalTaxCodes: Array<string>;
|
|
1314
|
+
adjustments: null | InvoiceLinePriceAdjustmentsResource;
|
|
1217
1315
|
description: string;
|
|
1218
1316
|
id: string;
|
|
1219
1317
|
itemCodes: Array<InvoiceItemCodeResource>;
|
|
@@ -1241,6 +1339,17 @@ export type InvoiceLatestEvent = {
|
|
|
1241
1339
|
occurredAt: string;
|
|
1242
1340
|
sequence: string;
|
|
1243
1341
|
};
|
|
1342
|
+
export type InvoiceLinePriceAdjustmentResource = {
|
|
1343
|
+
amount: string;
|
|
1344
|
+
kind: "fixed_amount";
|
|
1345
|
+
} | {
|
|
1346
|
+
kind: "percentage";
|
|
1347
|
+
percentage: string;
|
|
1348
|
+
};
|
|
1349
|
+
export type InvoiceLinePriceAdjustmentsResource = {
|
|
1350
|
+
discounts: Array<InvoiceLinePriceAdjustmentResource>;
|
|
1351
|
+
surcharges: Array<InvoiceLinePriceAdjustmentResource>;
|
|
1352
|
+
};
|
|
1244
1353
|
export type InvoiceMinorExpenseItem = {
|
|
1245
1354
|
description: string;
|
|
1246
1355
|
id?: null | string | undefined;
|
|
@@ -1265,12 +1374,20 @@ export type InvoicePage = {
|
|
|
1265
1374
|
nextCursor: string | null;
|
|
1266
1375
|
object: CollectionObject;
|
|
1267
1376
|
};
|
|
1377
|
+
export type InvoicePaymentAccountResource = {
|
|
1378
|
+
accountNumber: null | string;
|
|
1379
|
+
bankName: null | string;
|
|
1380
|
+
};
|
|
1268
1381
|
export type InvoicePaymentAllocation = {
|
|
1269
1382
|
amount: string;
|
|
1270
1383
|
method: SourcePaymentMethod;
|
|
1271
1384
|
};
|
|
1272
1385
|
export type InvoicePaymentTerms = {
|
|
1273
1386
|
allocations?: null | Array<InvoicePaymentAllocation> | undefined;
|
|
1387
|
+
paymentAccount?: {
|
|
1388
|
+
accountNumber?: null | string | undefined;
|
|
1389
|
+
bankName?: null | string | undefined;
|
|
1390
|
+
} | undefined;
|
|
1274
1391
|
type: "immediate";
|
|
1275
1392
|
} | {
|
|
1276
1393
|
/**
|
|
@@ -1283,6 +1400,7 @@ export type InvoicePaymentTerms = {
|
|
|
1283
1400
|
};
|
|
1284
1401
|
export type InvoicePaymentTermsResource = {
|
|
1285
1402
|
allocations: Array<InvoicePaymentAllocation>;
|
|
1403
|
+
paymentAccount?: InvoicePaymentAccountResource | undefined;
|
|
1286
1404
|
type: "immediate";
|
|
1287
1405
|
} | {
|
|
1288
1406
|
/**
|
|
@@ -1324,6 +1442,7 @@ export type InvoicePreview = {
|
|
|
1324
1442
|
};
|
|
1325
1443
|
export type InvoiceProcessingStage = "admitted" | "signed" | "consumerSummarySigned" | "submitted" | "authorityProcessing";
|
|
1326
1444
|
export type InvoicePurchaseItem = {
|
|
1445
|
+
adjustments?: null | LinePriceAdjustments | undefined;
|
|
1327
1446
|
description: string;
|
|
1328
1447
|
id?: null | string | undefined;
|
|
1329
1448
|
itemCodes?: null | Array<InvoiceItemCode> | undefined;
|
|
@@ -1382,7 +1501,40 @@ export type InvoiceReceiptFiles = {
|
|
|
1382
1501
|
pdf: InvoicePdfReadiness;
|
|
1383
1502
|
};
|
|
1384
1503
|
export type InvoiceReceiptStatus = "accepted" | "acceptedWithObservations";
|
|
1504
|
+
export type InvoiceReferenceAttributionResource = {
|
|
1505
|
+
fiscalOperationId: string;
|
|
1506
|
+
kind: "internal_operation";
|
|
1507
|
+
} | {
|
|
1508
|
+
environment: FiscalEnvironment;
|
|
1509
|
+
issuerTaxId: string;
|
|
1510
|
+
kind: "external_document";
|
|
1511
|
+
sourceReference: string;
|
|
1512
|
+
};
|
|
1513
|
+
export type InvoiceReferenceInformation = {
|
|
1514
|
+
attribution: {
|
|
1515
|
+
fiscalOperationId: string;
|
|
1516
|
+
kind: "internal_operation";
|
|
1517
|
+
} | {
|
|
1518
|
+
environment: FiscalEnvironment;
|
|
1519
|
+
issuerTaxId: string;
|
|
1520
|
+
kind: "external_document";
|
|
1521
|
+
sourceReference: string;
|
|
1522
|
+
};
|
|
1523
|
+
fiscalNumber: string;
|
|
1524
|
+
/**
|
|
1525
|
+
* A calendar date in the public API's ISO 8601 date form.
|
|
1526
|
+
*/
|
|
1527
|
+
issuedOn: string;
|
|
1528
|
+
modificationCode: "4" | "5";
|
|
1529
|
+
};
|
|
1530
|
+
export type InvoiceReferenceInformationResource = {
|
|
1531
|
+
attribution: InvoiceReferenceAttributionResource;
|
|
1532
|
+
fiscalNumber: string;
|
|
1533
|
+
issuedOn: string;
|
|
1534
|
+
modificationCode: "4" | "5";
|
|
1535
|
+
};
|
|
1385
1536
|
export type InvoiceRequest = {
|
|
1537
|
+
additionalInformation?: null | InvoiceAdditionalInformation | undefined;
|
|
1386
1538
|
buyer: InvoiceBuyer;
|
|
1387
1539
|
currency: "DOP";
|
|
1388
1540
|
expectedTotals?: null | InvoiceExpectedTotals | undefined;
|
|
@@ -1395,9 +1547,11 @@ export type InvoiceRequest = {
|
|
|
1395
1547
|
numbering?: null | InvoiceNumbering | undefined;
|
|
1396
1548
|
paymentTerms: InvoicePaymentTerms;
|
|
1397
1549
|
pdfLayout?: null | InvoicePdfLayout | undefined;
|
|
1550
|
+
referenceInformation?: null | InvoiceReferenceInformation | undefined;
|
|
1398
1551
|
source?: null | InvoiceSourceInput | undefined;
|
|
1399
1552
|
type: "E31";
|
|
1400
1553
|
} | {
|
|
1554
|
+
additionalInformation?: null | InvoiceAdditionalInformation | undefined;
|
|
1401
1555
|
buyer?: null | InvoiceConsumerBuyer | undefined;
|
|
1402
1556
|
currency: "DOP";
|
|
1403
1557
|
expectedTotals?: null | InvoiceExpectedTotals | undefined;
|
|
@@ -1410,9 +1564,11 @@ export type InvoiceRequest = {
|
|
|
1410
1564
|
numbering?: null | InvoiceNumbering | undefined;
|
|
1411
1565
|
paymentTerms: InvoicePaymentTerms;
|
|
1412
1566
|
pdfLayout?: null | InvoicePdfLayout | undefined;
|
|
1567
|
+
referenceInformation?: null | InvoiceReferenceInformation | undefined;
|
|
1413
1568
|
source?: null | InvoiceSourceInput | undefined;
|
|
1414
1569
|
type: "E32";
|
|
1415
1570
|
} | {
|
|
1571
|
+
additionalInformation?: null | InvoiceAdditionalInformation | undefined;
|
|
1416
1572
|
currency: "DOP";
|
|
1417
1573
|
expectedTotals?: null | InvoiceExpectedTotals | undefined;
|
|
1418
1574
|
/**
|
|
@@ -1423,6 +1579,7 @@ export type InvoiceRequest = {
|
|
|
1423
1579
|
numbering?: null | InvoiceNumbering | undefined;
|
|
1424
1580
|
paymentTerms: InvoicePaymentTerms;
|
|
1425
1581
|
pdfLayout?: null | InvoicePdfLayout | undefined;
|
|
1582
|
+
referenceInformation?: null | InvoiceReferenceInformation | undefined;
|
|
1426
1583
|
source?: null | InvoiceSourceInput | undefined;
|
|
1427
1584
|
supplier: {
|
|
1428
1585
|
address?: null | string | undefined;
|
|
@@ -1436,10 +1593,12 @@ export type InvoiceRequest = {
|
|
|
1436
1593
|
};
|
|
1437
1594
|
type: "E41";
|
|
1438
1595
|
} | {
|
|
1596
|
+
additionalInformation?: null | InvoiceGovernmentAdditionalInformation | undefined;
|
|
1439
1597
|
buyer: {
|
|
1440
1598
|
address?: null | string | undefined;
|
|
1441
1599
|
contactName?: null | string | undefined;
|
|
1442
1600
|
deliveryOn?: null | string | undefined;
|
|
1601
|
+
deliveryPhone?: null | string | undefined;
|
|
1443
1602
|
email?: null | string | undefined;
|
|
1444
1603
|
internalCode?: null | string | undefined;
|
|
1445
1604
|
legalName: string;
|
|
@@ -1461,6 +1620,7 @@ export type InvoiceRequest = {
|
|
|
1461
1620
|
numbering?: null | InvoiceNumbering | undefined;
|
|
1462
1621
|
paymentTerms: InvoicePaymentTerms;
|
|
1463
1622
|
pdfLayout?: null | InvoicePdfLayout | undefined;
|
|
1623
|
+
referenceInformation?: null | InvoiceReferenceInformation | undefined;
|
|
1464
1624
|
source?: null | InvoiceSourceInput | undefined;
|
|
1465
1625
|
type: "E45";
|
|
1466
1626
|
} | {
|
|
@@ -1475,6 +1635,7 @@ export type InvoiceRequest = {
|
|
|
1475
1635
|
numbering?: null | InvoiceNumbering | undefined;
|
|
1476
1636
|
paymentTerms?: null | InvoiceMinorExpensePaymentTerms | undefined;
|
|
1477
1637
|
pdfLayout?: null | InvoicePdfLayout | undefined;
|
|
1638
|
+
referenceInformation?: null | InvoiceReferenceInformation | undefined;
|
|
1478
1639
|
source?: null | InvoiceSourceInput | undefined;
|
|
1479
1640
|
type: "E43";
|
|
1480
1641
|
} | {
|
|
@@ -1490,10 +1651,12 @@ export type InvoiceRequest = {
|
|
|
1490
1651
|
numbering?: null | InvoiceNumbering | undefined;
|
|
1491
1652
|
paymentTerms?: null | InvoicePaymentTerms | undefined;
|
|
1492
1653
|
pdfLayout?: null | InvoicePdfLayout | undefined;
|
|
1654
|
+
referenceInformation?: null | InvoiceReferenceInformation | undefined;
|
|
1493
1655
|
source?: null | InvoiceSourceInput | undefined;
|
|
1494
1656
|
type: "E47";
|
|
1495
1657
|
withholdingBasis: InvoiceForeignPaymentBasis;
|
|
1496
1658
|
} | {
|
|
1659
|
+
additionalInformation?: null | InvoiceAdditionalInformation | undefined;
|
|
1497
1660
|
buyer: InvoiceSpecialRegimeBuyer;
|
|
1498
1661
|
currency: "DOP";
|
|
1499
1662
|
eligibility: InvoiceSpecialRegimeEligibility;
|
|
@@ -1508,9 +1671,11 @@ export type InvoiceRequest = {
|
|
|
1508
1671
|
numbering?: null | InvoiceNumbering | undefined;
|
|
1509
1672
|
paymentTerms: InvoicePaymentTerms;
|
|
1510
1673
|
pdfLayout?: null | InvoicePdfLayout | undefined;
|
|
1674
|
+
referenceInformation?: null | InvoiceReferenceInformation | undefined;
|
|
1511
1675
|
source?: null | InvoiceSourceInput | undefined;
|
|
1512
1676
|
type: "E44";
|
|
1513
1677
|
} | {
|
|
1678
|
+
additionalInformation?: null | InvoiceAdditionalInformation | undefined;
|
|
1514
1679
|
buyer: InvoiceExportBuyer;
|
|
1515
1680
|
currency: "DOP";
|
|
1516
1681
|
eligibility: InvoiceExportEligibility;
|
|
@@ -1525,9 +1690,11 @@ export type InvoiceRequest = {
|
|
|
1525
1690
|
numbering?: null | InvoiceNumbering | undefined;
|
|
1526
1691
|
paymentTerms: InvoicePaymentTerms;
|
|
1527
1692
|
pdfLayout?: null | InvoicePdfLayout | undefined;
|
|
1693
|
+
referenceInformation?: null | InvoiceReferenceInformation | undefined;
|
|
1528
1694
|
source?: null | InvoiceSourceInput | undefined;
|
|
1529
1695
|
type: "E46";
|
|
1530
1696
|
} | {
|
|
1697
|
+
additionalInformation?: null | InvoiceAdditionalInformation | undefined;
|
|
1531
1698
|
currency: "DOP";
|
|
1532
1699
|
expectedTotals?: null | InvoiceExpectedTotals | undefined;
|
|
1533
1700
|
incomeType?: null | "01" | "02" | "03" | "04" | "05" | "06" | undefined;
|
|
@@ -1545,6 +1712,7 @@ export type InvoiceRequest = {
|
|
|
1545
1712
|
source?: null | InvoiceSourceInput | undefined;
|
|
1546
1713
|
type: "E33";
|
|
1547
1714
|
} | {
|
|
1715
|
+
additionalInformation?: null | InvoiceAdditionalInformation | undefined;
|
|
1548
1716
|
currency: "DOP";
|
|
1549
1717
|
expectedTotals?: null | InvoiceExpectedTotals | undefined;
|
|
1550
1718
|
incomeType?: null | "01" | "02" | "03" | "04" | "05" | "06" | undefined;
|
|
@@ -1564,6 +1732,7 @@ export type InvoiceRequest = {
|
|
|
1564
1732
|
};
|
|
1565
1733
|
export type InvoiceResource = {
|
|
1566
1734
|
acceptedAt: string | null;
|
|
1735
|
+
additionalInformation: null | InvoiceAdditionalInformationResource;
|
|
1567
1736
|
buyer: null | InvoiceBuyerIdentity;
|
|
1568
1737
|
buyerDeliveryReadiness: InvoiceBuyerDeliveryReadiness;
|
|
1569
1738
|
corrections: Array<InvoiceCorrection>;
|
|
@@ -1582,6 +1751,7 @@ export type InvoiceResource = {
|
|
|
1582
1751
|
latestEvent: null | InvoiceLatestEvent;
|
|
1583
1752
|
originalInvoiceId: string | null;
|
|
1584
1753
|
paymentTerms: null | InvoicePaymentTermsResource;
|
|
1754
|
+
referenceInformation: null | InvoiceReferenceInformationResource;
|
|
1585
1755
|
/**
|
|
1586
1756
|
* The predecessor retained when this Invoice replaced a rejected Source operation.
|
|
1587
1757
|
*/
|
|
@@ -1594,6 +1764,7 @@ export type InvoiceResource = {
|
|
|
1594
1764
|
updatedAt: string;
|
|
1595
1765
|
} | {
|
|
1596
1766
|
acceptedAt: string | null;
|
|
1767
|
+
additionalInformation: null | InvoiceAdditionalInformationResource;
|
|
1597
1768
|
buyer: null | InvoiceBuyerIdentity;
|
|
1598
1769
|
buyerDeliveryReadiness: InvoiceBuyerDeliveryReadiness;
|
|
1599
1770
|
corrections: Array<InvoiceCorrection>;
|
|
@@ -1613,6 +1784,7 @@ export type InvoiceResource = {
|
|
|
1613
1784
|
latestEvent: null | InvoiceLatestEvent;
|
|
1614
1785
|
originalInvoiceId: string | null;
|
|
1615
1786
|
paymentTerms: null | InvoicePaymentTermsResource;
|
|
1787
|
+
referenceInformation: null | InvoiceReferenceInformationResource;
|
|
1616
1788
|
/**
|
|
1617
1789
|
* The predecessor retained when this Invoice replaced a rejected Source operation.
|
|
1618
1790
|
*/
|
|
@@ -1626,6 +1798,7 @@ export type InvoiceResource = {
|
|
|
1626
1798
|
updatedAt: string;
|
|
1627
1799
|
} | {
|
|
1628
1800
|
acceptedAt: string | null;
|
|
1801
|
+
additionalInformation: null | InvoiceAdditionalInformationResource;
|
|
1629
1802
|
buyer: null | InvoiceBuyerIdentity;
|
|
1630
1803
|
buyerDeliveryReadiness: InvoiceBuyerDeliveryReadiness;
|
|
1631
1804
|
corrections: Array<InvoiceCorrection>;
|
|
@@ -1645,6 +1818,7 @@ export type InvoiceResource = {
|
|
|
1645
1818
|
latestEvent: null | InvoiceLatestEvent;
|
|
1646
1819
|
originalInvoiceId: string | null;
|
|
1647
1820
|
paymentTerms: null | InvoicePaymentTermsResource;
|
|
1821
|
+
referenceInformation: null | InvoiceReferenceInformationResource;
|
|
1648
1822
|
/**
|
|
1649
1823
|
* The predecessor retained when this Invoice replaced a rejected Source operation.
|
|
1650
1824
|
*/
|
|
@@ -1657,6 +1831,7 @@ export type InvoiceResource = {
|
|
|
1657
1831
|
updatedAt: string;
|
|
1658
1832
|
} | {
|
|
1659
1833
|
acceptedAt: string | null;
|
|
1834
|
+
additionalInformation: null | InvoiceAdditionalInformationResource;
|
|
1660
1835
|
buyer: null | InvoiceBuyerIdentity;
|
|
1661
1836
|
buyerDeliveryReadiness: InvoiceBuyerDeliveryReadiness;
|
|
1662
1837
|
corrections: Array<InvoiceCorrection>;
|
|
@@ -1676,6 +1851,7 @@ export type InvoiceResource = {
|
|
|
1676
1851
|
latestEvent: null | InvoiceLatestEvent;
|
|
1677
1852
|
originalInvoiceId: string | null;
|
|
1678
1853
|
paymentTerms: null | InvoicePaymentTermsResource;
|
|
1854
|
+
referenceInformation: null | InvoiceReferenceInformationResource;
|
|
1679
1855
|
/**
|
|
1680
1856
|
* The predecessor retained when this Invoice replaced a rejected Source operation.
|
|
1681
1857
|
*/
|
|
@@ -1688,6 +1864,7 @@ export type InvoiceResource = {
|
|
|
1688
1864
|
updatedAt: string;
|
|
1689
1865
|
} | {
|
|
1690
1866
|
acceptedAt: string | null;
|
|
1867
|
+
additionalInformation: null | InvoiceAdditionalInformationResource;
|
|
1691
1868
|
buyer: null | InvoiceBuyerIdentity;
|
|
1692
1869
|
buyerDeliveryReadiness: InvoiceBuyerDeliveryReadiness;
|
|
1693
1870
|
corrections: Array<InvoiceCorrection>;
|
|
@@ -1707,6 +1884,7 @@ export type InvoiceResource = {
|
|
|
1707
1884
|
latestEvent: null | InvoiceLatestEvent;
|
|
1708
1885
|
originalInvoiceId: string | null;
|
|
1709
1886
|
paymentTerms: null | InvoicePaymentTermsResource;
|
|
1887
|
+
referenceInformation: null | InvoiceReferenceInformationResource;
|
|
1710
1888
|
/**
|
|
1711
1889
|
* The predecessor retained when this Invoice replaced a rejected Source operation.
|
|
1712
1890
|
*/
|
|
@@ -1719,6 +1897,7 @@ export type InvoiceResource = {
|
|
|
1719
1897
|
updatedAt: string;
|
|
1720
1898
|
} | {
|
|
1721
1899
|
acceptedAt: string | null;
|
|
1900
|
+
additionalInformation: null | InvoiceAdditionalInformationResource;
|
|
1722
1901
|
buyer: null | InvoiceBuyerIdentity;
|
|
1723
1902
|
buyerDeliveryReadiness: InvoiceBuyerDeliveryReadiness;
|
|
1724
1903
|
corrections: Array<InvoiceCorrection>;
|
|
@@ -1738,6 +1917,7 @@ export type InvoiceResource = {
|
|
|
1738
1917
|
latestEvent: null | InvoiceLatestEvent;
|
|
1739
1918
|
originalInvoiceId: string | null;
|
|
1740
1919
|
paymentTerms: null | InvoicePaymentTermsResource;
|
|
1920
|
+
referenceInformation: null | InvoiceReferenceInformationResource;
|
|
1741
1921
|
/**
|
|
1742
1922
|
* The predecessor retained when this Invoice replaced a rejected Source operation.
|
|
1743
1923
|
*/
|
|
@@ -1750,6 +1930,7 @@ export type InvoiceResource = {
|
|
|
1750
1930
|
updatedAt: string;
|
|
1751
1931
|
} | {
|
|
1752
1932
|
acceptedAt: string | null;
|
|
1933
|
+
additionalInformation: null | InvoiceAdditionalInformationResource;
|
|
1753
1934
|
buyer: null | InvoiceBuyerIdentity;
|
|
1754
1935
|
buyerDeliveryReadiness: InvoiceBuyerDeliveryReadiness;
|
|
1755
1936
|
corrections: Array<InvoiceCorrection>;
|
|
@@ -1769,6 +1950,7 @@ export type InvoiceResource = {
|
|
|
1769
1950
|
latestEvent: null | InvoiceLatestEvent;
|
|
1770
1951
|
originalInvoiceId: string | null;
|
|
1771
1952
|
paymentTerms: null | InvoicePaymentTermsResource;
|
|
1953
|
+
referenceInformation: null | InvoiceReferenceInformationResource;
|
|
1772
1954
|
/**
|
|
1773
1955
|
* The predecessor retained when this Invoice replaced a rejected Source operation.
|
|
1774
1956
|
*/
|
|
@@ -1780,6 +1962,26 @@ export type InvoiceResource = {
|
|
|
1780
1962
|
type: InvoiceType;
|
|
1781
1963
|
updatedAt: string;
|
|
1782
1964
|
};
|
|
1965
|
+
export type InvoiceShipmentInformationResource = {
|
|
1966
|
+
containerNumber: null | string;
|
|
1967
|
+
deliveryNoteNumber: null | string;
|
|
1968
|
+
driver: null | string;
|
|
1969
|
+
grossWeight: null | string;
|
|
1970
|
+
grossWeightUnit: null | string;
|
|
1971
|
+
netWeight: null | string;
|
|
1972
|
+
netWeightUnit: null | string;
|
|
1973
|
+
packageCount: null | string;
|
|
1974
|
+
packageUnit: null | string;
|
|
1975
|
+
packageVolume: null | string;
|
|
1976
|
+
route: null | string;
|
|
1977
|
+
shipmentDate: null | string;
|
|
1978
|
+
shipmentNumber: null | string;
|
|
1979
|
+
transportDocumentNumber: null | string;
|
|
1980
|
+
transportZone: null | string;
|
|
1981
|
+
vehicleFiche: null | string;
|
|
1982
|
+
vehiclePlate: null | string;
|
|
1983
|
+
volumeUnit: null | string;
|
|
1984
|
+
};
|
|
1783
1985
|
/**
|
|
1784
1986
|
* The signature facts DGII requires on every printed e-CF, read from the signed document.
|
|
1785
1987
|
*
|
|
@@ -1814,10 +2016,12 @@ export type InvoiceSourceInput = {
|
|
|
1814
2016
|
version: string;
|
|
1815
2017
|
};
|
|
1816
2018
|
export type InvoiceSpecialRegimeBuyer = {
|
|
2019
|
+
deliveryPhone?: null | string | undefined;
|
|
1817
2020
|
kind: "domestic";
|
|
1818
2021
|
legalName: string;
|
|
1819
2022
|
taxId: string;
|
|
1820
2023
|
} | {
|
|
2024
|
+
deliveryPhone?: null | string | undefined;
|
|
1821
2025
|
foreignId: string;
|
|
1822
2026
|
kind: "foreign_diplomat";
|
|
1823
2027
|
legalName: string;
|
|
@@ -2050,7 +2254,7 @@ export type InvoiceXmlReadiness = {
|
|
|
2050
2254
|
/**
|
|
2051
2255
|
* One stable reason the authoritative rules refuse to issue.
|
|
2052
2256
|
*/
|
|
2053
|
-
export type IssuanceBlocker = "invalid_request" | "unsupported_protocol" | "unsupported_rules_version" | "invalid_resolved_facts" | "numbering_verifier_missing" | "numbering_mode_not_enabled" | "document_type_not_recognized" | "authorization_missing" | "authorization_not_observed_on_effective_date" | "authorization_suspended" | "authorization_cancelled" | "authorization_superseded" | "authorization_exhausted" | "authorization_conflicting" | "authorization_document_type_mismatch" | "
|
|
2257
|
+
export type IssuanceBlocker = "invalid_request" | "unsupported_protocol" | "unsupported_rules_version" | "invalid_resolved_facts" | "numbering_verifier_missing" | "numbering_mode_not_enabled" | "document_type_not_recognized" | "authorization_missing" | "authorization_not_observed_on_effective_date" | "authorization_suspended" | "authorization_cancelled" | "authorization_superseded" | "authorization_exhausted" | "authorization_conflicting" | "authorization_document_type_mismatch" | "sequence_rejected_by_dgii" | "authorization_expired" | "authorization_range_overlap" | "fiscal_number_capacity_exhausted" | "invalid_fiscal_number" | "fiscal_number_outside_authorized_range" | "fiscal_number_before_verified_floor" | "sequence_expiration_mismatch";
|
|
2054
2258
|
/**
|
|
2055
2259
|
* Whether the issuer can issue each e-CF type now in this environment.
|
|
2056
2260
|
*/
|
|
@@ -2063,7 +2267,7 @@ export type IssuanceReadiness = {
|
|
|
2063
2267
|
environment: FiscalEnvironment;
|
|
2064
2268
|
issuerTaxId: string;
|
|
2065
2269
|
};
|
|
2066
|
-
export type IssuanceReadinessReason = "legal_issuer_profile_incomplete" | "signing_certificate_missing" | "signing_certificate_expired" | "signing_certificate_not_yet_valid" | "authorization_missing" | "authorization_not_active" | "
|
|
2270
|
+
export type IssuanceReadinessReason = "legal_issuer_profile_incomplete" | "signing_certificate_missing" | "signing_certificate_expired" | "signing_certificate_not_yet_valid" | "authorization_missing" | "authorization_not_active" | "sequence_rejected_by_dgii" | "authorization_not_observed" | "range_exhausted" | "authorization_expiration_invalid" | "authorization_expired" | "authorization_range_overlap";
|
|
2067
2271
|
export type LedgerCounter = string;
|
|
2068
2272
|
export type LegalIssuer = {
|
|
2069
2273
|
address: string | null;
|
|
@@ -2112,6 +2316,23 @@ export type LegalIssuerResource = {
|
|
|
2112
2316
|
legal_issuer: LegalIssuer;
|
|
2113
2317
|
};
|
|
2114
2318
|
export type LegalIssuerVerification = "verified" | "unverified";
|
|
2319
|
+
/**
|
|
2320
|
+
* One fixed-amount or percentage discount or surcharge on a fiscal line.
|
|
2321
|
+
*/
|
|
2322
|
+
export type LinePriceAdjustment = {
|
|
2323
|
+
amount: string;
|
|
2324
|
+
kind: "fixed_amount";
|
|
2325
|
+
} | {
|
|
2326
|
+
kind: "percentage";
|
|
2327
|
+
percentage: string;
|
|
2328
|
+
};
|
|
2329
|
+
/**
|
|
2330
|
+
* Line-level discounts and surcharges, kept separate from document-level adjustments.
|
|
2331
|
+
*/
|
|
2332
|
+
export type LinePriceAdjustments = {
|
|
2333
|
+
discounts?: Array<LinePriceAdjustment> | undefined;
|
|
2334
|
+
surcharges?: Array<LinePriceAdjustment> | undefined;
|
|
2335
|
+
};
|
|
2115
2336
|
export type MembershipAcceptance = {
|
|
2116
2337
|
membership: AcceptedMembership;
|
|
2117
2338
|
};
|
|
@@ -2133,10 +2354,20 @@ export type NumberedFiscalDocument = {
|
|
|
2133
2354
|
fiscal_number: string;
|
|
2134
2355
|
sequence_expires_on: string | null;
|
|
2135
2356
|
};
|
|
2357
|
+
/**
|
|
2358
|
+
* Whether DGII has accepted an e-CF numbered from the range Timbro would assign from. Either way
|
|
2359
|
+
* the range is issuable.
|
|
2360
|
+
*/
|
|
2361
|
+
export type NumberingConfirmation = "confirmed" | "not_yet_confirmed";
|
|
2136
2362
|
/**
|
|
2137
2363
|
* The range Timbro assigns the next fiscal number of this type from.
|
|
2138
2364
|
*/
|
|
2139
2365
|
export type NumberingRange = {
|
|
2366
|
+
/**
|
|
2367
|
+
* Whether DGII has accepted an e-CF numbered from this range. A range that is not yet
|
|
2368
|
+
* confirmed still issues; a range DGII rejected is blocked with `sequence_rejected_by_dgii`.
|
|
2369
|
+
*/
|
|
2370
|
+
confirmation: NumberingConfirmation;
|
|
2140
2371
|
/**
|
|
2141
2372
|
* The sequence expiry, or `null` for a type without one (E32 and E34).
|
|
2142
2373
|
*/
|
|
@@ -2196,6 +2427,7 @@ export type OpenWorkspaceSessionRequest = {
|
|
|
2196
2427
|
* An optional payment table for profiles whose official schema permits its omission.
|
|
2197
2428
|
*/
|
|
2198
2429
|
export type OptionalPaymentAllocations = {
|
|
2430
|
+
payment_account?: PaymentAccount | undefined;
|
|
2199
2431
|
payment_allocations?: Array<PaymentAllocation> | undefined;
|
|
2200
2432
|
};
|
|
2201
2433
|
export type OrganizationIdentity = {
|
|
@@ -2207,6 +2439,13 @@ export type OrganizationIdentity = {
|
|
|
2207
2439
|
export type OrganizationResource = {
|
|
2208
2440
|
organization: OrganizationIdentity;
|
|
2209
2441
|
};
|
|
2442
|
+
/**
|
|
2443
|
+
* Bank details that accompany an optional payment method table.
|
|
2444
|
+
*/
|
|
2445
|
+
export type PaymentAccount = {
|
|
2446
|
+
account_number?: string | undefined;
|
|
2447
|
+
bank_name?: string | undefined;
|
|
2448
|
+
};
|
|
2210
2449
|
/**
|
|
2211
2450
|
* One authoritative payment-method and amount pair from `TablaFormasPago`.
|
|
2212
2451
|
*/
|
|
@@ -2324,7 +2563,7 @@ export type ProblemType = "about:blank";
|
|
|
2324
2563
|
/**
|
|
2325
2564
|
* One stable public problem code returned on the `/v1` surface.
|
|
2326
2565
|
*/
|
|
2327
|
-
export type PublicProblemCode = "unauthenticated" | "invalid_login" | "email_already_registered" | "organization_slug_taken" | "organization_not_found" | "hosted_tenant_conflict" | "insufficient_role" | "service_role_not_permitted" | "invalid_fiscal_identity" | "invalid_certificate_custody_signer_identity" | "certificate_p12_password_invalid" | "custody_certificate_malformed" | "custody_certificate_not_yet_valid" | "custody_certificate_expired" | "custody_p12_work_limit_exceeded" | "custody_signature_algorithm_unsupported" | "custody_certificate_trust_profile_unsupported" | "custody_certificate_chain_untrusted" | "custody_certificate_purpose_unsupported" | "legal_issuer_already_registered" | "onboarding_legal_issuer_identity_conflict" | "legal_issuer_profile_incomplete" | "legal_issuer_not_found" | "invitation_invalid" | "invitation_expired" | "already_a_member" | "environment_not_active" | "certificate_custody_binding_not_found" | "certificate_custody_binding_conflict" | "certificate_custody_certificate_version_not_active" | "source_connection_not_found" | "source_connection_not_connected" | "source_provider_unavailable" | "source_provider_authorization_required" | "source_provider_installation_disabled" | "source_provider_installation_removed" | "source_provider_scope_insufficient" | "source_provider_target_access_removed" | "source_provider_throttled" | "source_provider_outcome_unknown" | "source_provider_authorization_not_found" | "source_provider_authorization_conflict" | "source_provider_installation_request_invalid" | "source_provider_installation_request_expired" | "source_provider_installation_callback_replayed" | "source_connection_creation_conflict" | "source_connection_activation_conflict" | "source_connection_activation_verification_rejected" | "delegated_authorization_verifier_forbidden" | "invalid_credential" | "credential_revoked" | "issuer_not_authorized" | "missing_idempotency_key" | "invalid_idempotency_key" | "unsupported_media_type" | "request_too_large" | "request_body_timeout" | "malformed_json" | "invalid_request" | "invalid_collection_query" | "invalid_collection_cursor" | "document_type_not_enabled" | "fiscal_intent_rejected" | "idempotency_key_conflict" | "fiscal_number_already_used" | "fiscal_number_authorization_changed" | "fiscal_number_authorization_source_record_conflict" | "source_version_stale" | "source_predecessor_conflict" | "source_history_requires_reconciliation" | "source_content_conflict" | "source_action_conflict" | "source_command_conflict" | "invoice_reference_conflict" | "invoice_totals_mismatch" | "printed_representation_profile_conflict" | "source_record_already_fiscalized" | "source_operation_pending" | "source_outcome_unknown" | "authority_rejected_replacement" | "correction_target_unsettled" | "unsupported_printed_representation_profile" | "affected_fiscal_operation_unsupported" | "fiscal_issuance_blocked" | "fiscal_operation_not_found" | "invoice_not_found" | "fiscal_artifact_not_found" | "fiscal_artifact_unverified" | "fiscal_artifact_unavailable" | "invoice_receipt_not_found" | "invoice_receipt_not_ready" | "invoice_receipt_unavailable" | "fiscal_delivery_not_found" | "fiscal_delivery_unavailable" | "fiscal_delivery_outcome_conflict" | "webhook_endpoint_not_found" | "webhook_endpoint_registration_conflict" | "webhook_endpoint_suspended" | "webhook_endpoint_deleted" | "webhook_event_not_found" | "invalid_replay_scope" | "webhook_destination_not_allowed" | "unsigned_document_schema_invalid" | "signed_document_schema_invalid" | "custody_unavailable" | "received_document_not_found" | "commercial_response_motive_invalid" | "commercial_response_decision_conflict" | "route_not_found" | "method_not_allowed" | "internal_error";
|
|
2566
|
+
export type PublicProblemCode = "unauthenticated" | "invalid_login" | "email_already_registered" | "organization_slug_taken" | "organization_not_found" | "hosted_tenant_conflict" | "insufficient_role" | "service_role_not_permitted" | "invalid_fiscal_identity" | "invalid_certificate_custody_signer_identity" | "certificate_p12_password_invalid" | "custody_certificate_malformed" | "custody_certificate_not_yet_valid" | "custody_certificate_expired" | "custody_p12_work_limit_exceeded" | "custody_signature_algorithm_unsupported" | "custody_certificate_trust_profile_unsupported" | "custody_certificate_chain_untrusted" | "custody_certificate_purpose_unsupported" | "legal_issuer_already_registered" | "onboarding_legal_issuer_identity_conflict" | "legal_issuer_profile_incomplete" | "legal_issuer_not_found" | "invitation_invalid" | "invitation_expired" | "already_a_member" | "environment_not_active" | "certificate_custody_binding_not_found" | "certificate_custody_binding_conflict" | "certificate_custody_certificate_version_not_active" | "source_connection_not_found" | "source_connection_not_connected" | "source_provider_unavailable" | "source_provider_authorization_required" | "source_provider_installation_disabled" | "source_provider_installation_removed" | "source_provider_scope_insufficient" | "source_provider_target_access_removed" | "source_provider_throttled" | "source_provider_outcome_unknown" | "source_provider_authorization_not_found" | "source_provider_authorization_conflict" | "source_provider_installation_request_invalid" | "source_provider_installation_request_expired" | "source_provider_installation_callback_replayed" | "source_connection_creation_conflict" | "source_connection_activation_conflict" | "source_connection_activation_verification_rejected" | "delegated_authorization_verifier_forbidden" | "invalid_credential" | "credential_revoked" | "issuer_not_authorized" | "missing_idempotency_key" | "invalid_idempotency_key" | "unsupported_media_type" | "request_too_large" | "request_body_timeout" | "malformed_json" | "invalid_request" | "certification_environment_required" | "certification_test_set_invalid" | "invalid_collection_query" | "invalid_collection_cursor" | "document_type_not_enabled" | "fiscal_intent_rejected" | "idempotency_key_conflict" | "fiscal_number_already_used" | "fiscal_number_authorization_changed" | "fiscal_number_authorization_source_record_conflict" | "source_version_stale" | "source_predecessor_conflict" | "source_history_requires_reconciliation" | "source_content_conflict" | "source_action_conflict" | "source_command_conflict" | "invoice_reference_conflict" | "invoice_totals_mismatch" | "printed_representation_profile_conflict" | "source_record_already_fiscalized" | "source_operation_pending" | "source_outcome_unknown" | "authority_rejected_replacement" | "correction_target_unsettled" | "unsupported_printed_representation_profile" | "affected_fiscal_operation_unsupported" | "fiscal_issuance_blocked" | "fiscal_operation_not_found" | "invoice_not_found" | "fiscal_artifact_not_found" | "fiscal_artifact_unverified" | "fiscal_artifact_unavailable" | "invoice_receipt_not_found" | "invoice_receipt_not_ready" | "invoice_receipt_unavailable" | "fiscal_delivery_not_found" | "fiscal_delivery_unavailable" | "fiscal_delivery_outcome_conflict" | "webhook_endpoint_not_found" | "webhook_endpoint_registration_conflict" | "webhook_endpoint_suspended" | "webhook_endpoint_deleted" | "webhook_event_not_found" | "invalid_replay_scope" | "webhook_destination_not_allowed" | "unsigned_document_schema_invalid" | "signed_document_schema_invalid" | "custody_unavailable" | "received_document_not_found" | "commercial_response_motive_invalid" | "commercial_response_decision_conflict" | "route_not_found" | "method_not_allowed" | "internal_error";
|
|
2328
2567
|
export type QualifiedProductionOrigin = {
|
|
2329
2568
|
domain: string;
|
|
2330
2569
|
origin: string;
|
|
@@ -2440,19 +2679,24 @@ export type ReferenceInformation = {
|
|
|
2440
2679
|
issued_on: string;
|
|
2441
2680
|
modification_code: "4" | "5";
|
|
2442
2681
|
};
|
|
2682
|
+
/**
|
|
2683
|
+
* The sequence a business records. Timbro, not the caller, decides how far DGII has confirmed it:
|
|
2684
|
+
* a recorded sequence is reported until DGII accepts an e-CF numbered from it. `knowledge` and
|
|
2685
|
+
* `source_kind` are deprecated, accepted so an older caller keeps working, and never trusted.
|
|
2686
|
+
*/
|
|
2443
2687
|
export type RegisterFiscalNumberAuthorizationRequest = {
|
|
2444
2688
|
document_type: ElectronicFiscalDocumentType;
|
|
2445
2689
|
ends_at: LedgerCounter;
|
|
2446
2690
|
environment: FiscalEnvironment;
|
|
2447
2691
|
expected_head: ExpectedAuthorizationHead;
|
|
2448
2692
|
expires_on: string | null;
|
|
2449
|
-
knowledge
|
|
2693
|
+
knowledge?: null | FiscalNumberAuthorizationKnowledge | undefined;
|
|
2450
2694
|
legal_issuer_id: string;
|
|
2451
2695
|
observed_at: string;
|
|
2452
2696
|
provenance_sha256: string;
|
|
2453
2697
|
series: ElectronicFiscalDocumentSeries;
|
|
2454
2698
|
source_id: string;
|
|
2455
|
-
source_kind
|
|
2699
|
+
source_kind?: null | FiscalNumberAuthorizationSourceKind | undefined;
|
|
2456
2700
|
source_reference: string;
|
|
2457
2701
|
starts_at: LedgerCounter;
|
|
2458
2702
|
state: FiscalNumberAuthorizationState;
|
|
@@ -2532,6 +2776,11 @@ export type ReplayWindowScope = {
|
|
|
2532
2776
|
};
|
|
2533
2777
|
export type RequirementId = "organization_identity" | "legal_issuer_identity" | "team_roles" | "source_connection" | "certificate_custody" | "first_fiscal_operation";
|
|
2534
2778
|
export type RequirementStatus = "complete" | "pending" | "blocked" | "action_required";
|
|
2779
|
+
export type RetainedCertificationWorkbook = {
|
|
2780
|
+
name: string;
|
|
2781
|
+
sha256: string;
|
|
2782
|
+
sizeBytes: number;
|
|
2783
|
+
};
|
|
2535
2784
|
export type RevokeCertificateCustodyCertificateVersionRequest = {
|
|
2536
2785
|
certificate_custody_certificate_version: LedgerCounter;
|
|
2537
2786
|
};
|
|
@@ -2543,15 +2792,18 @@ export type SalesTermsSpecialRegimeBuyerOptionalPaymentAllocations = {
|
|
|
2543
2792
|
* Buyer identity alternatives admitted by the official Type 44 buyer area.
|
|
2544
2793
|
*/
|
|
2545
2794
|
buyer: {
|
|
2795
|
+
delivery_phone?: string | undefined;
|
|
2546
2796
|
identity_kind: "domestic";
|
|
2547
2797
|
legal_name: string;
|
|
2548
2798
|
tax_id: string;
|
|
2549
2799
|
} | {
|
|
2800
|
+
delivery_phone?: string | undefined;
|
|
2550
2801
|
foreign_identifier: string;
|
|
2551
2802
|
identity_kind: "foreign_diplomat";
|
|
2552
2803
|
legal_name: string;
|
|
2553
2804
|
};
|
|
2554
2805
|
income_type: "01" | "02" | "03" | "04" | "05" | "06";
|
|
2806
|
+
payment_account?: PaymentAccount | undefined;
|
|
2555
2807
|
payment_allocations?: Array<PaymentAllocation> | undefined;
|
|
2556
2808
|
payment_type: "1" | "2" | "3";
|
|
2557
2809
|
};
|
|
@@ -2567,6 +2819,29 @@ export type SchemaValidationOutcome = "succeeded" | "failed";
|
|
|
2567
2819
|
* Stage at which a fiscal XML artifact was validated.
|
|
2568
2820
|
*/
|
|
2569
2821
|
export type SchemaValidationStage = "unsigned" | "signed";
|
|
2822
|
+
/**
|
|
2823
|
+
* Typed shipping and transport facts admitted by the official `InformacionesAdicionales` area.
|
|
2824
|
+
*/
|
|
2825
|
+
export type ShipmentInformation = {
|
|
2826
|
+
container_number?: string | undefined;
|
|
2827
|
+
delivery_note_number?: string | undefined;
|
|
2828
|
+
driver?: string | undefined;
|
|
2829
|
+
gross_weight?: string | undefined;
|
|
2830
|
+
gross_weight_unit?: string | undefined;
|
|
2831
|
+
net_weight?: string | undefined;
|
|
2832
|
+
net_weight_unit?: string | undefined;
|
|
2833
|
+
package_count?: string | undefined;
|
|
2834
|
+
package_unit?: string | undefined;
|
|
2835
|
+
package_volume?: string | undefined;
|
|
2836
|
+
route?: string | undefined;
|
|
2837
|
+
shipment_date?: string | undefined;
|
|
2838
|
+
shipment_number?: string | undefined;
|
|
2839
|
+
transport_document_number?: string | undefined;
|
|
2840
|
+
transport_zone?: string | undefined;
|
|
2841
|
+
vehicle_fiche?: string | undefined;
|
|
2842
|
+
vehicle_plate?: string | undefined;
|
|
2843
|
+
volume_unit?: string | undefined;
|
|
2844
|
+
};
|
|
2570
2845
|
export type SignedDocumentReadinessResource = {
|
|
2571
2846
|
status: "not_applicable";
|
|
2572
2847
|
} | {
|
|
@@ -2967,6 +3242,7 @@ export type SourceSalesPayment = {
|
|
|
2967
3242
|
*/
|
|
2968
3243
|
export type SourceTaxTreatment = "itbis_18" | "itbis_16" | "zero_rated" | "exempt" | "non_billable";
|
|
2969
3244
|
export type SourceType31Snapshot = {
|
|
3245
|
+
payment_account?: PaymentAccount | undefined;
|
|
2970
3246
|
payment_allocations?: Array<PaymentAllocation> | undefined;
|
|
2971
3247
|
} & {
|
|
2972
3248
|
/**
|
|
@@ -2979,6 +3255,7 @@ export type SourceType31Snapshot = {
|
|
|
2979
3255
|
address?: string | undefined;
|
|
2980
3256
|
contact_name?: string | undefined;
|
|
2981
3257
|
delivery_on?: string | undefined;
|
|
3258
|
+
delivery_phone?: string | undefined;
|
|
2982
3259
|
email?: string | undefined;
|
|
2983
3260
|
internal_code?: string | undefined;
|
|
2984
3261
|
legal_name: string;
|
|
@@ -2991,6 +3268,7 @@ export type SourceType31Snapshot = {
|
|
|
2991
3268
|
income_type: "01" | "02" | "03" | "04" | "05" | "06";
|
|
2992
3269
|
payment_type: "1" | "2" | "3";
|
|
2993
3270
|
} & {
|
|
3271
|
+
additional_information?: AdditionalDocumentInformation | undefined;
|
|
2994
3272
|
deferred_submission?: "1" | undefined;
|
|
2995
3273
|
discounts_or_surcharges?: Array<DiscountOrSurcharge> | undefined;
|
|
2996
3274
|
foreign_currency?: ForeignCurrencyIntent | undefined;
|
|
@@ -2999,9 +3277,10 @@ export type SourceType31Snapshot = {
|
|
|
2999
3277
|
tax_inclusive_amounts?: "0" | "1" | undefined;
|
|
3000
3278
|
} & {
|
|
3001
3279
|
currency: "DOP";
|
|
3002
|
-
lines: Array<
|
|
3280
|
+
lines: Array<Type31Line>;
|
|
3003
3281
|
};
|
|
3004
3282
|
export type SourceType32Snapshot = {
|
|
3283
|
+
payment_account?: PaymentAccount | undefined;
|
|
3005
3284
|
payment_allocations?: Array<PaymentAllocation> | undefined;
|
|
3006
3285
|
} & {
|
|
3007
3286
|
/**
|
|
@@ -3014,10 +3293,12 @@ export type SourceType32Snapshot = {
|
|
|
3014
3293
|
buyer: {
|
|
3015
3294
|
identity_kind: "anonymous";
|
|
3016
3295
|
} | {
|
|
3296
|
+
delivery_phone?: string | undefined;
|
|
3017
3297
|
identity_kind: "domestic";
|
|
3018
3298
|
legal_name: string;
|
|
3019
3299
|
tax_id: string;
|
|
3020
3300
|
} | {
|
|
3301
|
+
delivery_phone?: string | undefined;
|
|
3021
3302
|
foreign_identifier: string;
|
|
3022
3303
|
identity_kind: "foreign";
|
|
3023
3304
|
legal_name: string;
|
|
@@ -3025,6 +3306,7 @@ export type SourceType32Snapshot = {
|
|
|
3025
3306
|
income_type: "01" | "02" | "03" | "04" | "05" | "06";
|
|
3026
3307
|
payment_type: "1" | "2" | "3";
|
|
3027
3308
|
} & {
|
|
3309
|
+
additional_information?: AdditionalDocumentInformation | undefined;
|
|
3028
3310
|
deferred_submission?: "1" | undefined;
|
|
3029
3311
|
discounts_or_surcharges?: Array<DiscountOrSurcharge> | undefined;
|
|
3030
3312
|
foreign_currency?: ForeignCurrencyIntent | undefined;
|
|
@@ -3036,6 +3318,7 @@ export type SourceType32Snapshot = {
|
|
|
3036
3318
|
lines: Array<FiscalLineWithLegalTip>;
|
|
3037
3319
|
};
|
|
3038
3320
|
export type SourceType33Snapshot = {
|
|
3321
|
+
payment_account?: PaymentAccount | undefined;
|
|
3039
3322
|
payment_allocations?: Array<PaymentAllocation> | undefined;
|
|
3040
3323
|
} & {
|
|
3041
3324
|
/**
|
|
@@ -3047,6 +3330,7 @@ export type SourceType33Snapshot = {
|
|
|
3047
3330
|
address?: string | undefined;
|
|
3048
3331
|
contact_name?: string | undefined;
|
|
3049
3332
|
delivery_on?: string | undefined;
|
|
3333
|
+
delivery_phone?: string | undefined;
|
|
3050
3334
|
email?: string | undefined;
|
|
3051
3335
|
internal_code?: string | undefined;
|
|
3052
3336
|
legal_name: string;
|
|
@@ -3058,6 +3342,7 @@ export type SourceType33Snapshot = {
|
|
|
3058
3342
|
} & {
|
|
3059
3343
|
identity_kind: "domestic";
|
|
3060
3344
|
}) | {
|
|
3345
|
+
delivery_phone?: string | undefined;
|
|
3061
3346
|
foreign_identifier: string;
|
|
3062
3347
|
identity_kind: "foreign";
|
|
3063
3348
|
legal_name: string;
|
|
@@ -3065,6 +3350,7 @@ export type SourceType33Snapshot = {
|
|
|
3065
3350
|
income_type: "01" | "02" | "03" | "04" | "05" | "06";
|
|
3066
3351
|
payment_type: "1" | "2" | "3";
|
|
3067
3352
|
} & {
|
|
3353
|
+
additional_information?: AdditionalDocumentInformation | undefined;
|
|
3068
3354
|
deferred_submission?: "1" | undefined;
|
|
3069
3355
|
discounts_or_surcharges?: Array<DiscountOrSurcharge> | undefined;
|
|
3070
3356
|
foreign_currency?: ForeignCurrencyIntent | undefined;
|
|
@@ -3084,6 +3370,7 @@ export type SourceType34Snapshot = {} & {
|
|
|
3084
3370
|
address?: string | undefined;
|
|
3085
3371
|
contact_name?: string | undefined;
|
|
3086
3372
|
delivery_on?: string | undefined;
|
|
3373
|
+
delivery_phone?: string | undefined;
|
|
3087
3374
|
email?: string | undefined;
|
|
3088
3375
|
internal_code?: string | undefined;
|
|
3089
3376
|
legal_name: string;
|
|
@@ -3095,6 +3382,7 @@ export type SourceType34Snapshot = {} & {
|
|
|
3095
3382
|
} & {
|
|
3096
3383
|
identity_kind: "domestic";
|
|
3097
3384
|
}) | {
|
|
3385
|
+
delivery_phone?: string | undefined;
|
|
3098
3386
|
foreign_identifier: string;
|
|
3099
3387
|
identity_kind: "foreign";
|
|
3100
3388
|
legal_name: string;
|
|
@@ -3102,6 +3390,7 @@ export type SourceType34Snapshot = {} & {
|
|
|
3102
3390
|
income_type: "01" | "02" | "03" | "04" | "05" | "06";
|
|
3103
3391
|
payment_type: "1" | "2" | "3";
|
|
3104
3392
|
} & {
|
|
3393
|
+
additional_information?: AdditionalDocumentInformation | undefined;
|
|
3105
3394
|
deferred_submission?: "1" | undefined;
|
|
3106
3395
|
discounts_or_surcharges?: Array<DiscountOrSurcharge> | undefined;
|
|
3107
3396
|
foreign_currency?: ForeignCurrencyIntent | undefined;
|
|
@@ -3115,6 +3404,7 @@ export type SourceType41Snapshot = OptionalPaymentAllocations & {
|
|
|
3115
3404
|
payment_type: "1" | "2" | "3";
|
|
3116
3405
|
supplier: UnregisteredSupplier;
|
|
3117
3406
|
} & {
|
|
3407
|
+
additional_information?: AdditionalDocumentInformation | undefined;
|
|
3118
3408
|
deferred_submission?: "1" | undefined;
|
|
3119
3409
|
discounts_or_surcharges?: Array<DiscountOrSurcharge> | undefined;
|
|
3120
3410
|
foreign_currency?: ForeignCurrencyIntent | undefined;
|
|
@@ -3137,6 +3427,7 @@ export type SourceType43Snapshot = {
|
|
|
3137
3427
|
export type SourceType44Snapshot = SalesTermsSpecialRegimeBuyerOptionalPaymentAllocations & {
|
|
3138
3428
|
caller_declared_eligibility: CallerDeclaredSpecialRegimeEligibility;
|
|
3139
3429
|
} & {
|
|
3430
|
+
additional_information?: AdditionalDocumentInformation | undefined;
|
|
3140
3431
|
deferred_submission?: "1" | undefined;
|
|
3141
3432
|
discounts_or_surcharges?: Array<DiscountOrSurcharge> | undefined;
|
|
3142
3433
|
foreign_currency?: ForeignCurrencyIntent | undefined;
|
|
@@ -3153,6 +3444,7 @@ export type SourceType45Snapshot = OptionalPaymentAllocations & {
|
|
|
3153
3444
|
income_type: "01" | "02" | "03" | "04" | "05" | "06";
|
|
3154
3445
|
payment_type: "1" | "2" | "3";
|
|
3155
3446
|
} & {
|
|
3447
|
+
additional_information?: GovernmentAdditionalDocumentInformation | undefined;
|
|
3156
3448
|
deferred_submission?: "1" | undefined;
|
|
3157
3449
|
discounts_or_surcharges?: Array<DiscountOrSurcharge> | undefined;
|
|
3158
3450
|
foreign_currency?: ForeignCurrencyIntent | undefined;
|
|
@@ -3169,6 +3461,7 @@ export type SourceType46Snapshot = OptionalPaymentAllocations & {
|
|
|
3169
3461
|
income_type: "01" | "02" | "03" | "04" | "05" | "06";
|
|
3170
3462
|
payment_type: "1" | "2" | "3";
|
|
3171
3463
|
} & {
|
|
3464
|
+
additional_information?: AdditionalDocumentInformation | undefined;
|
|
3172
3465
|
deferred_submission?: "1" | undefined;
|
|
3173
3466
|
discounts_or_surcharges?: Array<DiscountOrSurcharge> | undefined;
|
|
3174
3467
|
foreign_currency?: ForeignCurrencyIntent | undefined;
|
|
@@ -3177,7 +3470,7 @@ export type SourceType46Snapshot = OptionalPaymentAllocations & {
|
|
|
3177
3470
|
tax_inclusive_amounts?: "0" | "1" | undefined;
|
|
3178
3471
|
} & {
|
|
3179
3472
|
currency: "DOP";
|
|
3180
|
-
lines: Array<
|
|
3473
|
+
lines: Array<Type46Line>;
|
|
3181
3474
|
};
|
|
3182
3475
|
export type SourceType47Snapshot = OptionalPaymentAllocations & {
|
|
3183
3476
|
foreign_payee: ForeignPayee;
|
|
@@ -3702,6 +3995,7 @@ export type TimingWorkState = "pending" | "claimed" | "settled";
|
|
|
3702
3995
|
* Factura de Crédito Fiscal Electrónica, code 31.
|
|
3703
3996
|
*/
|
|
3704
3997
|
export type Type31Intent = {
|
|
3998
|
+
additional_information?: AdditionalDocumentInformation | undefined;
|
|
3705
3999
|
buyer: Buyer;
|
|
3706
4000
|
currency: "DOP";
|
|
3707
4001
|
deferred_submission?: "1" | undefined;
|
|
@@ -3721,14 +4015,15 @@ export type Type31Intent = {
|
|
|
3721
4015
|
internal_order_number?: string | undefined;
|
|
3722
4016
|
legal_name: string;
|
|
3723
4017
|
municipality_code: "010000" | "010100" | "010101" | "020000" | "020100" | "020101" | "020102" | "020103" | "020104" | "020105" | "020106" | "020107" | "020108" | "020109" | "020200" | "020201" | "020202" | "020300" | "020301" | "020302" | "020303" | "020400" | "020401" | "020402" | "020403" | "020404" | "020405" | "020500" | "020501" | "020600" | "020601" | "020602" | "020603" | "020604" | "020700" | "020701" | "020702" | "020800" | "020801" | "020802" | "020803" | "020804" | "020900" | "020901" | "021000" | "021001" | "030000" | "030001" | "030101" | "030102" | "030200" | "030201" | "030202" | "030300" | "030301" | "030302" | "030303" | "030304" | "030305" | "030306" | "030307" | "030400" | "030401" | "030500" | "030501" | "030502" | "040000" | "040100" | "040101" | "040102" | "040103" | "040104" | "040200" | "040201" | "040300" | "040301" | "040302" | "040400" | "040401" | "040402" | "040500" | "040501" | "040502" | "040503" | "040504" | "040600" | "040601" | "040700" | "040701" | "040702" | "040800" | "040801" | "040802" | "040900" | "040901" | "041000" | "041001" | "041100" | "041101" | "041102" | "050000" | "050100" | "050101" | "050102" | "050200" | "050201" | "050202" | "050203" | "050300" | "050301" | "050400" | "050401" | "050500" | "050501" | "050502" | "060000" | "060100" | "060101" | "060102" | "060103" | "060104" | "060105" | "060200" | "060201" | "060202" | "060203" | "060300" | "060301" | "060400" | "060401" | "060500" | "060501" | "060502" | "060503" | "060504" | "060505" | "060600" | "060601" | "060700" | "060701" | "060702" | "070000" | "070100" | "070101" | "070102" | "070103" | "070200" | "070201" | "070202" | "070203" | "070300" | "070301" | "070302" | "070400" | "070401" | "070402" | "070500" | "070501" | "070502" | "070600" | "070601" | "080000" | "080100" | "080101" | "080102" | "080103" | "080104" | "080200" | "080201" | "080202" | "080203" | "090000" | "090100" | "090101" | "090102" | "090103" | "090104" | "090105" | "090106" | "090107" | "090108" | "090109" | "090200" | "090201" | "090300" | "090301" | "090302" | "090303" | "090304" | "090400" | "090401" | "100000" | "100100" | "100101" | "100102" | "100103" | "100200" | "100201" | "100202" | "100300" | "100301" | "100400" | "100401" | "100402" | "100500" | "100501" | "100502" | "100600" | "100601" | "100602" | "110000" | "110100" | "110101" | "110102" | "110103" | "110104" | "110200" | "110201" | "110202" | "110203" | "120000" | "120100" | "120101" | "120102" | "120200" | "120201" | "120300" | "120301" | "120302" | "130000" | "130100" | "130101" | "130102" | "130103" | "130104" | "130105" | "130200" | "130201" | "130202" | "130203" | "130300" | "130301" | "130302" | "130303" | "130400" | "130401" | "130402" | "140000" | "140100" | "140101" | "140102" | "140103" | "140104" | "140200" | "140201" | "140202" | "140203" | "140300" | "140301" | "140302" | "140400" | "140401" | "150000" | "150100" | "150101" | "150200" | "150201" | "150202" | "150300" | "150301" | "150302" | "150303" | "150304" | "150400" | "150401" | "150500" | "150501" | "150502" | "150600" | "150601" | "160000" | "160100" | "160101" | "160102" | "160200" | "160201" | "160202" | "170000" | "170100" | "170101" | "170102" | "170103" | "170104" | "170105" | "170106" | "170107" | "170108" | "170109" | "170110" | "170200" | "170201" | "170202" | "170203" | "170300" | "170301" | "180000" | "180100" | "180101" | "180102" | "180103" | "180200" | "180201" | "180202" | "180300" | "180301" | "180400" | "180401" | "180500" | "180501" | "180502" | "180600" | "180601" | "180602" | "180603" | "180604" | "180700" | "180701" | "180702" | "180703" | "180800" | "180801" | "180802" | "180803" | "180804" | "180900" | "180901" | "190000" | "190100" | "190101" | "190102" | "190200" | "190201" | "190202" | "190300" | "190301" | "200000" | "200100" | "200101" | "200102" | "200103" | "200104" | "200200" | "200201" | "200300" | "200301" | "210000" | "210100" | "210101" | "210102" | "210103" | "210200" | "210201" | "210300" | "210301" | "210302" | "210303" | "210400" | "210401" | "210402" | "210500" | "210501" | "210502" | "210503" | "210504" | "210600" | "210601" | "210602" | "210700" | "210701" | "210800" | "210801" | "220000" | "220100" | "220101" | "220102" | "220103" | "220104" | "220105" | "220106" | "220107" | "220108" | "220109" | "220110" | "220111" | "220200" | "220201" | "220202" | "220203" | "220300" | "220301" | "220302" | "220303" | "220400" | "220401" | "220402" | "220500" | "220501" | "220502" | "220503" | "220600" | "220601" | "220602" | "230000" | "230100" | "230101" | "230200" | "230201" | "230202" | "230203" | "230300" | "230301" | "230400" | "230401" | "230500" | "230501" | "230600" | "230601" | "240000" | "240100" | "240101" | "240102" | "240103" | "240104" | "240105" | "240106" | "240200" | "240201" | "240202" | "240300" | "240301" | "240400" | "240401" | "240402" | "240403" | "240404" | "250000" | "250100" | "250101" | "250102" | "250104" | "250105" | "250106" | "250107" | "250200" | "250201" | "250300" | "250301" | "250302" | "250303" | "250400" | "250401" | "250402" | "250500" | "250501" | "250502" | "250503" | "250504" | "250600" | "250601" | "250602" | "250700" | "250701" | "250702" | "250703" | "250800" | "250801" | "250802" | "250803" | "250900" | "250901" | "251000" | "251001" | "260000" | "260100" | "260101" | "260200" | "260201" | "260300" | "260301" | "270000" | "270100" | "270101" | "270102" | "270103" | "270104" | "270200" | "270201" | "270202" | "270203" | "270204" | "270205" | "270300" | "270301" | "270302" | "270303" | "270304" | "280000" | "280100" | "280101" | "280102" | "280103" | "280104" | "280105" | "280106" | "280200" | "280201" | "280300" | "280301" | "280302" | "280303" | "290000" | "290100" | "290101" | "290102" | "290103" | "290104" | "290200" | "290201" | "290300" | "290301" | "290302" | "290303" | "290400" | "290402" | "290403" | "290500" | "290501" | "300000" | "300100" | "300101" | "300102" | "300103" | "300104" | "300200" | "300201" | "300202" | "300300" | "300301" | "310000" | "310100" | "310101" | "310102" | "310103" | "310104" | "310105" | "310200" | "310201" | "310300" | "310301" | "320000" | "320100" | "320101" | "320102" | "320200" | "320201" | "320300" | "320301" | "320302" | "320400" | "320401" | "320402" | "320500" | "320501" | "320502" | "320600" | "320601" | "320602" | "320603" | "320700" | "320701" | "320702" | "320703";
|
|
3724
|
-
|
|
4018
|
+
phones: Array<string>;
|
|
3725
4019
|
province_code: "010000" | "010100" | "010101" | "020000" | "020100" | "020101" | "020102" | "020103" | "020104" | "020105" | "020106" | "020107" | "020108" | "020109" | "020200" | "020201" | "020202" | "020300" | "020301" | "020302" | "020303" | "020400" | "020401" | "020402" | "020403" | "020404" | "020405" | "020500" | "020501" | "020600" | "020601" | "020602" | "020603" | "020604" | "020700" | "020701" | "020702" | "020800" | "020801" | "020802" | "020803" | "020804" | "020900" | "020901" | "021000" | "021001" | "030000" | "030001" | "030101" | "030102" | "030200" | "030201" | "030202" | "030300" | "030301" | "030302" | "030303" | "030304" | "030305" | "030306" | "030307" | "030400" | "030401" | "030500" | "030501" | "030502" | "040000" | "040100" | "040101" | "040102" | "040103" | "040104" | "040200" | "040201" | "040300" | "040301" | "040302" | "040400" | "040401" | "040402" | "040500" | "040501" | "040502" | "040503" | "040504" | "040600" | "040601" | "040700" | "040701" | "040702" | "040800" | "040801" | "040802" | "040900" | "040901" | "041000" | "041001" | "041100" | "041101" | "041102" | "050000" | "050100" | "050101" | "050102" | "050200" | "050201" | "050202" | "050203" | "050300" | "050301" | "050400" | "050401" | "050500" | "050501" | "050502" | "060000" | "060100" | "060101" | "060102" | "060103" | "060104" | "060105" | "060200" | "060201" | "060202" | "060203" | "060300" | "060301" | "060400" | "060401" | "060500" | "060501" | "060502" | "060503" | "060504" | "060505" | "060600" | "060601" | "060700" | "060701" | "060702" | "070000" | "070100" | "070101" | "070102" | "070103" | "070200" | "070201" | "070202" | "070203" | "070300" | "070301" | "070302" | "070400" | "070401" | "070402" | "070500" | "070501" | "070502" | "070600" | "070601" | "080000" | "080100" | "080101" | "080102" | "080103" | "080104" | "080200" | "080201" | "080202" | "080203" | "090000" | "090100" | "090101" | "090102" | "090103" | "090104" | "090105" | "090106" | "090107" | "090108" | "090109" | "090200" | "090201" | "090300" | "090301" | "090302" | "090303" | "090304" | "090400" | "090401" | "100000" | "100100" | "100101" | "100102" | "100103" | "100200" | "100201" | "100202" | "100300" | "100301" | "100400" | "100401" | "100402" | "100500" | "100501" | "100502" | "100600" | "100601" | "100602" | "110000" | "110100" | "110101" | "110102" | "110103" | "110104" | "110200" | "110201" | "110202" | "110203" | "120000" | "120100" | "120101" | "120102" | "120200" | "120201" | "120300" | "120301" | "120302" | "130000" | "130100" | "130101" | "130102" | "130103" | "130104" | "130105" | "130200" | "130201" | "130202" | "130203" | "130300" | "130301" | "130302" | "130303" | "130400" | "130401" | "130402" | "140000" | "140100" | "140101" | "140102" | "140103" | "140104" | "140200" | "140201" | "140202" | "140203" | "140300" | "140301" | "140302" | "140400" | "140401" | "150000" | "150100" | "150101" | "150200" | "150201" | "150202" | "150300" | "150301" | "150302" | "150303" | "150304" | "150400" | "150401" | "150500" | "150501" | "150502" | "150600" | "150601" | "160000" | "160100" | "160101" | "160102" | "160200" | "160201" | "160202" | "170000" | "170100" | "170101" | "170102" | "170103" | "170104" | "170105" | "170106" | "170107" | "170108" | "170109" | "170110" | "170200" | "170201" | "170202" | "170203" | "170300" | "170301" | "180000" | "180100" | "180101" | "180102" | "180103" | "180200" | "180201" | "180202" | "180300" | "180301" | "180400" | "180401" | "180500" | "180501" | "180502" | "180600" | "180601" | "180602" | "180603" | "180604" | "180700" | "180701" | "180702" | "180703" | "180800" | "180801" | "180802" | "180803" | "180804" | "180900" | "180901" | "190000" | "190100" | "190101" | "190102" | "190200" | "190201" | "190202" | "190300" | "190301" | "200000" | "200100" | "200101" | "200102" | "200103" | "200104" | "200200" | "200201" | "200300" | "200301" | "210000" | "210100" | "210101" | "210102" | "210103" | "210200" | "210201" | "210300" | "210301" | "210302" | "210303" | "210400" | "210401" | "210402" | "210500" | "210501" | "210502" | "210503" | "210504" | "210600" | "210601" | "210602" | "210700" | "210701" | "210800" | "210801" | "220000" | "220100" | "220101" | "220102" | "220103" | "220104" | "220105" | "220106" | "220107" | "220108" | "220109" | "220110" | "220111" | "220200" | "220201" | "220202" | "220203" | "220300" | "220301" | "220302" | "220303" | "220400" | "220401" | "220402" | "220500" | "220501" | "220502" | "220503" | "220600" | "220601" | "220602" | "230000" | "230100" | "230101" | "230200" | "230201" | "230202" | "230203" | "230300" | "230301" | "230400" | "230401" | "230500" | "230501" | "230600" | "230601" | "240000" | "240100" | "240101" | "240102" | "240103" | "240104" | "240105" | "240106" | "240200" | "240201" | "240202" | "240300" | "240301" | "240400" | "240401" | "240402" | "240403" | "240404" | "250000" | "250100" | "250101" | "250102" | "250104" | "250105" | "250106" | "250107" | "250200" | "250201" | "250300" | "250301" | "250302" | "250303" | "250400" | "250401" | "250402" | "250500" | "250501" | "250502" | "250503" | "250504" | "250600" | "250601" | "250602" | "250700" | "250701" | "250702" | "250703" | "250800" | "250801" | "250802" | "250803" | "250900" | "250901" | "251000" | "251001" | "260000" | "260100" | "260101" | "260200" | "260201" | "260300" | "260301" | "270000" | "270100" | "270101" | "270102" | "270103" | "270104" | "270200" | "270201" | "270202" | "270203" | "270204" | "270205" | "270300" | "270301" | "270302" | "270303" | "270304" | "280000" | "280100" | "280101" | "280102" | "280103" | "280104" | "280105" | "280106" | "280200" | "280201" | "280300" | "280301" | "280302" | "280303" | "290000" | "290100" | "290101" | "290102" | "290103" | "290104" | "290200" | "290201" | "290300" | "290301" | "290302" | "290303" | "290400" | "290402" | "290403" | "290500" | "290501" | "300000" | "300100" | "300101" | "300102" | "300103" | "300104" | "300200" | "300201" | "300202" | "300300" | "300301" | "310000" | "310100" | "310101" | "310102" | "310103" | "310104" | "310105" | "310200" | "310201" | "310300" | "310301" | "320000" | "320100" | "320101" | "320102" | "320200" | "320201" | "320300" | "320301" | "320302" | "320400" | "320401" | "320402" | "320500" | "320501" | "320502" | "320600" | "320601" | "320602" | "320603" | "320700" | "320701" | "320702" | "320703";
|
|
3726
4020
|
sales_zone?: string | undefined;
|
|
3727
4021
|
seller_code?: string | undefined;
|
|
3728
4022
|
tax_id: string;
|
|
3729
4023
|
website?: string | undefined;
|
|
3730
4024
|
};
|
|
3731
|
-
lines: Array<
|
|
4025
|
+
lines: Array<Type31Line>;
|
|
4026
|
+
payment_account?: PaymentAccount | undefined;
|
|
3732
4027
|
payment_allocations?: Array<PaymentAllocation> | undefined;
|
|
3733
4028
|
payment_due_on?: string | undefined;
|
|
3734
4029
|
payment_type: "1" | "2" | "3";
|
|
@@ -3737,6 +4032,58 @@ export type Type31Intent = {
|
|
|
3737
4032
|
signed_at: string;
|
|
3738
4033
|
tax_inclusive_amounts?: "0" | "1" | undefined;
|
|
3739
4034
|
};
|
|
4035
|
+
/**
|
|
4036
|
+
* A Type 31 line with its profile-permitted line-level discounts and surcharges.
|
|
4037
|
+
*/
|
|
4038
|
+
export type Type31Line = {
|
|
4039
|
+
/**
|
|
4040
|
+
* Additional taxes admitted by the Type 31 profile (currently legal tip only).
|
|
4041
|
+
*/
|
|
4042
|
+
additional_tax_codes?: Array<"001"> | undefined;
|
|
4043
|
+
/**
|
|
4044
|
+
* The line-level adjustments admitted by Type 31.
|
|
4045
|
+
*/
|
|
4046
|
+
adjustments?: {
|
|
4047
|
+
discounts?: Array<LinePriceAdjustment> | undefined;
|
|
4048
|
+
surcharges?: Array<LinePriceAdjustment> | undefined;
|
|
4049
|
+
} | undefined;
|
|
4050
|
+
/**
|
|
4051
|
+
* ITBIS billing indicator.
|
|
4052
|
+
*/
|
|
4053
|
+
billing_indicator: "0" | "1" | "2" | "3" | "4";
|
|
4054
|
+
/**
|
|
4055
|
+
* Good or service indicator.
|
|
4056
|
+
*/
|
|
4057
|
+
goods_or_service_indicator: "1" | "2";
|
|
4058
|
+
/**
|
|
4059
|
+
* Optional item-identification codes.
|
|
4060
|
+
*/
|
|
4061
|
+
item_codes?: Array<FiscalItemCode> | undefined;
|
|
4062
|
+
/**
|
|
4063
|
+
* Official measurement-unit code.
|
|
4064
|
+
*/
|
|
4065
|
+
measurement_unit: string;
|
|
4066
|
+
/**
|
|
4067
|
+
* Item or service name.
|
|
4068
|
+
*/
|
|
4069
|
+
name: string;
|
|
4070
|
+
/**
|
|
4071
|
+
* Number of units on this invoice line.
|
|
4072
|
+
*/
|
|
4073
|
+
quantity: string;
|
|
4074
|
+
/**
|
|
4075
|
+
* Stable identifier for this invoice item.
|
|
4076
|
+
*/
|
|
4077
|
+
source_line_id: string;
|
|
4078
|
+
/**
|
|
4079
|
+
* Marks a tax-exclusive unit price inside a tax-inclusive invoice.
|
|
4080
|
+
*/
|
|
4081
|
+
tax_exclusive_unit_price?: "1" | undefined;
|
|
4082
|
+
/**
|
|
4083
|
+
* Unit price before line adjustments.
|
|
4084
|
+
*/
|
|
4085
|
+
unit_price: string;
|
|
4086
|
+
};
|
|
3740
4087
|
/**
|
|
3741
4088
|
* Buyer identity alternatives admitted by the bounded Type 32 profile.
|
|
3742
4089
|
*
|
|
@@ -3747,10 +4094,12 @@ export type Type31Intent = {
|
|
|
3747
4094
|
export type Type32Buyer = {
|
|
3748
4095
|
identity_kind: "anonymous";
|
|
3749
4096
|
} | {
|
|
4097
|
+
delivery_phone?: string | undefined;
|
|
3750
4098
|
identity_kind: "domestic";
|
|
3751
4099
|
legal_name: string;
|
|
3752
4100
|
tax_id: string;
|
|
3753
4101
|
} | {
|
|
4102
|
+
delivery_phone?: string | undefined;
|
|
3754
4103
|
foreign_identifier: string;
|
|
3755
4104
|
identity_kind: "foreign";
|
|
3756
4105
|
legal_name: string;
|
|
@@ -3759,6 +4108,7 @@ export type Type32Buyer = {
|
|
|
3759
4108
|
* Factura de Consumo Electrónica, code 32.
|
|
3760
4109
|
*/
|
|
3761
4110
|
export type Type32Intent = {
|
|
4111
|
+
additional_information?: AdditionalDocumentInformation | undefined;
|
|
3762
4112
|
buyer: Type32Buyer;
|
|
3763
4113
|
currency: "DOP";
|
|
3764
4114
|
deferred_submission?: "1" | undefined;
|
|
@@ -3778,7 +4128,7 @@ export type Type32Intent = {
|
|
|
3778
4128
|
internal_order_number?: string | undefined;
|
|
3779
4129
|
legal_name: string;
|
|
3780
4130
|
municipality_code: "010000" | "010100" | "010101" | "020000" | "020100" | "020101" | "020102" | "020103" | "020104" | "020105" | "020106" | "020107" | "020108" | "020109" | "020200" | "020201" | "020202" | "020300" | "020301" | "020302" | "020303" | "020400" | "020401" | "020402" | "020403" | "020404" | "020405" | "020500" | "020501" | "020600" | "020601" | "020602" | "020603" | "020604" | "020700" | "020701" | "020702" | "020800" | "020801" | "020802" | "020803" | "020804" | "020900" | "020901" | "021000" | "021001" | "030000" | "030001" | "030101" | "030102" | "030200" | "030201" | "030202" | "030300" | "030301" | "030302" | "030303" | "030304" | "030305" | "030306" | "030307" | "030400" | "030401" | "030500" | "030501" | "030502" | "040000" | "040100" | "040101" | "040102" | "040103" | "040104" | "040200" | "040201" | "040300" | "040301" | "040302" | "040400" | "040401" | "040402" | "040500" | "040501" | "040502" | "040503" | "040504" | "040600" | "040601" | "040700" | "040701" | "040702" | "040800" | "040801" | "040802" | "040900" | "040901" | "041000" | "041001" | "041100" | "041101" | "041102" | "050000" | "050100" | "050101" | "050102" | "050200" | "050201" | "050202" | "050203" | "050300" | "050301" | "050400" | "050401" | "050500" | "050501" | "050502" | "060000" | "060100" | "060101" | "060102" | "060103" | "060104" | "060105" | "060200" | "060201" | "060202" | "060203" | "060300" | "060301" | "060400" | "060401" | "060500" | "060501" | "060502" | "060503" | "060504" | "060505" | "060600" | "060601" | "060700" | "060701" | "060702" | "070000" | "070100" | "070101" | "070102" | "070103" | "070200" | "070201" | "070202" | "070203" | "070300" | "070301" | "070302" | "070400" | "070401" | "070402" | "070500" | "070501" | "070502" | "070600" | "070601" | "080000" | "080100" | "080101" | "080102" | "080103" | "080104" | "080200" | "080201" | "080202" | "080203" | "090000" | "090100" | "090101" | "090102" | "090103" | "090104" | "090105" | "090106" | "090107" | "090108" | "090109" | "090200" | "090201" | "090300" | "090301" | "090302" | "090303" | "090304" | "090400" | "090401" | "100000" | "100100" | "100101" | "100102" | "100103" | "100200" | "100201" | "100202" | "100300" | "100301" | "100400" | "100401" | "100402" | "100500" | "100501" | "100502" | "100600" | "100601" | "100602" | "110000" | "110100" | "110101" | "110102" | "110103" | "110104" | "110200" | "110201" | "110202" | "110203" | "120000" | "120100" | "120101" | "120102" | "120200" | "120201" | "120300" | "120301" | "120302" | "130000" | "130100" | "130101" | "130102" | "130103" | "130104" | "130105" | "130200" | "130201" | "130202" | "130203" | "130300" | "130301" | "130302" | "130303" | "130400" | "130401" | "130402" | "140000" | "140100" | "140101" | "140102" | "140103" | "140104" | "140200" | "140201" | "140202" | "140203" | "140300" | "140301" | "140302" | "140400" | "140401" | "150000" | "150100" | "150101" | "150200" | "150201" | "150202" | "150300" | "150301" | "150302" | "150303" | "150304" | "150400" | "150401" | "150500" | "150501" | "150502" | "150600" | "150601" | "160000" | "160100" | "160101" | "160102" | "160200" | "160201" | "160202" | "170000" | "170100" | "170101" | "170102" | "170103" | "170104" | "170105" | "170106" | "170107" | "170108" | "170109" | "170110" | "170200" | "170201" | "170202" | "170203" | "170300" | "170301" | "180000" | "180100" | "180101" | "180102" | "180103" | "180200" | "180201" | "180202" | "180300" | "180301" | "180400" | "180401" | "180500" | "180501" | "180502" | "180600" | "180601" | "180602" | "180603" | "180604" | "180700" | "180701" | "180702" | "180703" | "180800" | "180801" | "180802" | "180803" | "180804" | "180900" | "180901" | "190000" | "190100" | "190101" | "190102" | "190200" | "190201" | "190202" | "190300" | "190301" | "200000" | "200100" | "200101" | "200102" | "200103" | "200104" | "200200" | "200201" | "200300" | "200301" | "210000" | "210100" | "210101" | "210102" | "210103" | "210200" | "210201" | "210300" | "210301" | "210302" | "210303" | "210400" | "210401" | "210402" | "210500" | "210501" | "210502" | "210503" | "210504" | "210600" | "210601" | "210602" | "210700" | "210701" | "210800" | "210801" | "220000" | "220100" | "220101" | "220102" | "220103" | "220104" | "220105" | "220106" | "220107" | "220108" | "220109" | "220110" | "220111" | "220200" | "220201" | "220202" | "220203" | "220300" | "220301" | "220302" | "220303" | "220400" | "220401" | "220402" | "220500" | "220501" | "220502" | "220503" | "220600" | "220601" | "220602" | "230000" | "230100" | "230101" | "230200" | "230201" | "230202" | "230203" | "230300" | "230301" | "230400" | "230401" | "230500" | "230501" | "230600" | "230601" | "240000" | "240100" | "240101" | "240102" | "240103" | "240104" | "240105" | "240106" | "240200" | "240201" | "240202" | "240300" | "240301" | "240400" | "240401" | "240402" | "240403" | "240404" | "250000" | "250100" | "250101" | "250102" | "250104" | "250105" | "250106" | "250107" | "250200" | "250201" | "250300" | "250301" | "250302" | "250303" | "250400" | "250401" | "250402" | "250500" | "250501" | "250502" | "250503" | "250504" | "250600" | "250601" | "250602" | "250700" | "250701" | "250702" | "250703" | "250800" | "250801" | "250802" | "250803" | "250900" | "250901" | "251000" | "251001" | "260000" | "260100" | "260101" | "260200" | "260201" | "260300" | "260301" | "270000" | "270100" | "270101" | "270102" | "270103" | "270104" | "270200" | "270201" | "270202" | "270203" | "270204" | "270205" | "270300" | "270301" | "270302" | "270303" | "270304" | "280000" | "280100" | "280101" | "280102" | "280103" | "280104" | "280105" | "280106" | "280200" | "280201" | "280300" | "280301" | "280302" | "280303" | "290000" | "290100" | "290101" | "290102" | "290103" | "290104" | "290200" | "290201" | "290300" | "290301" | "290302" | "290303" | "290400" | "290402" | "290403" | "290500" | "290501" | "300000" | "300100" | "300101" | "300102" | "300103" | "300104" | "300200" | "300201" | "300202" | "300300" | "300301" | "310000" | "310100" | "310101" | "310102" | "310103" | "310104" | "310105" | "310200" | "310201" | "310300" | "310301" | "320000" | "320100" | "320101" | "320102" | "320200" | "320201" | "320300" | "320301" | "320302" | "320400" | "320401" | "320402" | "320500" | "320501" | "320502" | "320600" | "320601" | "320602" | "320603" | "320700" | "320701" | "320702" | "320703";
|
|
3781
|
-
|
|
4131
|
+
phones: Array<string>;
|
|
3782
4132
|
province_code: "010000" | "010100" | "010101" | "020000" | "020100" | "020101" | "020102" | "020103" | "020104" | "020105" | "020106" | "020107" | "020108" | "020109" | "020200" | "020201" | "020202" | "020300" | "020301" | "020302" | "020303" | "020400" | "020401" | "020402" | "020403" | "020404" | "020405" | "020500" | "020501" | "020600" | "020601" | "020602" | "020603" | "020604" | "020700" | "020701" | "020702" | "020800" | "020801" | "020802" | "020803" | "020804" | "020900" | "020901" | "021000" | "021001" | "030000" | "030001" | "030101" | "030102" | "030200" | "030201" | "030202" | "030300" | "030301" | "030302" | "030303" | "030304" | "030305" | "030306" | "030307" | "030400" | "030401" | "030500" | "030501" | "030502" | "040000" | "040100" | "040101" | "040102" | "040103" | "040104" | "040200" | "040201" | "040300" | "040301" | "040302" | "040400" | "040401" | "040402" | "040500" | "040501" | "040502" | "040503" | "040504" | "040600" | "040601" | "040700" | "040701" | "040702" | "040800" | "040801" | "040802" | "040900" | "040901" | "041000" | "041001" | "041100" | "041101" | "041102" | "050000" | "050100" | "050101" | "050102" | "050200" | "050201" | "050202" | "050203" | "050300" | "050301" | "050400" | "050401" | "050500" | "050501" | "050502" | "060000" | "060100" | "060101" | "060102" | "060103" | "060104" | "060105" | "060200" | "060201" | "060202" | "060203" | "060300" | "060301" | "060400" | "060401" | "060500" | "060501" | "060502" | "060503" | "060504" | "060505" | "060600" | "060601" | "060700" | "060701" | "060702" | "070000" | "070100" | "070101" | "070102" | "070103" | "070200" | "070201" | "070202" | "070203" | "070300" | "070301" | "070302" | "070400" | "070401" | "070402" | "070500" | "070501" | "070502" | "070600" | "070601" | "080000" | "080100" | "080101" | "080102" | "080103" | "080104" | "080200" | "080201" | "080202" | "080203" | "090000" | "090100" | "090101" | "090102" | "090103" | "090104" | "090105" | "090106" | "090107" | "090108" | "090109" | "090200" | "090201" | "090300" | "090301" | "090302" | "090303" | "090304" | "090400" | "090401" | "100000" | "100100" | "100101" | "100102" | "100103" | "100200" | "100201" | "100202" | "100300" | "100301" | "100400" | "100401" | "100402" | "100500" | "100501" | "100502" | "100600" | "100601" | "100602" | "110000" | "110100" | "110101" | "110102" | "110103" | "110104" | "110200" | "110201" | "110202" | "110203" | "120000" | "120100" | "120101" | "120102" | "120200" | "120201" | "120300" | "120301" | "120302" | "130000" | "130100" | "130101" | "130102" | "130103" | "130104" | "130105" | "130200" | "130201" | "130202" | "130203" | "130300" | "130301" | "130302" | "130303" | "130400" | "130401" | "130402" | "140000" | "140100" | "140101" | "140102" | "140103" | "140104" | "140200" | "140201" | "140202" | "140203" | "140300" | "140301" | "140302" | "140400" | "140401" | "150000" | "150100" | "150101" | "150200" | "150201" | "150202" | "150300" | "150301" | "150302" | "150303" | "150304" | "150400" | "150401" | "150500" | "150501" | "150502" | "150600" | "150601" | "160000" | "160100" | "160101" | "160102" | "160200" | "160201" | "160202" | "170000" | "170100" | "170101" | "170102" | "170103" | "170104" | "170105" | "170106" | "170107" | "170108" | "170109" | "170110" | "170200" | "170201" | "170202" | "170203" | "170300" | "170301" | "180000" | "180100" | "180101" | "180102" | "180103" | "180200" | "180201" | "180202" | "180300" | "180301" | "180400" | "180401" | "180500" | "180501" | "180502" | "180600" | "180601" | "180602" | "180603" | "180604" | "180700" | "180701" | "180702" | "180703" | "180800" | "180801" | "180802" | "180803" | "180804" | "180900" | "180901" | "190000" | "190100" | "190101" | "190102" | "190200" | "190201" | "190202" | "190300" | "190301" | "200000" | "200100" | "200101" | "200102" | "200103" | "200104" | "200200" | "200201" | "200300" | "200301" | "210000" | "210100" | "210101" | "210102" | "210103" | "210200" | "210201" | "210300" | "210301" | "210302" | "210303" | "210400" | "210401" | "210402" | "210500" | "210501" | "210502" | "210503" | "210504" | "210600" | "210601" | "210602" | "210700" | "210701" | "210800" | "210801" | "220000" | "220100" | "220101" | "220102" | "220103" | "220104" | "220105" | "220106" | "220107" | "220108" | "220109" | "220110" | "220111" | "220200" | "220201" | "220202" | "220203" | "220300" | "220301" | "220302" | "220303" | "220400" | "220401" | "220402" | "220500" | "220501" | "220502" | "220503" | "220600" | "220601" | "220602" | "230000" | "230100" | "230101" | "230200" | "230201" | "230202" | "230203" | "230300" | "230301" | "230400" | "230401" | "230500" | "230501" | "230600" | "230601" | "240000" | "240100" | "240101" | "240102" | "240103" | "240104" | "240105" | "240106" | "240200" | "240201" | "240202" | "240300" | "240301" | "240400" | "240401" | "240402" | "240403" | "240404" | "250000" | "250100" | "250101" | "250102" | "250104" | "250105" | "250106" | "250107" | "250200" | "250201" | "250300" | "250301" | "250302" | "250303" | "250400" | "250401" | "250402" | "250500" | "250501" | "250502" | "250503" | "250504" | "250600" | "250601" | "250602" | "250700" | "250701" | "250702" | "250703" | "250800" | "250801" | "250802" | "250803" | "250900" | "250901" | "251000" | "251001" | "260000" | "260100" | "260101" | "260200" | "260201" | "260300" | "260301" | "270000" | "270100" | "270101" | "270102" | "270103" | "270104" | "270200" | "270201" | "270202" | "270203" | "270204" | "270205" | "270300" | "270301" | "270302" | "270303" | "270304" | "280000" | "280100" | "280101" | "280102" | "280103" | "280104" | "280105" | "280106" | "280200" | "280201" | "280300" | "280301" | "280302" | "280303" | "290000" | "290100" | "290101" | "290102" | "290103" | "290104" | "290200" | "290201" | "290300" | "290301" | "290302" | "290303" | "290400" | "290402" | "290403" | "290500" | "290501" | "300000" | "300100" | "300101" | "300102" | "300103" | "300104" | "300200" | "300201" | "300202" | "300300" | "300301" | "310000" | "310100" | "310101" | "310102" | "310103" | "310104" | "310105" | "310200" | "310201" | "310300" | "310301" | "320000" | "320100" | "320101" | "320102" | "320200" | "320201" | "320300" | "320301" | "320302" | "320400" | "320401" | "320402" | "320500" | "320501" | "320502" | "320600" | "320601" | "320602" | "320603" | "320700" | "320701" | "320702" | "320703";
|
|
3783
4133
|
sales_zone?: string | undefined;
|
|
3784
4134
|
seller_code?: string | undefined;
|
|
@@ -3786,6 +4136,7 @@ export type Type32Intent = {
|
|
|
3786
4136
|
website?: string | undefined;
|
|
3787
4137
|
};
|
|
3788
4138
|
lines: Array<FiscalLineWithLegalTip>;
|
|
4139
|
+
payment_account?: PaymentAccount | undefined;
|
|
3789
4140
|
payment_allocations?: Array<PaymentAllocation> | undefined;
|
|
3790
4141
|
payment_due_on?: string | undefined;
|
|
3791
4142
|
payment_type: "1" | "2" | "3";
|
|
@@ -3798,6 +4149,7 @@ export type Type32Intent = {
|
|
|
3798
4149
|
* Nota de Débito Electrónica, code 33.
|
|
3799
4150
|
*/
|
|
3800
4151
|
export type Type33Intent = {
|
|
4152
|
+
additional_information?: AdditionalDocumentInformation | undefined;
|
|
3801
4153
|
/**
|
|
3802
4154
|
* Typed reference to the fiscal document affected by an adjustment note.
|
|
3803
4155
|
*/
|
|
@@ -3828,7 +4180,7 @@ export type Type33Intent = {
|
|
|
3828
4180
|
internal_order_number?: string | undefined;
|
|
3829
4181
|
legal_name: string;
|
|
3830
4182
|
municipality_code: "010000" | "010100" | "010101" | "020000" | "020100" | "020101" | "020102" | "020103" | "020104" | "020105" | "020106" | "020107" | "020108" | "020109" | "020200" | "020201" | "020202" | "020300" | "020301" | "020302" | "020303" | "020400" | "020401" | "020402" | "020403" | "020404" | "020405" | "020500" | "020501" | "020600" | "020601" | "020602" | "020603" | "020604" | "020700" | "020701" | "020702" | "020800" | "020801" | "020802" | "020803" | "020804" | "020900" | "020901" | "021000" | "021001" | "030000" | "030001" | "030101" | "030102" | "030200" | "030201" | "030202" | "030300" | "030301" | "030302" | "030303" | "030304" | "030305" | "030306" | "030307" | "030400" | "030401" | "030500" | "030501" | "030502" | "040000" | "040100" | "040101" | "040102" | "040103" | "040104" | "040200" | "040201" | "040300" | "040301" | "040302" | "040400" | "040401" | "040402" | "040500" | "040501" | "040502" | "040503" | "040504" | "040600" | "040601" | "040700" | "040701" | "040702" | "040800" | "040801" | "040802" | "040900" | "040901" | "041000" | "041001" | "041100" | "041101" | "041102" | "050000" | "050100" | "050101" | "050102" | "050200" | "050201" | "050202" | "050203" | "050300" | "050301" | "050400" | "050401" | "050500" | "050501" | "050502" | "060000" | "060100" | "060101" | "060102" | "060103" | "060104" | "060105" | "060200" | "060201" | "060202" | "060203" | "060300" | "060301" | "060400" | "060401" | "060500" | "060501" | "060502" | "060503" | "060504" | "060505" | "060600" | "060601" | "060700" | "060701" | "060702" | "070000" | "070100" | "070101" | "070102" | "070103" | "070200" | "070201" | "070202" | "070203" | "070300" | "070301" | "070302" | "070400" | "070401" | "070402" | "070500" | "070501" | "070502" | "070600" | "070601" | "080000" | "080100" | "080101" | "080102" | "080103" | "080104" | "080200" | "080201" | "080202" | "080203" | "090000" | "090100" | "090101" | "090102" | "090103" | "090104" | "090105" | "090106" | "090107" | "090108" | "090109" | "090200" | "090201" | "090300" | "090301" | "090302" | "090303" | "090304" | "090400" | "090401" | "100000" | "100100" | "100101" | "100102" | "100103" | "100200" | "100201" | "100202" | "100300" | "100301" | "100400" | "100401" | "100402" | "100500" | "100501" | "100502" | "100600" | "100601" | "100602" | "110000" | "110100" | "110101" | "110102" | "110103" | "110104" | "110200" | "110201" | "110202" | "110203" | "120000" | "120100" | "120101" | "120102" | "120200" | "120201" | "120300" | "120301" | "120302" | "130000" | "130100" | "130101" | "130102" | "130103" | "130104" | "130105" | "130200" | "130201" | "130202" | "130203" | "130300" | "130301" | "130302" | "130303" | "130400" | "130401" | "130402" | "140000" | "140100" | "140101" | "140102" | "140103" | "140104" | "140200" | "140201" | "140202" | "140203" | "140300" | "140301" | "140302" | "140400" | "140401" | "150000" | "150100" | "150101" | "150200" | "150201" | "150202" | "150300" | "150301" | "150302" | "150303" | "150304" | "150400" | "150401" | "150500" | "150501" | "150502" | "150600" | "150601" | "160000" | "160100" | "160101" | "160102" | "160200" | "160201" | "160202" | "170000" | "170100" | "170101" | "170102" | "170103" | "170104" | "170105" | "170106" | "170107" | "170108" | "170109" | "170110" | "170200" | "170201" | "170202" | "170203" | "170300" | "170301" | "180000" | "180100" | "180101" | "180102" | "180103" | "180200" | "180201" | "180202" | "180300" | "180301" | "180400" | "180401" | "180500" | "180501" | "180502" | "180600" | "180601" | "180602" | "180603" | "180604" | "180700" | "180701" | "180702" | "180703" | "180800" | "180801" | "180802" | "180803" | "180804" | "180900" | "180901" | "190000" | "190100" | "190101" | "190102" | "190200" | "190201" | "190202" | "190300" | "190301" | "200000" | "200100" | "200101" | "200102" | "200103" | "200104" | "200200" | "200201" | "200300" | "200301" | "210000" | "210100" | "210101" | "210102" | "210103" | "210200" | "210201" | "210300" | "210301" | "210302" | "210303" | "210400" | "210401" | "210402" | "210500" | "210501" | "210502" | "210503" | "210504" | "210600" | "210601" | "210602" | "210700" | "210701" | "210800" | "210801" | "220000" | "220100" | "220101" | "220102" | "220103" | "220104" | "220105" | "220106" | "220107" | "220108" | "220109" | "220110" | "220111" | "220200" | "220201" | "220202" | "220203" | "220300" | "220301" | "220302" | "220303" | "220400" | "220401" | "220402" | "220500" | "220501" | "220502" | "220503" | "220600" | "220601" | "220602" | "230000" | "230100" | "230101" | "230200" | "230201" | "230202" | "230203" | "230300" | "230301" | "230400" | "230401" | "230500" | "230501" | "230600" | "230601" | "240000" | "240100" | "240101" | "240102" | "240103" | "240104" | "240105" | "240106" | "240200" | "240201" | "240202" | "240300" | "240301" | "240400" | "240401" | "240402" | "240403" | "240404" | "250000" | "250100" | "250101" | "250102" | "250104" | "250105" | "250106" | "250107" | "250200" | "250201" | "250300" | "250301" | "250302" | "250303" | "250400" | "250401" | "250402" | "250500" | "250501" | "250502" | "250503" | "250504" | "250600" | "250601" | "250602" | "250700" | "250701" | "250702" | "250703" | "250800" | "250801" | "250802" | "250803" | "250900" | "250901" | "251000" | "251001" | "260000" | "260100" | "260101" | "260200" | "260201" | "260300" | "260301" | "270000" | "270100" | "270101" | "270102" | "270103" | "270104" | "270200" | "270201" | "270202" | "270203" | "270204" | "270205" | "270300" | "270301" | "270302" | "270303" | "270304" | "280000" | "280100" | "280101" | "280102" | "280103" | "280104" | "280105" | "280106" | "280200" | "280201" | "280300" | "280301" | "280302" | "280303" | "290000" | "290100" | "290101" | "290102" | "290103" | "290104" | "290200" | "290201" | "290300" | "290301" | "290302" | "290303" | "290400" | "290402" | "290403" | "290500" | "290501" | "300000" | "300100" | "300101" | "300102" | "300103" | "300104" | "300200" | "300201" | "300202" | "300300" | "300301" | "310000" | "310100" | "310101" | "310102" | "310103" | "310104" | "310105" | "310200" | "310201" | "310300" | "310301" | "320000" | "320100" | "320101" | "320102" | "320200" | "320201" | "320300" | "320301" | "320302" | "320400" | "320401" | "320402" | "320500" | "320501" | "320502" | "320600" | "320601" | "320602" | "320603" | "320700" | "320701" | "320702" | "320703";
|
|
3831
|
-
|
|
4183
|
+
phones: Array<string>;
|
|
3832
4184
|
province_code: "010000" | "010100" | "010101" | "020000" | "020100" | "020101" | "020102" | "020103" | "020104" | "020105" | "020106" | "020107" | "020108" | "020109" | "020200" | "020201" | "020202" | "020300" | "020301" | "020302" | "020303" | "020400" | "020401" | "020402" | "020403" | "020404" | "020405" | "020500" | "020501" | "020600" | "020601" | "020602" | "020603" | "020604" | "020700" | "020701" | "020702" | "020800" | "020801" | "020802" | "020803" | "020804" | "020900" | "020901" | "021000" | "021001" | "030000" | "030001" | "030101" | "030102" | "030200" | "030201" | "030202" | "030300" | "030301" | "030302" | "030303" | "030304" | "030305" | "030306" | "030307" | "030400" | "030401" | "030500" | "030501" | "030502" | "040000" | "040100" | "040101" | "040102" | "040103" | "040104" | "040200" | "040201" | "040300" | "040301" | "040302" | "040400" | "040401" | "040402" | "040500" | "040501" | "040502" | "040503" | "040504" | "040600" | "040601" | "040700" | "040701" | "040702" | "040800" | "040801" | "040802" | "040900" | "040901" | "041000" | "041001" | "041100" | "041101" | "041102" | "050000" | "050100" | "050101" | "050102" | "050200" | "050201" | "050202" | "050203" | "050300" | "050301" | "050400" | "050401" | "050500" | "050501" | "050502" | "060000" | "060100" | "060101" | "060102" | "060103" | "060104" | "060105" | "060200" | "060201" | "060202" | "060203" | "060300" | "060301" | "060400" | "060401" | "060500" | "060501" | "060502" | "060503" | "060504" | "060505" | "060600" | "060601" | "060700" | "060701" | "060702" | "070000" | "070100" | "070101" | "070102" | "070103" | "070200" | "070201" | "070202" | "070203" | "070300" | "070301" | "070302" | "070400" | "070401" | "070402" | "070500" | "070501" | "070502" | "070600" | "070601" | "080000" | "080100" | "080101" | "080102" | "080103" | "080104" | "080200" | "080201" | "080202" | "080203" | "090000" | "090100" | "090101" | "090102" | "090103" | "090104" | "090105" | "090106" | "090107" | "090108" | "090109" | "090200" | "090201" | "090300" | "090301" | "090302" | "090303" | "090304" | "090400" | "090401" | "100000" | "100100" | "100101" | "100102" | "100103" | "100200" | "100201" | "100202" | "100300" | "100301" | "100400" | "100401" | "100402" | "100500" | "100501" | "100502" | "100600" | "100601" | "100602" | "110000" | "110100" | "110101" | "110102" | "110103" | "110104" | "110200" | "110201" | "110202" | "110203" | "120000" | "120100" | "120101" | "120102" | "120200" | "120201" | "120300" | "120301" | "120302" | "130000" | "130100" | "130101" | "130102" | "130103" | "130104" | "130105" | "130200" | "130201" | "130202" | "130203" | "130300" | "130301" | "130302" | "130303" | "130400" | "130401" | "130402" | "140000" | "140100" | "140101" | "140102" | "140103" | "140104" | "140200" | "140201" | "140202" | "140203" | "140300" | "140301" | "140302" | "140400" | "140401" | "150000" | "150100" | "150101" | "150200" | "150201" | "150202" | "150300" | "150301" | "150302" | "150303" | "150304" | "150400" | "150401" | "150500" | "150501" | "150502" | "150600" | "150601" | "160000" | "160100" | "160101" | "160102" | "160200" | "160201" | "160202" | "170000" | "170100" | "170101" | "170102" | "170103" | "170104" | "170105" | "170106" | "170107" | "170108" | "170109" | "170110" | "170200" | "170201" | "170202" | "170203" | "170300" | "170301" | "180000" | "180100" | "180101" | "180102" | "180103" | "180200" | "180201" | "180202" | "180300" | "180301" | "180400" | "180401" | "180500" | "180501" | "180502" | "180600" | "180601" | "180602" | "180603" | "180604" | "180700" | "180701" | "180702" | "180703" | "180800" | "180801" | "180802" | "180803" | "180804" | "180900" | "180901" | "190000" | "190100" | "190101" | "190102" | "190200" | "190201" | "190202" | "190300" | "190301" | "200000" | "200100" | "200101" | "200102" | "200103" | "200104" | "200200" | "200201" | "200300" | "200301" | "210000" | "210100" | "210101" | "210102" | "210103" | "210200" | "210201" | "210300" | "210301" | "210302" | "210303" | "210400" | "210401" | "210402" | "210500" | "210501" | "210502" | "210503" | "210504" | "210600" | "210601" | "210602" | "210700" | "210701" | "210800" | "210801" | "220000" | "220100" | "220101" | "220102" | "220103" | "220104" | "220105" | "220106" | "220107" | "220108" | "220109" | "220110" | "220111" | "220200" | "220201" | "220202" | "220203" | "220300" | "220301" | "220302" | "220303" | "220400" | "220401" | "220402" | "220500" | "220501" | "220502" | "220503" | "220600" | "220601" | "220602" | "230000" | "230100" | "230101" | "230200" | "230201" | "230202" | "230203" | "230300" | "230301" | "230400" | "230401" | "230500" | "230501" | "230600" | "230601" | "240000" | "240100" | "240101" | "240102" | "240103" | "240104" | "240105" | "240106" | "240200" | "240201" | "240202" | "240300" | "240301" | "240400" | "240401" | "240402" | "240403" | "240404" | "250000" | "250100" | "250101" | "250102" | "250104" | "250105" | "250106" | "250107" | "250200" | "250201" | "250300" | "250301" | "250302" | "250303" | "250400" | "250401" | "250402" | "250500" | "250501" | "250502" | "250503" | "250504" | "250600" | "250601" | "250602" | "250700" | "250701" | "250702" | "250703" | "250800" | "250801" | "250802" | "250803" | "250900" | "250901" | "251000" | "251001" | "260000" | "260100" | "260101" | "260200" | "260201" | "260300" | "260301" | "270000" | "270100" | "270101" | "270102" | "270103" | "270104" | "270200" | "270201" | "270202" | "270203" | "270204" | "270205" | "270300" | "270301" | "270302" | "270303" | "270304" | "280000" | "280100" | "280101" | "280102" | "280103" | "280104" | "280105" | "280106" | "280200" | "280201" | "280300" | "280301" | "280302" | "280303" | "290000" | "290100" | "290101" | "290102" | "290103" | "290104" | "290200" | "290201" | "290300" | "290301" | "290302" | "290303" | "290400" | "290402" | "290403" | "290500" | "290501" | "300000" | "300100" | "300101" | "300102" | "300103" | "300104" | "300200" | "300201" | "300202" | "300300" | "300301" | "310000" | "310100" | "310101" | "310102" | "310103" | "310104" | "310105" | "310200" | "310201" | "310300" | "310301" | "320000" | "320100" | "320101" | "320102" | "320200" | "320201" | "320300" | "320301" | "320302" | "320400" | "320401" | "320402" | "320500" | "320501" | "320502" | "320600" | "320601" | "320602" | "320603" | "320700" | "320701" | "320702" | "320703";
|
|
3833
4185
|
sales_zone?: string | undefined;
|
|
3834
4186
|
seller_code?: string | undefined;
|
|
@@ -3836,6 +4188,7 @@ export type Type33Intent = {
|
|
|
3836
4188
|
website?: string | undefined;
|
|
3837
4189
|
};
|
|
3838
4190
|
lines: Array<FiscalLineWithLegalTip>;
|
|
4191
|
+
payment_account?: PaymentAccount | undefined;
|
|
3839
4192
|
payment_allocations?: Array<PaymentAllocation> | undefined;
|
|
3840
4193
|
payment_due_on?: string | undefined;
|
|
3841
4194
|
payment_type: "1" | "2" | "3";
|
|
@@ -3847,6 +4200,7 @@ export type Type33Intent = {
|
|
|
3847
4200
|
* Nota de Crédito Electrónica, code 34.
|
|
3848
4201
|
*/
|
|
3849
4202
|
export type Type34Intent = {
|
|
4203
|
+
additional_information?: AdditionalDocumentInformation | undefined;
|
|
3850
4204
|
/**
|
|
3851
4205
|
* Typed reference to the fiscal document affected by an adjustment note.
|
|
3852
4206
|
*/
|
|
@@ -3877,7 +4231,7 @@ export type Type34Intent = {
|
|
|
3877
4231
|
internal_order_number?: string | undefined;
|
|
3878
4232
|
legal_name: string;
|
|
3879
4233
|
municipality_code: "010000" | "010100" | "010101" | "020000" | "020100" | "020101" | "020102" | "020103" | "020104" | "020105" | "020106" | "020107" | "020108" | "020109" | "020200" | "020201" | "020202" | "020300" | "020301" | "020302" | "020303" | "020400" | "020401" | "020402" | "020403" | "020404" | "020405" | "020500" | "020501" | "020600" | "020601" | "020602" | "020603" | "020604" | "020700" | "020701" | "020702" | "020800" | "020801" | "020802" | "020803" | "020804" | "020900" | "020901" | "021000" | "021001" | "030000" | "030001" | "030101" | "030102" | "030200" | "030201" | "030202" | "030300" | "030301" | "030302" | "030303" | "030304" | "030305" | "030306" | "030307" | "030400" | "030401" | "030500" | "030501" | "030502" | "040000" | "040100" | "040101" | "040102" | "040103" | "040104" | "040200" | "040201" | "040300" | "040301" | "040302" | "040400" | "040401" | "040402" | "040500" | "040501" | "040502" | "040503" | "040504" | "040600" | "040601" | "040700" | "040701" | "040702" | "040800" | "040801" | "040802" | "040900" | "040901" | "041000" | "041001" | "041100" | "041101" | "041102" | "050000" | "050100" | "050101" | "050102" | "050200" | "050201" | "050202" | "050203" | "050300" | "050301" | "050400" | "050401" | "050500" | "050501" | "050502" | "060000" | "060100" | "060101" | "060102" | "060103" | "060104" | "060105" | "060200" | "060201" | "060202" | "060203" | "060300" | "060301" | "060400" | "060401" | "060500" | "060501" | "060502" | "060503" | "060504" | "060505" | "060600" | "060601" | "060700" | "060701" | "060702" | "070000" | "070100" | "070101" | "070102" | "070103" | "070200" | "070201" | "070202" | "070203" | "070300" | "070301" | "070302" | "070400" | "070401" | "070402" | "070500" | "070501" | "070502" | "070600" | "070601" | "080000" | "080100" | "080101" | "080102" | "080103" | "080104" | "080200" | "080201" | "080202" | "080203" | "090000" | "090100" | "090101" | "090102" | "090103" | "090104" | "090105" | "090106" | "090107" | "090108" | "090109" | "090200" | "090201" | "090300" | "090301" | "090302" | "090303" | "090304" | "090400" | "090401" | "100000" | "100100" | "100101" | "100102" | "100103" | "100200" | "100201" | "100202" | "100300" | "100301" | "100400" | "100401" | "100402" | "100500" | "100501" | "100502" | "100600" | "100601" | "100602" | "110000" | "110100" | "110101" | "110102" | "110103" | "110104" | "110200" | "110201" | "110202" | "110203" | "120000" | "120100" | "120101" | "120102" | "120200" | "120201" | "120300" | "120301" | "120302" | "130000" | "130100" | "130101" | "130102" | "130103" | "130104" | "130105" | "130200" | "130201" | "130202" | "130203" | "130300" | "130301" | "130302" | "130303" | "130400" | "130401" | "130402" | "140000" | "140100" | "140101" | "140102" | "140103" | "140104" | "140200" | "140201" | "140202" | "140203" | "140300" | "140301" | "140302" | "140400" | "140401" | "150000" | "150100" | "150101" | "150200" | "150201" | "150202" | "150300" | "150301" | "150302" | "150303" | "150304" | "150400" | "150401" | "150500" | "150501" | "150502" | "150600" | "150601" | "160000" | "160100" | "160101" | "160102" | "160200" | "160201" | "160202" | "170000" | "170100" | "170101" | "170102" | "170103" | "170104" | "170105" | "170106" | "170107" | "170108" | "170109" | "170110" | "170200" | "170201" | "170202" | "170203" | "170300" | "170301" | "180000" | "180100" | "180101" | "180102" | "180103" | "180200" | "180201" | "180202" | "180300" | "180301" | "180400" | "180401" | "180500" | "180501" | "180502" | "180600" | "180601" | "180602" | "180603" | "180604" | "180700" | "180701" | "180702" | "180703" | "180800" | "180801" | "180802" | "180803" | "180804" | "180900" | "180901" | "190000" | "190100" | "190101" | "190102" | "190200" | "190201" | "190202" | "190300" | "190301" | "200000" | "200100" | "200101" | "200102" | "200103" | "200104" | "200200" | "200201" | "200300" | "200301" | "210000" | "210100" | "210101" | "210102" | "210103" | "210200" | "210201" | "210300" | "210301" | "210302" | "210303" | "210400" | "210401" | "210402" | "210500" | "210501" | "210502" | "210503" | "210504" | "210600" | "210601" | "210602" | "210700" | "210701" | "210800" | "210801" | "220000" | "220100" | "220101" | "220102" | "220103" | "220104" | "220105" | "220106" | "220107" | "220108" | "220109" | "220110" | "220111" | "220200" | "220201" | "220202" | "220203" | "220300" | "220301" | "220302" | "220303" | "220400" | "220401" | "220402" | "220500" | "220501" | "220502" | "220503" | "220600" | "220601" | "220602" | "230000" | "230100" | "230101" | "230200" | "230201" | "230202" | "230203" | "230300" | "230301" | "230400" | "230401" | "230500" | "230501" | "230600" | "230601" | "240000" | "240100" | "240101" | "240102" | "240103" | "240104" | "240105" | "240106" | "240200" | "240201" | "240202" | "240300" | "240301" | "240400" | "240401" | "240402" | "240403" | "240404" | "250000" | "250100" | "250101" | "250102" | "250104" | "250105" | "250106" | "250107" | "250200" | "250201" | "250300" | "250301" | "250302" | "250303" | "250400" | "250401" | "250402" | "250500" | "250501" | "250502" | "250503" | "250504" | "250600" | "250601" | "250602" | "250700" | "250701" | "250702" | "250703" | "250800" | "250801" | "250802" | "250803" | "250900" | "250901" | "251000" | "251001" | "260000" | "260100" | "260101" | "260200" | "260201" | "260300" | "260301" | "270000" | "270100" | "270101" | "270102" | "270103" | "270104" | "270200" | "270201" | "270202" | "270203" | "270204" | "270205" | "270300" | "270301" | "270302" | "270303" | "270304" | "280000" | "280100" | "280101" | "280102" | "280103" | "280104" | "280105" | "280106" | "280200" | "280201" | "280300" | "280301" | "280302" | "280303" | "290000" | "290100" | "290101" | "290102" | "290103" | "290104" | "290200" | "290201" | "290300" | "290301" | "290302" | "290303" | "290400" | "290402" | "290403" | "290500" | "290501" | "300000" | "300100" | "300101" | "300102" | "300103" | "300104" | "300200" | "300201" | "300202" | "300300" | "300301" | "310000" | "310100" | "310101" | "310102" | "310103" | "310104" | "310105" | "310200" | "310201" | "310300" | "310301" | "320000" | "320100" | "320101" | "320102" | "320200" | "320201" | "320300" | "320301" | "320302" | "320400" | "320401" | "320402" | "320500" | "320501" | "320502" | "320600" | "320601" | "320602" | "320603" | "320700" | "320701" | "320702" | "320703";
|
|
3880
|
-
|
|
4234
|
+
phones: Array<string>;
|
|
3881
4235
|
province_code: "010000" | "010100" | "010101" | "020000" | "020100" | "020101" | "020102" | "020103" | "020104" | "020105" | "020106" | "020107" | "020108" | "020109" | "020200" | "020201" | "020202" | "020300" | "020301" | "020302" | "020303" | "020400" | "020401" | "020402" | "020403" | "020404" | "020405" | "020500" | "020501" | "020600" | "020601" | "020602" | "020603" | "020604" | "020700" | "020701" | "020702" | "020800" | "020801" | "020802" | "020803" | "020804" | "020900" | "020901" | "021000" | "021001" | "030000" | "030001" | "030101" | "030102" | "030200" | "030201" | "030202" | "030300" | "030301" | "030302" | "030303" | "030304" | "030305" | "030306" | "030307" | "030400" | "030401" | "030500" | "030501" | "030502" | "040000" | "040100" | "040101" | "040102" | "040103" | "040104" | "040200" | "040201" | "040300" | "040301" | "040302" | "040400" | "040401" | "040402" | "040500" | "040501" | "040502" | "040503" | "040504" | "040600" | "040601" | "040700" | "040701" | "040702" | "040800" | "040801" | "040802" | "040900" | "040901" | "041000" | "041001" | "041100" | "041101" | "041102" | "050000" | "050100" | "050101" | "050102" | "050200" | "050201" | "050202" | "050203" | "050300" | "050301" | "050400" | "050401" | "050500" | "050501" | "050502" | "060000" | "060100" | "060101" | "060102" | "060103" | "060104" | "060105" | "060200" | "060201" | "060202" | "060203" | "060300" | "060301" | "060400" | "060401" | "060500" | "060501" | "060502" | "060503" | "060504" | "060505" | "060600" | "060601" | "060700" | "060701" | "060702" | "070000" | "070100" | "070101" | "070102" | "070103" | "070200" | "070201" | "070202" | "070203" | "070300" | "070301" | "070302" | "070400" | "070401" | "070402" | "070500" | "070501" | "070502" | "070600" | "070601" | "080000" | "080100" | "080101" | "080102" | "080103" | "080104" | "080200" | "080201" | "080202" | "080203" | "090000" | "090100" | "090101" | "090102" | "090103" | "090104" | "090105" | "090106" | "090107" | "090108" | "090109" | "090200" | "090201" | "090300" | "090301" | "090302" | "090303" | "090304" | "090400" | "090401" | "100000" | "100100" | "100101" | "100102" | "100103" | "100200" | "100201" | "100202" | "100300" | "100301" | "100400" | "100401" | "100402" | "100500" | "100501" | "100502" | "100600" | "100601" | "100602" | "110000" | "110100" | "110101" | "110102" | "110103" | "110104" | "110200" | "110201" | "110202" | "110203" | "120000" | "120100" | "120101" | "120102" | "120200" | "120201" | "120300" | "120301" | "120302" | "130000" | "130100" | "130101" | "130102" | "130103" | "130104" | "130105" | "130200" | "130201" | "130202" | "130203" | "130300" | "130301" | "130302" | "130303" | "130400" | "130401" | "130402" | "140000" | "140100" | "140101" | "140102" | "140103" | "140104" | "140200" | "140201" | "140202" | "140203" | "140300" | "140301" | "140302" | "140400" | "140401" | "150000" | "150100" | "150101" | "150200" | "150201" | "150202" | "150300" | "150301" | "150302" | "150303" | "150304" | "150400" | "150401" | "150500" | "150501" | "150502" | "150600" | "150601" | "160000" | "160100" | "160101" | "160102" | "160200" | "160201" | "160202" | "170000" | "170100" | "170101" | "170102" | "170103" | "170104" | "170105" | "170106" | "170107" | "170108" | "170109" | "170110" | "170200" | "170201" | "170202" | "170203" | "170300" | "170301" | "180000" | "180100" | "180101" | "180102" | "180103" | "180200" | "180201" | "180202" | "180300" | "180301" | "180400" | "180401" | "180500" | "180501" | "180502" | "180600" | "180601" | "180602" | "180603" | "180604" | "180700" | "180701" | "180702" | "180703" | "180800" | "180801" | "180802" | "180803" | "180804" | "180900" | "180901" | "190000" | "190100" | "190101" | "190102" | "190200" | "190201" | "190202" | "190300" | "190301" | "200000" | "200100" | "200101" | "200102" | "200103" | "200104" | "200200" | "200201" | "200300" | "200301" | "210000" | "210100" | "210101" | "210102" | "210103" | "210200" | "210201" | "210300" | "210301" | "210302" | "210303" | "210400" | "210401" | "210402" | "210500" | "210501" | "210502" | "210503" | "210504" | "210600" | "210601" | "210602" | "210700" | "210701" | "210800" | "210801" | "220000" | "220100" | "220101" | "220102" | "220103" | "220104" | "220105" | "220106" | "220107" | "220108" | "220109" | "220110" | "220111" | "220200" | "220201" | "220202" | "220203" | "220300" | "220301" | "220302" | "220303" | "220400" | "220401" | "220402" | "220500" | "220501" | "220502" | "220503" | "220600" | "220601" | "220602" | "230000" | "230100" | "230101" | "230200" | "230201" | "230202" | "230203" | "230300" | "230301" | "230400" | "230401" | "230500" | "230501" | "230600" | "230601" | "240000" | "240100" | "240101" | "240102" | "240103" | "240104" | "240105" | "240106" | "240200" | "240201" | "240202" | "240300" | "240301" | "240400" | "240401" | "240402" | "240403" | "240404" | "250000" | "250100" | "250101" | "250102" | "250104" | "250105" | "250106" | "250107" | "250200" | "250201" | "250300" | "250301" | "250302" | "250303" | "250400" | "250401" | "250402" | "250500" | "250501" | "250502" | "250503" | "250504" | "250600" | "250601" | "250602" | "250700" | "250701" | "250702" | "250703" | "250800" | "250801" | "250802" | "250803" | "250900" | "250901" | "251000" | "251001" | "260000" | "260100" | "260101" | "260200" | "260201" | "260300" | "260301" | "270000" | "270100" | "270101" | "270102" | "270103" | "270104" | "270200" | "270201" | "270202" | "270203" | "270204" | "270205" | "270300" | "270301" | "270302" | "270303" | "270304" | "280000" | "280100" | "280101" | "280102" | "280103" | "280104" | "280105" | "280106" | "280200" | "280201" | "280300" | "280301" | "280302" | "280303" | "290000" | "290100" | "290101" | "290102" | "290103" | "290104" | "290200" | "290201" | "290300" | "290301" | "290302" | "290303" | "290400" | "290402" | "290403" | "290500" | "290501" | "300000" | "300100" | "300101" | "300102" | "300103" | "300104" | "300200" | "300201" | "300202" | "300300" | "300301" | "310000" | "310100" | "310101" | "310102" | "310103" | "310104" | "310105" | "310200" | "310201" | "310300" | "310301" | "320000" | "320100" | "320101" | "320102" | "320200" | "320201" | "320300" | "320301" | "320302" | "320400" | "320401" | "320402" | "320500" | "320501" | "320502" | "320600" | "320601" | "320602" | "320603" | "320700" | "320701" | "320702" | "320703";
|
|
3882
4236
|
sales_zone?: string | undefined;
|
|
3883
4237
|
seller_code?: string | undefined;
|
|
@@ -3895,6 +4249,7 @@ export type Type34Intent = {
|
|
|
3895
4249
|
* Comprobante Electrónico de Compras, code 41.
|
|
3896
4250
|
*/
|
|
3897
4251
|
export type Type41Intent = {
|
|
4252
|
+
additional_information?: AdditionalDocumentInformation | undefined;
|
|
3898
4253
|
currency: "DOP";
|
|
3899
4254
|
deferred_submission?: "1" | undefined;
|
|
3900
4255
|
discounts_or_surcharges?: Array<DiscountOrSurcharge> | undefined;
|
|
@@ -3913,12 +4268,13 @@ export type Type41Intent = {
|
|
|
3913
4268
|
internal_order_number?: string | undefined;
|
|
3914
4269
|
legal_name: string;
|
|
3915
4270
|
municipality_code: "010000" | "010100" | "010101" | "020000" | "020100" | "020101" | "020102" | "020103" | "020104" | "020105" | "020106" | "020107" | "020108" | "020109" | "020200" | "020201" | "020202" | "020300" | "020301" | "020302" | "020303" | "020400" | "020401" | "020402" | "020403" | "020404" | "020405" | "020500" | "020501" | "020600" | "020601" | "020602" | "020603" | "020604" | "020700" | "020701" | "020702" | "020800" | "020801" | "020802" | "020803" | "020804" | "020900" | "020901" | "021000" | "021001" | "030000" | "030001" | "030101" | "030102" | "030200" | "030201" | "030202" | "030300" | "030301" | "030302" | "030303" | "030304" | "030305" | "030306" | "030307" | "030400" | "030401" | "030500" | "030501" | "030502" | "040000" | "040100" | "040101" | "040102" | "040103" | "040104" | "040200" | "040201" | "040300" | "040301" | "040302" | "040400" | "040401" | "040402" | "040500" | "040501" | "040502" | "040503" | "040504" | "040600" | "040601" | "040700" | "040701" | "040702" | "040800" | "040801" | "040802" | "040900" | "040901" | "041000" | "041001" | "041100" | "041101" | "041102" | "050000" | "050100" | "050101" | "050102" | "050200" | "050201" | "050202" | "050203" | "050300" | "050301" | "050400" | "050401" | "050500" | "050501" | "050502" | "060000" | "060100" | "060101" | "060102" | "060103" | "060104" | "060105" | "060200" | "060201" | "060202" | "060203" | "060300" | "060301" | "060400" | "060401" | "060500" | "060501" | "060502" | "060503" | "060504" | "060505" | "060600" | "060601" | "060700" | "060701" | "060702" | "070000" | "070100" | "070101" | "070102" | "070103" | "070200" | "070201" | "070202" | "070203" | "070300" | "070301" | "070302" | "070400" | "070401" | "070402" | "070500" | "070501" | "070502" | "070600" | "070601" | "080000" | "080100" | "080101" | "080102" | "080103" | "080104" | "080200" | "080201" | "080202" | "080203" | "090000" | "090100" | "090101" | "090102" | "090103" | "090104" | "090105" | "090106" | "090107" | "090108" | "090109" | "090200" | "090201" | "090300" | "090301" | "090302" | "090303" | "090304" | "090400" | "090401" | "100000" | "100100" | "100101" | "100102" | "100103" | "100200" | "100201" | "100202" | "100300" | "100301" | "100400" | "100401" | "100402" | "100500" | "100501" | "100502" | "100600" | "100601" | "100602" | "110000" | "110100" | "110101" | "110102" | "110103" | "110104" | "110200" | "110201" | "110202" | "110203" | "120000" | "120100" | "120101" | "120102" | "120200" | "120201" | "120300" | "120301" | "120302" | "130000" | "130100" | "130101" | "130102" | "130103" | "130104" | "130105" | "130200" | "130201" | "130202" | "130203" | "130300" | "130301" | "130302" | "130303" | "130400" | "130401" | "130402" | "140000" | "140100" | "140101" | "140102" | "140103" | "140104" | "140200" | "140201" | "140202" | "140203" | "140300" | "140301" | "140302" | "140400" | "140401" | "150000" | "150100" | "150101" | "150200" | "150201" | "150202" | "150300" | "150301" | "150302" | "150303" | "150304" | "150400" | "150401" | "150500" | "150501" | "150502" | "150600" | "150601" | "160000" | "160100" | "160101" | "160102" | "160200" | "160201" | "160202" | "170000" | "170100" | "170101" | "170102" | "170103" | "170104" | "170105" | "170106" | "170107" | "170108" | "170109" | "170110" | "170200" | "170201" | "170202" | "170203" | "170300" | "170301" | "180000" | "180100" | "180101" | "180102" | "180103" | "180200" | "180201" | "180202" | "180300" | "180301" | "180400" | "180401" | "180500" | "180501" | "180502" | "180600" | "180601" | "180602" | "180603" | "180604" | "180700" | "180701" | "180702" | "180703" | "180800" | "180801" | "180802" | "180803" | "180804" | "180900" | "180901" | "190000" | "190100" | "190101" | "190102" | "190200" | "190201" | "190202" | "190300" | "190301" | "200000" | "200100" | "200101" | "200102" | "200103" | "200104" | "200200" | "200201" | "200300" | "200301" | "210000" | "210100" | "210101" | "210102" | "210103" | "210200" | "210201" | "210300" | "210301" | "210302" | "210303" | "210400" | "210401" | "210402" | "210500" | "210501" | "210502" | "210503" | "210504" | "210600" | "210601" | "210602" | "210700" | "210701" | "210800" | "210801" | "220000" | "220100" | "220101" | "220102" | "220103" | "220104" | "220105" | "220106" | "220107" | "220108" | "220109" | "220110" | "220111" | "220200" | "220201" | "220202" | "220203" | "220300" | "220301" | "220302" | "220303" | "220400" | "220401" | "220402" | "220500" | "220501" | "220502" | "220503" | "220600" | "220601" | "220602" | "230000" | "230100" | "230101" | "230200" | "230201" | "230202" | "230203" | "230300" | "230301" | "230400" | "230401" | "230500" | "230501" | "230600" | "230601" | "240000" | "240100" | "240101" | "240102" | "240103" | "240104" | "240105" | "240106" | "240200" | "240201" | "240202" | "240300" | "240301" | "240400" | "240401" | "240402" | "240403" | "240404" | "250000" | "250100" | "250101" | "250102" | "250104" | "250105" | "250106" | "250107" | "250200" | "250201" | "250300" | "250301" | "250302" | "250303" | "250400" | "250401" | "250402" | "250500" | "250501" | "250502" | "250503" | "250504" | "250600" | "250601" | "250602" | "250700" | "250701" | "250702" | "250703" | "250800" | "250801" | "250802" | "250803" | "250900" | "250901" | "251000" | "251001" | "260000" | "260100" | "260101" | "260200" | "260201" | "260300" | "260301" | "270000" | "270100" | "270101" | "270102" | "270103" | "270104" | "270200" | "270201" | "270202" | "270203" | "270204" | "270205" | "270300" | "270301" | "270302" | "270303" | "270304" | "280000" | "280100" | "280101" | "280102" | "280103" | "280104" | "280105" | "280106" | "280200" | "280201" | "280300" | "280301" | "280302" | "280303" | "290000" | "290100" | "290101" | "290102" | "290103" | "290104" | "290200" | "290201" | "290300" | "290301" | "290302" | "290303" | "290400" | "290402" | "290403" | "290500" | "290501" | "300000" | "300100" | "300101" | "300102" | "300103" | "300104" | "300200" | "300201" | "300202" | "300300" | "300301" | "310000" | "310100" | "310101" | "310102" | "310103" | "310104" | "310105" | "310200" | "310201" | "310300" | "310301" | "320000" | "320100" | "320101" | "320102" | "320200" | "320201" | "320300" | "320301" | "320302" | "320400" | "320401" | "320402" | "320500" | "320501" | "320502" | "320600" | "320601" | "320602" | "320603" | "320700" | "320701" | "320702" | "320703";
|
|
3916
|
-
|
|
4271
|
+
phones: Array<string>;
|
|
3917
4272
|
province_code: "010000" | "010100" | "010101" | "020000" | "020100" | "020101" | "020102" | "020103" | "020104" | "020105" | "020106" | "020107" | "020108" | "020109" | "020200" | "020201" | "020202" | "020300" | "020301" | "020302" | "020303" | "020400" | "020401" | "020402" | "020403" | "020404" | "020405" | "020500" | "020501" | "020600" | "020601" | "020602" | "020603" | "020604" | "020700" | "020701" | "020702" | "020800" | "020801" | "020802" | "020803" | "020804" | "020900" | "020901" | "021000" | "021001" | "030000" | "030001" | "030101" | "030102" | "030200" | "030201" | "030202" | "030300" | "030301" | "030302" | "030303" | "030304" | "030305" | "030306" | "030307" | "030400" | "030401" | "030500" | "030501" | "030502" | "040000" | "040100" | "040101" | "040102" | "040103" | "040104" | "040200" | "040201" | "040300" | "040301" | "040302" | "040400" | "040401" | "040402" | "040500" | "040501" | "040502" | "040503" | "040504" | "040600" | "040601" | "040700" | "040701" | "040702" | "040800" | "040801" | "040802" | "040900" | "040901" | "041000" | "041001" | "041100" | "041101" | "041102" | "050000" | "050100" | "050101" | "050102" | "050200" | "050201" | "050202" | "050203" | "050300" | "050301" | "050400" | "050401" | "050500" | "050501" | "050502" | "060000" | "060100" | "060101" | "060102" | "060103" | "060104" | "060105" | "060200" | "060201" | "060202" | "060203" | "060300" | "060301" | "060400" | "060401" | "060500" | "060501" | "060502" | "060503" | "060504" | "060505" | "060600" | "060601" | "060700" | "060701" | "060702" | "070000" | "070100" | "070101" | "070102" | "070103" | "070200" | "070201" | "070202" | "070203" | "070300" | "070301" | "070302" | "070400" | "070401" | "070402" | "070500" | "070501" | "070502" | "070600" | "070601" | "080000" | "080100" | "080101" | "080102" | "080103" | "080104" | "080200" | "080201" | "080202" | "080203" | "090000" | "090100" | "090101" | "090102" | "090103" | "090104" | "090105" | "090106" | "090107" | "090108" | "090109" | "090200" | "090201" | "090300" | "090301" | "090302" | "090303" | "090304" | "090400" | "090401" | "100000" | "100100" | "100101" | "100102" | "100103" | "100200" | "100201" | "100202" | "100300" | "100301" | "100400" | "100401" | "100402" | "100500" | "100501" | "100502" | "100600" | "100601" | "100602" | "110000" | "110100" | "110101" | "110102" | "110103" | "110104" | "110200" | "110201" | "110202" | "110203" | "120000" | "120100" | "120101" | "120102" | "120200" | "120201" | "120300" | "120301" | "120302" | "130000" | "130100" | "130101" | "130102" | "130103" | "130104" | "130105" | "130200" | "130201" | "130202" | "130203" | "130300" | "130301" | "130302" | "130303" | "130400" | "130401" | "130402" | "140000" | "140100" | "140101" | "140102" | "140103" | "140104" | "140200" | "140201" | "140202" | "140203" | "140300" | "140301" | "140302" | "140400" | "140401" | "150000" | "150100" | "150101" | "150200" | "150201" | "150202" | "150300" | "150301" | "150302" | "150303" | "150304" | "150400" | "150401" | "150500" | "150501" | "150502" | "150600" | "150601" | "160000" | "160100" | "160101" | "160102" | "160200" | "160201" | "160202" | "170000" | "170100" | "170101" | "170102" | "170103" | "170104" | "170105" | "170106" | "170107" | "170108" | "170109" | "170110" | "170200" | "170201" | "170202" | "170203" | "170300" | "170301" | "180000" | "180100" | "180101" | "180102" | "180103" | "180200" | "180201" | "180202" | "180300" | "180301" | "180400" | "180401" | "180500" | "180501" | "180502" | "180600" | "180601" | "180602" | "180603" | "180604" | "180700" | "180701" | "180702" | "180703" | "180800" | "180801" | "180802" | "180803" | "180804" | "180900" | "180901" | "190000" | "190100" | "190101" | "190102" | "190200" | "190201" | "190202" | "190300" | "190301" | "200000" | "200100" | "200101" | "200102" | "200103" | "200104" | "200200" | "200201" | "200300" | "200301" | "210000" | "210100" | "210101" | "210102" | "210103" | "210200" | "210201" | "210300" | "210301" | "210302" | "210303" | "210400" | "210401" | "210402" | "210500" | "210501" | "210502" | "210503" | "210504" | "210600" | "210601" | "210602" | "210700" | "210701" | "210800" | "210801" | "220000" | "220100" | "220101" | "220102" | "220103" | "220104" | "220105" | "220106" | "220107" | "220108" | "220109" | "220110" | "220111" | "220200" | "220201" | "220202" | "220203" | "220300" | "220301" | "220302" | "220303" | "220400" | "220401" | "220402" | "220500" | "220501" | "220502" | "220503" | "220600" | "220601" | "220602" | "230000" | "230100" | "230101" | "230200" | "230201" | "230202" | "230203" | "230300" | "230301" | "230400" | "230401" | "230500" | "230501" | "230600" | "230601" | "240000" | "240100" | "240101" | "240102" | "240103" | "240104" | "240105" | "240106" | "240200" | "240201" | "240202" | "240300" | "240301" | "240400" | "240401" | "240402" | "240403" | "240404" | "250000" | "250100" | "250101" | "250102" | "250104" | "250105" | "250106" | "250107" | "250200" | "250201" | "250300" | "250301" | "250302" | "250303" | "250400" | "250401" | "250402" | "250500" | "250501" | "250502" | "250503" | "250504" | "250600" | "250601" | "250602" | "250700" | "250701" | "250702" | "250703" | "250800" | "250801" | "250802" | "250803" | "250900" | "250901" | "251000" | "251001" | "260000" | "260100" | "260101" | "260200" | "260201" | "260300" | "260301" | "270000" | "270100" | "270101" | "270102" | "270103" | "270104" | "270200" | "270201" | "270202" | "270203" | "270204" | "270205" | "270300" | "270301" | "270302" | "270303" | "270304" | "280000" | "280100" | "280101" | "280102" | "280103" | "280104" | "280105" | "280106" | "280200" | "280201" | "280300" | "280301" | "280302" | "280303" | "290000" | "290100" | "290101" | "290102" | "290103" | "290104" | "290200" | "290201" | "290300" | "290301" | "290302" | "290303" | "290400" | "290402" | "290403" | "290500" | "290501" | "300000" | "300100" | "300101" | "300102" | "300103" | "300104" | "300200" | "300201" | "300202" | "300300" | "300301" | "310000" | "310100" | "310101" | "310102" | "310103" | "310104" | "310105" | "310200" | "310201" | "310300" | "310301" | "320000" | "320100" | "320101" | "320102" | "320200" | "320201" | "320300" | "320301" | "320302" | "320400" | "320401" | "320402" | "320500" | "320501" | "320502" | "320600" | "320601" | "320602" | "320603" | "320700" | "320701" | "320702" | "320703";
|
|
3918
4273
|
tax_id: string;
|
|
3919
4274
|
website?: string | undefined;
|
|
3920
4275
|
};
|
|
3921
4276
|
lines: Array<Type41Line>;
|
|
4277
|
+
payment_account?: PaymentAccount | undefined;
|
|
3922
4278
|
payment_allocations?: Array<PaymentAllocation> | undefined;
|
|
3923
4279
|
payment_due_on?: string | undefined;
|
|
3924
4280
|
payment_type: "1" | "2" | "3";
|
|
@@ -3932,6 +4288,13 @@ export type Type41Intent = {
|
|
|
3932
4288
|
* One Type 41 line with the mandatory official withholding section.
|
|
3933
4289
|
*/
|
|
3934
4290
|
export type Type41Line = {
|
|
4291
|
+
/**
|
|
4292
|
+
* Line-level discounts and surcharges, kept separate from document-level adjustments.
|
|
4293
|
+
*/
|
|
4294
|
+
adjustments?: {
|
|
4295
|
+
discounts?: Array<LinePriceAdjustment> | undefined;
|
|
4296
|
+
surcharges?: Array<LinePriceAdjustment> | undefined;
|
|
4297
|
+
} | undefined;
|
|
3935
4298
|
billing_indicator: "1" | "2" | "3" | "4";
|
|
3936
4299
|
goods_or_service_indicator: "1" | "2";
|
|
3937
4300
|
item_codes?: Array<FiscalItemCode> | undefined;
|
|
@@ -3969,7 +4332,7 @@ export type Type43Intent = {
|
|
|
3969
4332
|
internal_order_number?: string | undefined;
|
|
3970
4333
|
legal_name: string;
|
|
3971
4334
|
municipality_code: "010000" | "010100" | "010101" | "020000" | "020100" | "020101" | "020102" | "020103" | "020104" | "020105" | "020106" | "020107" | "020108" | "020109" | "020200" | "020201" | "020202" | "020300" | "020301" | "020302" | "020303" | "020400" | "020401" | "020402" | "020403" | "020404" | "020405" | "020500" | "020501" | "020600" | "020601" | "020602" | "020603" | "020604" | "020700" | "020701" | "020702" | "020800" | "020801" | "020802" | "020803" | "020804" | "020900" | "020901" | "021000" | "021001" | "030000" | "030001" | "030101" | "030102" | "030200" | "030201" | "030202" | "030300" | "030301" | "030302" | "030303" | "030304" | "030305" | "030306" | "030307" | "030400" | "030401" | "030500" | "030501" | "030502" | "040000" | "040100" | "040101" | "040102" | "040103" | "040104" | "040200" | "040201" | "040300" | "040301" | "040302" | "040400" | "040401" | "040402" | "040500" | "040501" | "040502" | "040503" | "040504" | "040600" | "040601" | "040700" | "040701" | "040702" | "040800" | "040801" | "040802" | "040900" | "040901" | "041000" | "041001" | "041100" | "041101" | "041102" | "050000" | "050100" | "050101" | "050102" | "050200" | "050201" | "050202" | "050203" | "050300" | "050301" | "050400" | "050401" | "050500" | "050501" | "050502" | "060000" | "060100" | "060101" | "060102" | "060103" | "060104" | "060105" | "060200" | "060201" | "060202" | "060203" | "060300" | "060301" | "060400" | "060401" | "060500" | "060501" | "060502" | "060503" | "060504" | "060505" | "060600" | "060601" | "060700" | "060701" | "060702" | "070000" | "070100" | "070101" | "070102" | "070103" | "070200" | "070201" | "070202" | "070203" | "070300" | "070301" | "070302" | "070400" | "070401" | "070402" | "070500" | "070501" | "070502" | "070600" | "070601" | "080000" | "080100" | "080101" | "080102" | "080103" | "080104" | "080200" | "080201" | "080202" | "080203" | "090000" | "090100" | "090101" | "090102" | "090103" | "090104" | "090105" | "090106" | "090107" | "090108" | "090109" | "090200" | "090201" | "090300" | "090301" | "090302" | "090303" | "090304" | "090400" | "090401" | "100000" | "100100" | "100101" | "100102" | "100103" | "100200" | "100201" | "100202" | "100300" | "100301" | "100400" | "100401" | "100402" | "100500" | "100501" | "100502" | "100600" | "100601" | "100602" | "110000" | "110100" | "110101" | "110102" | "110103" | "110104" | "110200" | "110201" | "110202" | "110203" | "120000" | "120100" | "120101" | "120102" | "120200" | "120201" | "120300" | "120301" | "120302" | "130000" | "130100" | "130101" | "130102" | "130103" | "130104" | "130105" | "130200" | "130201" | "130202" | "130203" | "130300" | "130301" | "130302" | "130303" | "130400" | "130401" | "130402" | "140000" | "140100" | "140101" | "140102" | "140103" | "140104" | "140200" | "140201" | "140202" | "140203" | "140300" | "140301" | "140302" | "140400" | "140401" | "150000" | "150100" | "150101" | "150200" | "150201" | "150202" | "150300" | "150301" | "150302" | "150303" | "150304" | "150400" | "150401" | "150500" | "150501" | "150502" | "150600" | "150601" | "160000" | "160100" | "160101" | "160102" | "160200" | "160201" | "160202" | "170000" | "170100" | "170101" | "170102" | "170103" | "170104" | "170105" | "170106" | "170107" | "170108" | "170109" | "170110" | "170200" | "170201" | "170202" | "170203" | "170300" | "170301" | "180000" | "180100" | "180101" | "180102" | "180103" | "180200" | "180201" | "180202" | "180300" | "180301" | "180400" | "180401" | "180500" | "180501" | "180502" | "180600" | "180601" | "180602" | "180603" | "180604" | "180700" | "180701" | "180702" | "180703" | "180800" | "180801" | "180802" | "180803" | "180804" | "180900" | "180901" | "190000" | "190100" | "190101" | "190102" | "190200" | "190201" | "190202" | "190300" | "190301" | "200000" | "200100" | "200101" | "200102" | "200103" | "200104" | "200200" | "200201" | "200300" | "200301" | "210000" | "210100" | "210101" | "210102" | "210103" | "210200" | "210201" | "210300" | "210301" | "210302" | "210303" | "210400" | "210401" | "210402" | "210500" | "210501" | "210502" | "210503" | "210504" | "210600" | "210601" | "210602" | "210700" | "210701" | "210800" | "210801" | "220000" | "220100" | "220101" | "220102" | "220103" | "220104" | "220105" | "220106" | "220107" | "220108" | "220109" | "220110" | "220111" | "220200" | "220201" | "220202" | "220203" | "220300" | "220301" | "220302" | "220303" | "220400" | "220401" | "220402" | "220500" | "220501" | "220502" | "220503" | "220600" | "220601" | "220602" | "230000" | "230100" | "230101" | "230200" | "230201" | "230202" | "230203" | "230300" | "230301" | "230400" | "230401" | "230500" | "230501" | "230600" | "230601" | "240000" | "240100" | "240101" | "240102" | "240103" | "240104" | "240105" | "240106" | "240200" | "240201" | "240202" | "240300" | "240301" | "240400" | "240401" | "240402" | "240403" | "240404" | "250000" | "250100" | "250101" | "250102" | "250104" | "250105" | "250106" | "250107" | "250200" | "250201" | "250300" | "250301" | "250302" | "250303" | "250400" | "250401" | "250402" | "250500" | "250501" | "250502" | "250503" | "250504" | "250600" | "250601" | "250602" | "250700" | "250701" | "250702" | "250703" | "250800" | "250801" | "250802" | "250803" | "250900" | "250901" | "251000" | "251001" | "260000" | "260100" | "260101" | "260200" | "260201" | "260300" | "260301" | "270000" | "270100" | "270101" | "270102" | "270103" | "270104" | "270200" | "270201" | "270202" | "270203" | "270204" | "270205" | "270300" | "270301" | "270302" | "270303" | "270304" | "280000" | "280100" | "280101" | "280102" | "280103" | "280104" | "280105" | "280106" | "280200" | "280201" | "280300" | "280301" | "280302" | "280303" | "290000" | "290100" | "290101" | "290102" | "290103" | "290104" | "290200" | "290201" | "290300" | "290301" | "290302" | "290303" | "290400" | "290402" | "290403" | "290500" | "290501" | "300000" | "300100" | "300101" | "300102" | "300103" | "300104" | "300200" | "300201" | "300202" | "300300" | "300301" | "310000" | "310100" | "310101" | "310102" | "310103" | "310104" | "310105" | "310200" | "310201" | "310300" | "310301" | "320000" | "320100" | "320101" | "320102" | "320200" | "320201" | "320300" | "320301" | "320302" | "320400" | "320401" | "320402" | "320500" | "320501" | "320502" | "320600" | "320601" | "320602" | "320603" | "320700" | "320701" | "320702" | "320703";
|
|
3972
|
-
|
|
4335
|
+
phones: Array<string>;
|
|
3973
4336
|
province_code: "010000" | "010100" | "010101" | "020000" | "020100" | "020101" | "020102" | "020103" | "020104" | "020105" | "020106" | "020107" | "020108" | "020109" | "020200" | "020201" | "020202" | "020300" | "020301" | "020302" | "020303" | "020400" | "020401" | "020402" | "020403" | "020404" | "020405" | "020500" | "020501" | "020600" | "020601" | "020602" | "020603" | "020604" | "020700" | "020701" | "020702" | "020800" | "020801" | "020802" | "020803" | "020804" | "020900" | "020901" | "021000" | "021001" | "030000" | "030001" | "030101" | "030102" | "030200" | "030201" | "030202" | "030300" | "030301" | "030302" | "030303" | "030304" | "030305" | "030306" | "030307" | "030400" | "030401" | "030500" | "030501" | "030502" | "040000" | "040100" | "040101" | "040102" | "040103" | "040104" | "040200" | "040201" | "040300" | "040301" | "040302" | "040400" | "040401" | "040402" | "040500" | "040501" | "040502" | "040503" | "040504" | "040600" | "040601" | "040700" | "040701" | "040702" | "040800" | "040801" | "040802" | "040900" | "040901" | "041000" | "041001" | "041100" | "041101" | "041102" | "050000" | "050100" | "050101" | "050102" | "050200" | "050201" | "050202" | "050203" | "050300" | "050301" | "050400" | "050401" | "050500" | "050501" | "050502" | "060000" | "060100" | "060101" | "060102" | "060103" | "060104" | "060105" | "060200" | "060201" | "060202" | "060203" | "060300" | "060301" | "060400" | "060401" | "060500" | "060501" | "060502" | "060503" | "060504" | "060505" | "060600" | "060601" | "060700" | "060701" | "060702" | "070000" | "070100" | "070101" | "070102" | "070103" | "070200" | "070201" | "070202" | "070203" | "070300" | "070301" | "070302" | "070400" | "070401" | "070402" | "070500" | "070501" | "070502" | "070600" | "070601" | "080000" | "080100" | "080101" | "080102" | "080103" | "080104" | "080200" | "080201" | "080202" | "080203" | "090000" | "090100" | "090101" | "090102" | "090103" | "090104" | "090105" | "090106" | "090107" | "090108" | "090109" | "090200" | "090201" | "090300" | "090301" | "090302" | "090303" | "090304" | "090400" | "090401" | "100000" | "100100" | "100101" | "100102" | "100103" | "100200" | "100201" | "100202" | "100300" | "100301" | "100400" | "100401" | "100402" | "100500" | "100501" | "100502" | "100600" | "100601" | "100602" | "110000" | "110100" | "110101" | "110102" | "110103" | "110104" | "110200" | "110201" | "110202" | "110203" | "120000" | "120100" | "120101" | "120102" | "120200" | "120201" | "120300" | "120301" | "120302" | "130000" | "130100" | "130101" | "130102" | "130103" | "130104" | "130105" | "130200" | "130201" | "130202" | "130203" | "130300" | "130301" | "130302" | "130303" | "130400" | "130401" | "130402" | "140000" | "140100" | "140101" | "140102" | "140103" | "140104" | "140200" | "140201" | "140202" | "140203" | "140300" | "140301" | "140302" | "140400" | "140401" | "150000" | "150100" | "150101" | "150200" | "150201" | "150202" | "150300" | "150301" | "150302" | "150303" | "150304" | "150400" | "150401" | "150500" | "150501" | "150502" | "150600" | "150601" | "160000" | "160100" | "160101" | "160102" | "160200" | "160201" | "160202" | "170000" | "170100" | "170101" | "170102" | "170103" | "170104" | "170105" | "170106" | "170107" | "170108" | "170109" | "170110" | "170200" | "170201" | "170202" | "170203" | "170300" | "170301" | "180000" | "180100" | "180101" | "180102" | "180103" | "180200" | "180201" | "180202" | "180300" | "180301" | "180400" | "180401" | "180500" | "180501" | "180502" | "180600" | "180601" | "180602" | "180603" | "180604" | "180700" | "180701" | "180702" | "180703" | "180800" | "180801" | "180802" | "180803" | "180804" | "180900" | "180901" | "190000" | "190100" | "190101" | "190102" | "190200" | "190201" | "190202" | "190300" | "190301" | "200000" | "200100" | "200101" | "200102" | "200103" | "200104" | "200200" | "200201" | "200300" | "200301" | "210000" | "210100" | "210101" | "210102" | "210103" | "210200" | "210201" | "210300" | "210301" | "210302" | "210303" | "210400" | "210401" | "210402" | "210500" | "210501" | "210502" | "210503" | "210504" | "210600" | "210601" | "210602" | "210700" | "210701" | "210800" | "210801" | "220000" | "220100" | "220101" | "220102" | "220103" | "220104" | "220105" | "220106" | "220107" | "220108" | "220109" | "220110" | "220111" | "220200" | "220201" | "220202" | "220203" | "220300" | "220301" | "220302" | "220303" | "220400" | "220401" | "220402" | "220500" | "220501" | "220502" | "220503" | "220600" | "220601" | "220602" | "230000" | "230100" | "230101" | "230200" | "230201" | "230202" | "230203" | "230300" | "230301" | "230400" | "230401" | "230500" | "230501" | "230600" | "230601" | "240000" | "240100" | "240101" | "240102" | "240103" | "240104" | "240105" | "240106" | "240200" | "240201" | "240202" | "240300" | "240301" | "240400" | "240401" | "240402" | "240403" | "240404" | "250000" | "250100" | "250101" | "250102" | "250104" | "250105" | "250106" | "250107" | "250200" | "250201" | "250300" | "250301" | "250302" | "250303" | "250400" | "250401" | "250402" | "250500" | "250501" | "250502" | "250503" | "250504" | "250600" | "250601" | "250602" | "250700" | "250701" | "250702" | "250703" | "250800" | "250801" | "250802" | "250803" | "250900" | "250901" | "251000" | "251001" | "260000" | "260100" | "260101" | "260200" | "260201" | "260300" | "260301" | "270000" | "270100" | "270101" | "270102" | "270103" | "270104" | "270200" | "270201" | "270202" | "270203" | "270204" | "270205" | "270300" | "270301" | "270302" | "270303" | "270304" | "280000" | "280100" | "280101" | "280102" | "280103" | "280104" | "280105" | "280106" | "280200" | "280201" | "280300" | "280301" | "280302" | "280303" | "290000" | "290100" | "290101" | "290102" | "290103" | "290104" | "290200" | "290201" | "290300" | "290301" | "290302" | "290303" | "290400" | "290402" | "290403" | "290500" | "290501" | "300000" | "300100" | "300101" | "300102" | "300103" | "300104" | "300200" | "300201" | "300202" | "300300" | "300301" | "310000" | "310100" | "310101" | "310102" | "310103" | "310104" | "310105" | "310200" | "310201" | "310300" | "310301" | "320000" | "320100" | "320101" | "320102" | "320200" | "320201" | "320300" | "320301" | "320302" | "320400" | "320401" | "320402" | "320500" | "320501" | "320502" | "320600" | "320601" | "320602" | "320603" | "320700" | "320701" | "320702" | "320703";
|
|
3974
4337
|
tax_id: string;
|
|
3975
4338
|
website?: string | undefined;
|
|
@@ -3984,14 +4347,17 @@ export type Type43Intent = {
|
|
|
3984
4347
|
* Comprobante Electrónico para Regímenes Especiales, code 44.
|
|
3985
4348
|
*/
|
|
3986
4349
|
export type Type44Intent = {
|
|
4350
|
+
additional_information?: AdditionalDocumentInformation | undefined;
|
|
3987
4351
|
/**
|
|
3988
4352
|
* Buyer identity alternatives admitted by the official Type 44 buyer area.
|
|
3989
4353
|
*/
|
|
3990
4354
|
buyer: {
|
|
4355
|
+
delivery_phone?: string | undefined;
|
|
3991
4356
|
identity_kind: "domestic";
|
|
3992
4357
|
legal_name: string;
|
|
3993
4358
|
tax_id: string;
|
|
3994
4359
|
} | {
|
|
4360
|
+
delivery_phone?: string | undefined;
|
|
3995
4361
|
foreign_identifier: string;
|
|
3996
4362
|
identity_kind: "foreign_diplomat";
|
|
3997
4363
|
legal_name: string;
|
|
@@ -4015,7 +4381,7 @@ export type Type44Intent = {
|
|
|
4015
4381
|
internal_order_number?: string | undefined;
|
|
4016
4382
|
legal_name: string;
|
|
4017
4383
|
municipality_code: "010000" | "010100" | "010101" | "020000" | "020100" | "020101" | "020102" | "020103" | "020104" | "020105" | "020106" | "020107" | "020108" | "020109" | "020200" | "020201" | "020202" | "020300" | "020301" | "020302" | "020303" | "020400" | "020401" | "020402" | "020403" | "020404" | "020405" | "020500" | "020501" | "020600" | "020601" | "020602" | "020603" | "020604" | "020700" | "020701" | "020702" | "020800" | "020801" | "020802" | "020803" | "020804" | "020900" | "020901" | "021000" | "021001" | "030000" | "030001" | "030101" | "030102" | "030200" | "030201" | "030202" | "030300" | "030301" | "030302" | "030303" | "030304" | "030305" | "030306" | "030307" | "030400" | "030401" | "030500" | "030501" | "030502" | "040000" | "040100" | "040101" | "040102" | "040103" | "040104" | "040200" | "040201" | "040300" | "040301" | "040302" | "040400" | "040401" | "040402" | "040500" | "040501" | "040502" | "040503" | "040504" | "040600" | "040601" | "040700" | "040701" | "040702" | "040800" | "040801" | "040802" | "040900" | "040901" | "041000" | "041001" | "041100" | "041101" | "041102" | "050000" | "050100" | "050101" | "050102" | "050200" | "050201" | "050202" | "050203" | "050300" | "050301" | "050400" | "050401" | "050500" | "050501" | "050502" | "060000" | "060100" | "060101" | "060102" | "060103" | "060104" | "060105" | "060200" | "060201" | "060202" | "060203" | "060300" | "060301" | "060400" | "060401" | "060500" | "060501" | "060502" | "060503" | "060504" | "060505" | "060600" | "060601" | "060700" | "060701" | "060702" | "070000" | "070100" | "070101" | "070102" | "070103" | "070200" | "070201" | "070202" | "070203" | "070300" | "070301" | "070302" | "070400" | "070401" | "070402" | "070500" | "070501" | "070502" | "070600" | "070601" | "080000" | "080100" | "080101" | "080102" | "080103" | "080104" | "080200" | "080201" | "080202" | "080203" | "090000" | "090100" | "090101" | "090102" | "090103" | "090104" | "090105" | "090106" | "090107" | "090108" | "090109" | "090200" | "090201" | "090300" | "090301" | "090302" | "090303" | "090304" | "090400" | "090401" | "100000" | "100100" | "100101" | "100102" | "100103" | "100200" | "100201" | "100202" | "100300" | "100301" | "100400" | "100401" | "100402" | "100500" | "100501" | "100502" | "100600" | "100601" | "100602" | "110000" | "110100" | "110101" | "110102" | "110103" | "110104" | "110200" | "110201" | "110202" | "110203" | "120000" | "120100" | "120101" | "120102" | "120200" | "120201" | "120300" | "120301" | "120302" | "130000" | "130100" | "130101" | "130102" | "130103" | "130104" | "130105" | "130200" | "130201" | "130202" | "130203" | "130300" | "130301" | "130302" | "130303" | "130400" | "130401" | "130402" | "140000" | "140100" | "140101" | "140102" | "140103" | "140104" | "140200" | "140201" | "140202" | "140203" | "140300" | "140301" | "140302" | "140400" | "140401" | "150000" | "150100" | "150101" | "150200" | "150201" | "150202" | "150300" | "150301" | "150302" | "150303" | "150304" | "150400" | "150401" | "150500" | "150501" | "150502" | "150600" | "150601" | "160000" | "160100" | "160101" | "160102" | "160200" | "160201" | "160202" | "170000" | "170100" | "170101" | "170102" | "170103" | "170104" | "170105" | "170106" | "170107" | "170108" | "170109" | "170110" | "170200" | "170201" | "170202" | "170203" | "170300" | "170301" | "180000" | "180100" | "180101" | "180102" | "180103" | "180200" | "180201" | "180202" | "180300" | "180301" | "180400" | "180401" | "180500" | "180501" | "180502" | "180600" | "180601" | "180602" | "180603" | "180604" | "180700" | "180701" | "180702" | "180703" | "180800" | "180801" | "180802" | "180803" | "180804" | "180900" | "180901" | "190000" | "190100" | "190101" | "190102" | "190200" | "190201" | "190202" | "190300" | "190301" | "200000" | "200100" | "200101" | "200102" | "200103" | "200104" | "200200" | "200201" | "200300" | "200301" | "210000" | "210100" | "210101" | "210102" | "210103" | "210200" | "210201" | "210300" | "210301" | "210302" | "210303" | "210400" | "210401" | "210402" | "210500" | "210501" | "210502" | "210503" | "210504" | "210600" | "210601" | "210602" | "210700" | "210701" | "210800" | "210801" | "220000" | "220100" | "220101" | "220102" | "220103" | "220104" | "220105" | "220106" | "220107" | "220108" | "220109" | "220110" | "220111" | "220200" | "220201" | "220202" | "220203" | "220300" | "220301" | "220302" | "220303" | "220400" | "220401" | "220402" | "220500" | "220501" | "220502" | "220503" | "220600" | "220601" | "220602" | "230000" | "230100" | "230101" | "230200" | "230201" | "230202" | "230203" | "230300" | "230301" | "230400" | "230401" | "230500" | "230501" | "230600" | "230601" | "240000" | "240100" | "240101" | "240102" | "240103" | "240104" | "240105" | "240106" | "240200" | "240201" | "240202" | "240300" | "240301" | "240400" | "240401" | "240402" | "240403" | "240404" | "250000" | "250100" | "250101" | "250102" | "250104" | "250105" | "250106" | "250107" | "250200" | "250201" | "250300" | "250301" | "250302" | "250303" | "250400" | "250401" | "250402" | "250500" | "250501" | "250502" | "250503" | "250504" | "250600" | "250601" | "250602" | "250700" | "250701" | "250702" | "250703" | "250800" | "250801" | "250802" | "250803" | "250900" | "250901" | "251000" | "251001" | "260000" | "260100" | "260101" | "260200" | "260201" | "260300" | "260301" | "270000" | "270100" | "270101" | "270102" | "270103" | "270104" | "270200" | "270201" | "270202" | "270203" | "270204" | "270205" | "270300" | "270301" | "270302" | "270303" | "270304" | "280000" | "280100" | "280101" | "280102" | "280103" | "280104" | "280105" | "280106" | "280200" | "280201" | "280300" | "280301" | "280302" | "280303" | "290000" | "290100" | "290101" | "290102" | "290103" | "290104" | "290200" | "290201" | "290300" | "290301" | "290302" | "290303" | "290400" | "290402" | "290403" | "290500" | "290501" | "300000" | "300100" | "300101" | "300102" | "300103" | "300104" | "300200" | "300201" | "300202" | "300300" | "300301" | "310000" | "310100" | "310101" | "310102" | "310103" | "310104" | "310105" | "310200" | "310201" | "310300" | "310301" | "320000" | "320100" | "320101" | "320102" | "320200" | "320201" | "320300" | "320301" | "320302" | "320400" | "320401" | "320402" | "320500" | "320501" | "320502" | "320600" | "320601" | "320602" | "320603" | "320700" | "320701" | "320702" | "320703";
|
|
4018
|
-
|
|
4384
|
+
phones: Array<string>;
|
|
4019
4385
|
province_code: "010000" | "010100" | "010101" | "020000" | "020100" | "020101" | "020102" | "020103" | "020104" | "020105" | "020106" | "020107" | "020108" | "020109" | "020200" | "020201" | "020202" | "020300" | "020301" | "020302" | "020303" | "020400" | "020401" | "020402" | "020403" | "020404" | "020405" | "020500" | "020501" | "020600" | "020601" | "020602" | "020603" | "020604" | "020700" | "020701" | "020702" | "020800" | "020801" | "020802" | "020803" | "020804" | "020900" | "020901" | "021000" | "021001" | "030000" | "030001" | "030101" | "030102" | "030200" | "030201" | "030202" | "030300" | "030301" | "030302" | "030303" | "030304" | "030305" | "030306" | "030307" | "030400" | "030401" | "030500" | "030501" | "030502" | "040000" | "040100" | "040101" | "040102" | "040103" | "040104" | "040200" | "040201" | "040300" | "040301" | "040302" | "040400" | "040401" | "040402" | "040500" | "040501" | "040502" | "040503" | "040504" | "040600" | "040601" | "040700" | "040701" | "040702" | "040800" | "040801" | "040802" | "040900" | "040901" | "041000" | "041001" | "041100" | "041101" | "041102" | "050000" | "050100" | "050101" | "050102" | "050200" | "050201" | "050202" | "050203" | "050300" | "050301" | "050400" | "050401" | "050500" | "050501" | "050502" | "060000" | "060100" | "060101" | "060102" | "060103" | "060104" | "060105" | "060200" | "060201" | "060202" | "060203" | "060300" | "060301" | "060400" | "060401" | "060500" | "060501" | "060502" | "060503" | "060504" | "060505" | "060600" | "060601" | "060700" | "060701" | "060702" | "070000" | "070100" | "070101" | "070102" | "070103" | "070200" | "070201" | "070202" | "070203" | "070300" | "070301" | "070302" | "070400" | "070401" | "070402" | "070500" | "070501" | "070502" | "070600" | "070601" | "080000" | "080100" | "080101" | "080102" | "080103" | "080104" | "080200" | "080201" | "080202" | "080203" | "090000" | "090100" | "090101" | "090102" | "090103" | "090104" | "090105" | "090106" | "090107" | "090108" | "090109" | "090200" | "090201" | "090300" | "090301" | "090302" | "090303" | "090304" | "090400" | "090401" | "100000" | "100100" | "100101" | "100102" | "100103" | "100200" | "100201" | "100202" | "100300" | "100301" | "100400" | "100401" | "100402" | "100500" | "100501" | "100502" | "100600" | "100601" | "100602" | "110000" | "110100" | "110101" | "110102" | "110103" | "110104" | "110200" | "110201" | "110202" | "110203" | "120000" | "120100" | "120101" | "120102" | "120200" | "120201" | "120300" | "120301" | "120302" | "130000" | "130100" | "130101" | "130102" | "130103" | "130104" | "130105" | "130200" | "130201" | "130202" | "130203" | "130300" | "130301" | "130302" | "130303" | "130400" | "130401" | "130402" | "140000" | "140100" | "140101" | "140102" | "140103" | "140104" | "140200" | "140201" | "140202" | "140203" | "140300" | "140301" | "140302" | "140400" | "140401" | "150000" | "150100" | "150101" | "150200" | "150201" | "150202" | "150300" | "150301" | "150302" | "150303" | "150304" | "150400" | "150401" | "150500" | "150501" | "150502" | "150600" | "150601" | "160000" | "160100" | "160101" | "160102" | "160200" | "160201" | "160202" | "170000" | "170100" | "170101" | "170102" | "170103" | "170104" | "170105" | "170106" | "170107" | "170108" | "170109" | "170110" | "170200" | "170201" | "170202" | "170203" | "170300" | "170301" | "180000" | "180100" | "180101" | "180102" | "180103" | "180200" | "180201" | "180202" | "180300" | "180301" | "180400" | "180401" | "180500" | "180501" | "180502" | "180600" | "180601" | "180602" | "180603" | "180604" | "180700" | "180701" | "180702" | "180703" | "180800" | "180801" | "180802" | "180803" | "180804" | "180900" | "180901" | "190000" | "190100" | "190101" | "190102" | "190200" | "190201" | "190202" | "190300" | "190301" | "200000" | "200100" | "200101" | "200102" | "200103" | "200104" | "200200" | "200201" | "200300" | "200301" | "210000" | "210100" | "210101" | "210102" | "210103" | "210200" | "210201" | "210300" | "210301" | "210302" | "210303" | "210400" | "210401" | "210402" | "210500" | "210501" | "210502" | "210503" | "210504" | "210600" | "210601" | "210602" | "210700" | "210701" | "210800" | "210801" | "220000" | "220100" | "220101" | "220102" | "220103" | "220104" | "220105" | "220106" | "220107" | "220108" | "220109" | "220110" | "220111" | "220200" | "220201" | "220202" | "220203" | "220300" | "220301" | "220302" | "220303" | "220400" | "220401" | "220402" | "220500" | "220501" | "220502" | "220503" | "220600" | "220601" | "220602" | "230000" | "230100" | "230101" | "230200" | "230201" | "230202" | "230203" | "230300" | "230301" | "230400" | "230401" | "230500" | "230501" | "230600" | "230601" | "240000" | "240100" | "240101" | "240102" | "240103" | "240104" | "240105" | "240106" | "240200" | "240201" | "240202" | "240300" | "240301" | "240400" | "240401" | "240402" | "240403" | "240404" | "250000" | "250100" | "250101" | "250102" | "250104" | "250105" | "250106" | "250107" | "250200" | "250201" | "250300" | "250301" | "250302" | "250303" | "250400" | "250401" | "250402" | "250500" | "250501" | "250502" | "250503" | "250504" | "250600" | "250601" | "250602" | "250700" | "250701" | "250702" | "250703" | "250800" | "250801" | "250802" | "250803" | "250900" | "250901" | "251000" | "251001" | "260000" | "260100" | "260101" | "260200" | "260201" | "260300" | "260301" | "270000" | "270100" | "270101" | "270102" | "270103" | "270104" | "270200" | "270201" | "270202" | "270203" | "270204" | "270205" | "270300" | "270301" | "270302" | "270303" | "270304" | "280000" | "280100" | "280101" | "280102" | "280103" | "280104" | "280105" | "280106" | "280200" | "280201" | "280300" | "280301" | "280302" | "280303" | "290000" | "290100" | "290101" | "290102" | "290103" | "290104" | "290200" | "290201" | "290300" | "290301" | "290302" | "290303" | "290400" | "290402" | "290403" | "290500" | "290501" | "300000" | "300100" | "300101" | "300102" | "300103" | "300104" | "300200" | "300201" | "300202" | "300300" | "300301" | "310000" | "310100" | "310101" | "310102" | "310103" | "310104" | "310105" | "310200" | "310201" | "310300" | "310301" | "320000" | "320100" | "320101" | "320102" | "320200" | "320201" | "320300" | "320301" | "320302" | "320400" | "320401" | "320402" | "320500" | "320501" | "320502" | "320600" | "320601" | "320602" | "320603" | "320700" | "320701" | "320702" | "320703";
|
|
4020
4386
|
sales_zone?: string | undefined;
|
|
4021
4387
|
seller_code?: string | undefined;
|
|
@@ -4023,6 +4389,7 @@ export type Type44Intent = {
|
|
|
4023
4389
|
website?: string | undefined;
|
|
4024
4390
|
};
|
|
4025
4391
|
lines: Array<SpecialRegimeLine>;
|
|
4392
|
+
payment_account?: PaymentAccount | undefined;
|
|
4026
4393
|
payment_allocations?: Array<PaymentAllocation> | undefined;
|
|
4027
4394
|
payment_due_on?: string | undefined;
|
|
4028
4395
|
payment_type: "1" | "2" | "3";
|
|
@@ -4035,6 +4402,7 @@ export type Type44Intent = {
|
|
|
4035
4402
|
* Comprobante Electrónico Gubernamental, code 45.
|
|
4036
4403
|
*/
|
|
4037
4404
|
export type Type45Intent = {
|
|
4405
|
+
additional_information?: GovernmentAdditionalDocumentInformation | undefined;
|
|
4038
4406
|
currency: "DOP";
|
|
4039
4407
|
deferred_submission?: "1" | undefined;
|
|
4040
4408
|
discounts_or_surcharges?: Array<DiscountOrSurcharge> | undefined;
|
|
@@ -4055,7 +4423,7 @@ export type Type45Intent = {
|
|
|
4055
4423
|
internal_order_number?: string | undefined;
|
|
4056
4424
|
legal_name: string;
|
|
4057
4425
|
municipality_code: "010000" | "010100" | "010101" | "020000" | "020100" | "020101" | "020102" | "020103" | "020104" | "020105" | "020106" | "020107" | "020108" | "020109" | "020200" | "020201" | "020202" | "020300" | "020301" | "020302" | "020303" | "020400" | "020401" | "020402" | "020403" | "020404" | "020405" | "020500" | "020501" | "020600" | "020601" | "020602" | "020603" | "020604" | "020700" | "020701" | "020702" | "020800" | "020801" | "020802" | "020803" | "020804" | "020900" | "020901" | "021000" | "021001" | "030000" | "030001" | "030101" | "030102" | "030200" | "030201" | "030202" | "030300" | "030301" | "030302" | "030303" | "030304" | "030305" | "030306" | "030307" | "030400" | "030401" | "030500" | "030501" | "030502" | "040000" | "040100" | "040101" | "040102" | "040103" | "040104" | "040200" | "040201" | "040300" | "040301" | "040302" | "040400" | "040401" | "040402" | "040500" | "040501" | "040502" | "040503" | "040504" | "040600" | "040601" | "040700" | "040701" | "040702" | "040800" | "040801" | "040802" | "040900" | "040901" | "041000" | "041001" | "041100" | "041101" | "041102" | "050000" | "050100" | "050101" | "050102" | "050200" | "050201" | "050202" | "050203" | "050300" | "050301" | "050400" | "050401" | "050500" | "050501" | "050502" | "060000" | "060100" | "060101" | "060102" | "060103" | "060104" | "060105" | "060200" | "060201" | "060202" | "060203" | "060300" | "060301" | "060400" | "060401" | "060500" | "060501" | "060502" | "060503" | "060504" | "060505" | "060600" | "060601" | "060700" | "060701" | "060702" | "070000" | "070100" | "070101" | "070102" | "070103" | "070200" | "070201" | "070202" | "070203" | "070300" | "070301" | "070302" | "070400" | "070401" | "070402" | "070500" | "070501" | "070502" | "070600" | "070601" | "080000" | "080100" | "080101" | "080102" | "080103" | "080104" | "080200" | "080201" | "080202" | "080203" | "090000" | "090100" | "090101" | "090102" | "090103" | "090104" | "090105" | "090106" | "090107" | "090108" | "090109" | "090200" | "090201" | "090300" | "090301" | "090302" | "090303" | "090304" | "090400" | "090401" | "100000" | "100100" | "100101" | "100102" | "100103" | "100200" | "100201" | "100202" | "100300" | "100301" | "100400" | "100401" | "100402" | "100500" | "100501" | "100502" | "100600" | "100601" | "100602" | "110000" | "110100" | "110101" | "110102" | "110103" | "110104" | "110200" | "110201" | "110202" | "110203" | "120000" | "120100" | "120101" | "120102" | "120200" | "120201" | "120300" | "120301" | "120302" | "130000" | "130100" | "130101" | "130102" | "130103" | "130104" | "130105" | "130200" | "130201" | "130202" | "130203" | "130300" | "130301" | "130302" | "130303" | "130400" | "130401" | "130402" | "140000" | "140100" | "140101" | "140102" | "140103" | "140104" | "140200" | "140201" | "140202" | "140203" | "140300" | "140301" | "140302" | "140400" | "140401" | "150000" | "150100" | "150101" | "150200" | "150201" | "150202" | "150300" | "150301" | "150302" | "150303" | "150304" | "150400" | "150401" | "150500" | "150501" | "150502" | "150600" | "150601" | "160000" | "160100" | "160101" | "160102" | "160200" | "160201" | "160202" | "170000" | "170100" | "170101" | "170102" | "170103" | "170104" | "170105" | "170106" | "170107" | "170108" | "170109" | "170110" | "170200" | "170201" | "170202" | "170203" | "170300" | "170301" | "180000" | "180100" | "180101" | "180102" | "180103" | "180200" | "180201" | "180202" | "180300" | "180301" | "180400" | "180401" | "180500" | "180501" | "180502" | "180600" | "180601" | "180602" | "180603" | "180604" | "180700" | "180701" | "180702" | "180703" | "180800" | "180801" | "180802" | "180803" | "180804" | "180900" | "180901" | "190000" | "190100" | "190101" | "190102" | "190200" | "190201" | "190202" | "190300" | "190301" | "200000" | "200100" | "200101" | "200102" | "200103" | "200104" | "200200" | "200201" | "200300" | "200301" | "210000" | "210100" | "210101" | "210102" | "210103" | "210200" | "210201" | "210300" | "210301" | "210302" | "210303" | "210400" | "210401" | "210402" | "210500" | "210501" | "210502" | "210503" | "210504" | "210600" | "210601" | "210602" | "210700" | "210701" | "210800" | "210801" | "220000" | "220100" | "220101" | "220102" | "220103" | "220104" | "220105" | "220106" | "220107" | "220108" | "220109" | "220110" | "220111" | "220200" | "220201" | "220202" | "220203" | "220300" | "220301" | "220302" | "220303" | "220400" | "220401" | "220402" | "220500" | "220501" | "220502" | "220503" | "220600" | "220601" | "220602" | "230000" | "230100" | "230101" | "230200" | "230201" | "230202" | "230203" | "230300" | "230301" | "230400" | "230401" | "230500" | "230501" | "230600" | "230601" | "240000" | "240100" | "240101" | "240102" | "240103" | "240104" | "240105" | "240106" | "240200" | "240201" | "240202" | "240300" | "240301" | "240400" | "240401" | "240402" | "240403" | "240404" | "250000" | "250100" | "250101" | "250102" | "250104" | "250105" | "250106" | "250107" | "250200" | "250201" | "250300" | "250301" | "250302" | "250303" | "250400" | "250401" | "250402" | "250500" | "250501" | "250502" | "250503" | "250504" | "250600" | "250601" | "250602" | "250700" | "250701" | "250702" | "250703" | "250800" | "250801" | "250802" | "250803" | "250900" | "250901" | "251000" | "251001" | "260000" | "260100" | "260101" | "260200" | "260201" | "260300" | "260301" | "270000" | "270100" | "270101" | "270102" | "270103" | "270104" | "270200" | "270201" | "270202" | "270203" | "270204" | "270205" | "270300" | "270301" | "270302" | "270303" | "270304" | "280000" | "280100" | "280101" | "280102" | "280103" | "280104" | "280105" | "280106" | "280200" | "280201" | "280300" | "280301" | "280302" | "280303" | "290000" | "290100" | "290101" | "290102" | "290103" | "290104" | "290200" | "290201" | "290300" | "290301" | "290302" | "290303" | "290400" | "290402" | "290403" | "290500" | "290501" | "300000" | "300100" | "300101" | "300102" | "300103" | "300104" | "300200" | "300201" | "300202" | "300300" | "300301" | "310000" | "310100" | "310101" | "310102" | "310103" | "310104" | "310105" | "310200" | "310201" | "310300" | "310301" | "320000" | "320100" | "320101" | "320102" | "320200" | "320201" | "320300" | "320301" | "320302" | "320400" | "320401" | "320402" | "320500" | "320501" | "320502" | "320600" | "320601" | "320602" | "320603" | "320700" | "320701" | "320702" | "320703";
|
|
4058
|
-
|
|
4426
|
+
phones: Array<string>;
|
|
4059
4427
|
province_code: "010000" | "010100" | "010101" | "020000" | "020100" | "020101" | "020102" | "020103" | "020104" | "020105" | "020106" | "020107" | "020108" | "020109" | "020200" | "020201" | "020202" | "020300" | "020301" | "020302" | "020303" | "020400" | "020401" | "020402" | "020403" | "020404" | "020405" | "020500" | "020501" | "020600" | "020601" | "020602" | "020603" | "020604" | "020700" | "020701" | "020702" | "020800" | "020801" | "020802" | "020803" | "020804" | "020900" | "020901" | "021000" | "021001" | "030000" | "030001" | "030101" | "030102" | "030200" | "030201" | "030202" | "030300" | "030301" | "030302" | "030303" | "030304" | "030305" | "030306" | "030307" | "030400" | "030401" | "030500" | "030501" | "030502" | "040000" | "040100" | "040101" | "040102" | "040103" | "040104" | "040200" | "040201" | "040300" | "040301" | "040302" | "040400" | "040401" | "040402" | "040500" | "040501" | "040502" | "040503" | "040504" | "040600" | "040601" | "040700" | "040701" | "040702" | "040800" | "040801" | "040802" | "040900" | "040901" | "041000" | "041001" | "041100" | "041101" | "041102" | "050000" | "050100" | "050101" | "050102" | "050200" | "050201" | "050202" | "050203" | "050300" | "050301" | "050400" | "050401" | "050500" | "050501" | "050502" | "060000" | "060100" | "060101" | "060102" | "060103" | "060104" | "060105" | "060200" | "060201" | "060202" | "060203" | "060300" | "060301" | "060400" | "060401" | "060500" | "060501" | "060502" | "060503" | "060504" | "060505" | "060600" | "060601" | "060700" | "060701" | "060702" | "070000" | "070100" | "070101" | "070102" | "070103" | "070200" | "070201" | "070202" | "070203" | "070300" | "070301" | "070302" | "070400" | "070401" | "070402" | "070500" | "070501" | "070502" | "070600" | "070601" | "080000" | "080100" | "080101" | "080102" | "080103" | "080104" | "080200" | "080201" | "080202" | "080203" | "090000" | "090100" | "090101" | "090102" | "090103" | "090104" | "090105" | "090106" | "090107" | "090108" | "090109" | "090200" | "090201" | "090300" | "090301" | "090302" | "090303" | "090304" | "090400" | "090401" | "100000" | "100100" | "100101" | "100102" | "100103" | "100200" | "100201" | "100202" | "100300" | "100301" | "100400" | "100401" | "100402" | "100500" | "100501" | "100502" | "100600" | "100601" | "100602" | "110000" | "110100" | "110101" | "110102" | "110103" | "110104" | "110200" | "110201" | "110202" | "110203" | "120000" | "120100" | "120101" | "120102" | "120200" | "120201" | "120300" | "120301" | "120302" | "130000" | "130100" | "130101" | "130102" | "130103" | "130104" | "130105" | "130200" | "130201" | "130202" | "130203" | "130300" | "130301" | "130302" | "130303" | "130400" | "130401" | "130402" | "140000" | "140100" | "140101" | "140102" | "140103" | "140104" | "140200" | "140201" | "140202" | "140203" | "140300" | "140301" | "140302" | "140400" | "140401" | "150000" | "150100" | "150101" | "150200" | "150201" | "150202" | "150300" | "150301" | "150302" | "150303" | "150304" | "150400" | "150401" | "150500" | "150501" | "150502" | "150600" | "150601" | "160000" | "160100" | "160101" | "160102" | "160200" | "160201" | "160202" | "170000" | "170100" | "170101" | "170102" | "170103" | "170104" | "170105" | "170106" | "170107" | "170108" | "170109" | "170110" | "170200" | "170201" | "170202" | "170203" | "170300" | "170301" | "180000" | "180100" | "180101" | "180102" | "180103" | "180200" | "180201" | "180202" | "180300" | "180301" | "180400" | "180401" | "180500" | "180501" | "180502" | "180600" | "180601" | "180602" | "180603" | "180604" | "180700" | "180701" | "180702" | "180703" | "180800" | "180801" | "180802" | "180803" | "180804" | "180900" | "180901" | "190000" | "190100" | "190101" | "190102" | "190200" | "190201" | "190202" | "190300" | "190301" | "200000" | "200100" | "200101" | "200102" | "200103" | "200104" | "200200" | "200201" | "200300" | "200301" | "210000" | "210100" | "210101" | "210102" | "210103" | "210200" | "210201" | "210300" | "210301" | "210302" | "210303" | "210400" | "210401" | "210402" | "210500" | "210501" | "210502" | "210503" | "210504" | "210600" | "210601" | "210602" | "210700" | "210701" | "210800" | "210801" | "220000" | "220100" | "220101" | "220102" | "220103" | "220104" | "220105" | "220106" | "220107" | "220108" | "220109" | "220110" | "220111" | "220200" | "220201" | "220202" | "220203" | "220300" | "220301" | "220302" | "220303" | "220400" | "220401" | "220402" | "220500" | "220501" | "220502" | "220503" | "220600" | "220601" | "220602" | "230000" | "230100" | "230101" | "230200" | "230201" | "230202" | "230203" | "230300" | "230301" | "230400" | "230401" | "230500" | "230501" | "230600" | "230601" | "240000" | "240100" | "240101" | "240102" | "240103" | "240104" | "240105" | "240106" | "240200" | "240201" | "240202" | "240300" | "240301" | "240400" | "240401" | "240402" | "240403" | "240404" | "250000" | "250100" | "250101" | "250102" | "250104" | "250105" | "250106" | "250107" | "250200" | "250201" | "250300" | "250301" | "250302" | "250303" | "250400" | "250401" | "250402" | "250500" | "250501" | "250502" | "250503" | "250504" | "250600" | "250601" | "250602" | "250700" | "250701" | "250702" | "250703" | "250800" | "250801" | "250802" | "250803" | "250900" | "250901" | "251000" | "251001" | "260000" | "260100" | "260101" | "260200" | "260201" | "260300" | "260301" | "270000" | "270100" | "270101" | "270102" | "270103" | "270104" | "270200" | "270201" | "270202" | "270203" | "270204" | "270205" | "270300" | "270301" | "270302" | "270303" | "270304" | "280000" | "280100" | "280101" | "280102" | "280103" | "280104" | "280105" | "280106" | "280200" | "280201" | "280300" | "280301" | "280302" | "280303" | "290000" | "290100" | "290101" | "290102" | "290103" | "290104" | "290200" | "290201" | "290300" | "290301" | "290302" | "290303" | "290400" | "290402" | "290403" | "290500" | "290501" | "300000" | "300100" | "300101" | "300102" | "300103" | "300104" | "300200" | "300201" | "300202" | "300300" | "300301" | "310000" | "310100" | "310101" | "310102" | "310103" | "310104" | "310105" | "310200" | "310201" | "310300" | "310301" | "320000" | "320100" | "320101" | "320102" | "320200" | "320201" | "320300" | "320301" | "320302" | "320400" | "320401" | "320402" | "320500" | "320501" | "320502" | "320600" | "320601" | "320602" | "320603" | "320700" | "320701" | "320702" | "320703";
|
|
4060
4428
|
sales_zone?: string | undefined;
|
|
4061
4429
|
seller_code?: string | undefined;
|
|
@@ -4063,6 +4431,7 @@ export type Type45Intent = {
|
|
|
4063
4431
|
website?: string | undefined;
|
|
4064
4432
|
};
|
|
4065
4433
|
lines: Array<FiscalLineWithLegalTip>;
|
|
4434
|
+
payment_account?: PaymentAccount | undefined;
|
|
4066
4435
|
payment_allocations?: Array<PaymentAllocation> | undefined;
|
|
4067
4436
|
payment_due_on?: string | undefined;
|
|
4068
4437
|
payment_type: "1" | "2" | "3";
|
|
@@ -4075,6 +4444,7 @@ export type Type45Intent = {
|
|
|
4075
4444
|
* Comprobante para Exportaciones Electrónico, code 46.
|
|
4076
4445
|
*/
|
|
4077
4446
|
export type Type46Intent = {
|
|
4447
|
+
additional_information?: AdditionalDocumentInformation | undefined;
|
|
4078
4448
|
currency: "DOP";
|
|
4079
4449
|
deferred_submission?: "1" | undefined;
|
|
4080
4450
|
discounts_or_surcharges?: Array<DiscountOrSurcharge> | undefined;
|
|
@@ -4095,14 +4465,15 @@ export type Type46Intent = {
|
|
|
4095
4465
|
internal_order_number?: string | undefined;
|
|
4096
4466
|
legal_name: string;
|
|
4097
4467
|
municipality_code: "010000" | "010100" | "010101" | "020000" | "020100" | "020101" | "020102" | "020103" | "020104" | "020105" | "020106" | "020107" | "020108" | "020109" | "020200" | "020201" | "020202" | "020300" | "020301" | "020302" | "020303" | "020400" | "020401" | "020402" | "020403" | "020404" | "020405" | "020500" | "020501" | "020600" | "020601" | "020602" | "020603" | "020604" | "020700" | "020701" | "020702" | "020800" | "020801" | "020802" | "020803" | "020804" | "020900" | "020901" | "021000" | "021001" | "030000" | "030001" | "030101" | "030102" | "030200" | "030201" | "030202" | "030300" | "030301" | "030302" | "030303" | "030304" | "030305" | "030306" | "030307" | "030400" | "030401" | "030500" | "030501" | "030502" | "040000" | "040100" | "040101" | "040102" | "040103" | "040104" | "040200" | "040201" | "040300" | "040301" | "040302" | "040400" | "040401" | "040402" | "040500" | "040501" | "040502" | "040503" | "040504" | "040600" | "040601" | "040700" | "040701" | "040702" | "040800" | "040801" | "040802" | "040900" | "040901" | "041000" | "041001" | "041100" | "041101" | "041102" | "050000" | "050100" | "050101" | "050102" | "050200" | "050201" | "050202" | "050203" | "050300" | "050301" | "050400" | "050401" | "050500" | "050501" | "050502" | "060000" | "060100" | "060101" | "060102" | "060103" | "060104" | "060105" | "060200" | "060201" | "060202" | "060203" | "060300" | "060301" | "060400" | "060401" | "060500" | "060501" | "060502" | "060503" | "060504" | "060505" | "060600" | "060601" | "060700" | "060701" | "060702" | "070000" | "070100" | "070101" | "070102" | "070103" | "070200" | "070201" | "070202" | "070203" | "070300" | "070301" | "070302" | "070400" | "070401" | "070402" | "070500" | "070501" | "070502" | "070600" | "070601" | "080000" | "080100" | "080101" | "080102" | "080103" | "080104" | "080200" | "080201" | "080202" | "080203" | "090000" | "090100" | "090101" | "090102" | "090103" | "090104" | "090105" | "090106" | "090107" | "090108" | "090109" | "090200" | "090201" | "090300" | "090301" | "090302" | "090303" | "090304" | "090400" | "090401" | "100000" | "100100" | "100101" | "100102" | "100103" | "100200" | "100201" | "100202" | "100300" | "100301" | "100400" | "100401" | "100402" | "100500" | "100501" | "100502" | "100600" | "100601" | "100602" | "110000" | "110100" | "110101" | "110102" | "110103" | "110104" | "110200" | "110201" | "110202" | "110203" | "120000" | "120100" | "120101" | "120102" | "120200" | "120201" | "120300" | "120301" | "120302" | "130000" | "130100" | "130101" | "130102" | "130103" | "130104" | "130105" | "130200" | "130201" | "130202" | "130203" | "130300" | "130301" | "130302" | "130303" | "130400" | "130401" | "130402" | "140000" | "140100" | "140101" | "140102" | "140103" | "140104" | "140200" | "140201" | "140202" | "140203" | "140300" | "140301" | "140302" | "140400" | "140401" | "150000" | "150100" | "150101" | "150200" | "150201" | "150202" | "150300" | "150301" | "150302" | "150303" | "150304" | "150400" | "150401" | "150500" | "150501" | "150502" | "150600" | "150601" | "160000" | "160100" | "160101" | "160102" | "160200" | "160201" | "160202" | "170000" | "170100" | "170101" | "170102" | "170103" | "170104" | "170105" | "170106" | "170107" | "170108" | "170109" | "170110" | "170200" | "170201" | "170202" | "170203" | "170300" | "170301" | "180000" | "180100" | "180101" | "180102" | "180103" | "180200" | "180201" | "180202" | "180300" | "180301" | "180400" | "180401" | "180500" | "180501" | "180502" | "180600" | "180601" | "180602" | "180603" | "180604" | "180700" | "180701" | "180702" | "180703" | "180800" | "180801" | "180802" | "180803" | "180804" | "180900" | "180901" | "190000" | "190100" | "190101" | "190102" | "190200" | "190201" | "190202" | "190300" | "190301" | "200000" | "200100" | "200101" | "200102" | "200103" | "200104" | "200200" | "200201" | "200300" | "200301" | "210000" | "210100" | "210101" | "210102" | "210103" | "210200" | "210201" | "210300" | "210301" | "210302" | "210303" | "210400" | "210401" | "210402" | "210500" | "210501" | "210502" | "210503" | "210504" | "210600" | "210601" | "210602" | "210700" | "210701" | "210800" | "210801" | "220000" | "220100" | "220101" | "220102" | "220103" | "220104" | "220105" | "220106" | "220107" | "220108" | "220109" | "220110" | "220111" | "220200" | "220201" | "220202" | "220203" | "220300" | "220301" | "220302" | "220303" | "220400" | "220401" | "220402" | "220500" | "220501" | "220502" | "220503" | "220600" | "220601" | "220602" | "230000" | "230100" | "230101" | "230200" | "230201" | "230202" | "230203" | "230300" | "230301" | "230400" | "230401" | "230500" | "230501" | "230600" | "230601" | "240000" | "240100" | "240101" | "240102" | "240103" | "240104" | "240105" | "240106" | "240200" | "240201" | "240202" | "240300" | "240301" | "240400" | "240401" | "240402" | "240403" | "240404" | "250000" | "250100" | "250101" | "250102" | "250104" | "250105" | "250106" | "250107" | "250200" | "250201" | "250300" | "250301" | "250302" | "250303" | "250400" | "250401" | "250402" | "250500" | "250501" | "250502" | "250503" | "250504" | "250600" | "250601" | "250602" | "250700" | "250701" | "250702" | "250703" | "250800" | "250801" | "250802" | "250803" | "250900" | "250901" | "251000" | "251001" | "260000" | "260100" | "260101" | "260200" | "260201" | "260300" | "260301" | "270000" | "270100" | "270101" | "270102" | "270103" | "270104" | "270200" | "270201" | "270202" | "270203" | "270204" | "270205" | "270300" | "270301" | "270302" | "270303" | "270304" | "280000" | "280100" | "280101" | "280102" | "280103" | "280104" | "280105" | "280106" | "280200" | "280201" | "280300" | "280301" | "280302" | "280303" | "290000" | "290100" | "290101" | "290102" | "290103" | "290104" | "290200" | "290201" | "290300" | "290301" | "290302" | "290303" | "290400" | "290402" | "290403" | "290500" | "290501" | "300000" | "300100" | "300101" | "300102" | "300103" | "300104" | "300200" | "300201" | "300202" | "300300" | "300301" | "310000" | "310100" | "310101" | "310102" | "310103" | "310104" | "310105" | "310200" | "310201" | "310300" | "310301" | "320000" | "320100" | "320101" | "320102" | "320200" | "320201" | "320300" | "320301" | "320302" | "320400" | "320401" | "320402" | "320500" | "320501" | "320502" | "320600" | "320601" | "320602" | "320603" | "320700" | "320701" | "320702" | "320703";
|
|
4098
|
-
|
|
4468
|
+
phones: Array<string>;
|
|
4099
4469
|
province_code: "010000" | "010100" | "010101" | "020000" | "020100" | "020101" | "020102" | "020103" | "020104" | "020105" | "020106" | "020107" | "020108" | "020109" | "020200" | "020201" | "020202" | "020300" | "020301" | "020302" | "020303" | "020400" | "020401" | "020402" | "020403" | "020404" | "020405" | "020500" | "020501" | "020600" | "020601" | "020602" | "020603" | "020604" | "020700" | "020701" | "020702" | "020800" | "020801" | "020802" | "020803" | "020804" | "020900" | "020901" | "021000" | "021001" | "030000" | "030001" | "030101" | "030102" | "030200" | "030201" | "030202" | "030300" | "030301" | "030302" | "030303" | "030304" | "030305" | "030306" | "030307" | "030400" | "030401" | "030500" | "030501" | "030502" | "040000" | "040100" | "040101" | "040102" | "040103" | "040104" | "040200" | "040201" | "040300" | "040301" | "040302" | "040400" | "040401" | "040402" | "040500" | "040501" | "040502" | "040503" | "040504" | "040600" | "040601" | "040700" | "040701" | "040702" | "040800" | "040801" | "040802" | "040900" | "040901" | "041000" | "041001" | "041100" | "041101" | "041102" | "050000" | "050100" | "050101" | "050102" | "050200" | "050201" | "050202" | "050203" | "050300" | "050301" | "050400" | "050401" | "050500" | "050501" | "050502" | "060000" | "060100" | "060101" | "060102" | "060103" | "060104" | "060105" | "060200" | "060201" | "060202" | "060203" | "060300" | "060301" | "060400" | "060401" | "060500" | "060501" | "060502" | "060503" | "060504" | "060505" | "060600" | "060601" | "060700" | "060701" | "060702" | "070000" | "070100" | "070101" | "070102" | "070103" | "070200" | "070201" | "070202" | "070203" | "070300" | "070301" | "070302" | "070400" | "070401" | "070402" | "070500" | "070501" | "070502" | "070600" | "070601" | "080000" | "080100" | "080101" | "080102" | "080103" | "080104" | "080200" | "080201" | "080202" | "080203" | "090000" | "090100" | "090101" | "090102" | "090103" | "090104" | "090105" | "090106" | "090107" | "090108" | "090109" | "090200" | "090201" | "090300" | "090301" | "090302" | "090303" | "090304" | "090400" | "090401" | "100000" | "100100" | "100101" | "100102" | "100103" | "100200" | "100201" | "100202" | "100300" | "100301" | "100400" | "100401" | "100402" | "100500" | "100501" | "100502" | "100600" | "100601" | "100602" | "110000" | "110100" | "110101" | "110102" | "110103" | "110104" | "110200" | "110201" | "110202" | "110203" | "120000" | "120100" | "120101" | "120102" | "120200" | "120201" | "120300" | "120301" | "120302" | "130000" | "130100" | "130101" | "130102" | "130103" | "130104" | "130105" | "130200" | "130201" | "130202" | "130203" | "130300" | "130301" | "130302" | "130303" | "130400" | "130401" | "130402" | "140000" | "140100" | "140101" | "140102" | "140103" | "140104" | "140200" | "140201" | "140202" | "140203" | "140300" | "140301" | "140302" | "140400" | "140401" | "150000" | "150100" | "150101" | "150200" | "150201" | "150202" | "150300" | "150301" | "150302" | "150303" | "150304" | "150400" | "150401" | "150500" | "150501" | "150502" | "150600" | "150601" | "160000" | "160100" | "160101" | "160102" | "160200" | "160201" | "160202" | "170000" | "170100" | "170101" | "170102" | "170103" | "170104" | "170105" | "170106" | "170107" | "170108" | "170109" | "170110" | "170200" | "170201" | "170202" | "170203" | "170300" | "170301" | "180000" | "180100" | "180101" | "180102" | "180103" | "180200" | "180201" | "180202" | "180300" | "180301" | "180400" | "180401" | "180500" | "180501" | "180502" | "180600" | "180601" | "180602" | "180603" | "180604" | "180700" | "180701" | "180702" | "180703" | "180800" | "180801" | "180802" | "180803" | "180804" | "180900" | "180901" | "190000" | "190100" | "190101" | "190102" | "190200" | "190201" | "190202" | "190300" | "190301" | "200000" | "200100" | "200101" | "200102" | "200103" | "200104" | "200200" | "200201" | "200300" | "200301" | "210000" | "210100" | "210101" | "210102" | "210103" | "210200" | "210201" | "210300" | "210301" | "210302" | "210303" | "210400" | "210401" | "210402" | "210500" | "210501" | "210502" | "210503" | "210504" | "210600" | "210601" | "210602" | "210700" | "210701" | "210800" | "210801" | "220000" | "220100" | "220101" | "220102" | "220103" | "220104" | "220105" | "220106" | "220107" | "220108" | "220109" | "220110" | "220111" | "220200" | "220201" | "220202" | "220203" | "220300" | "220301" | "220302" | "220303" | "220400" | "220401" | "220402" | "220500" | "220501" | "220502" | "220503" | "220600" | "220601" | "220602" | "230000" | "230100" | "230101" | "230200" | "230201" | "230202" | "230203" | "230300" | "230301" | "230400" | "230401" | "230500" | "230501" | "230600" | "230601" | "240000" | "240100" | "240101" | "240102" | "240103" | "240104" | "240105" | "240106" | "240200" | "240201" | "240202" | "240300" | "240301" | "240400" | "240401" | "240402" | "240403" | "240404" | "250000" | "250100" | "250101" | "250102" | "250104" | "250105" | "250106" | "250107" | "250200" | "250201" | "250300" | "250301" | "250302" | "250303" | "250400" | "250401" | "250402" | "250500" | "250501" | "250502" | "250503" | "250504" | "250600" | "250601" | "250602" | "250700" | "250701" | "250702" | "250703" | "250800" | "250801" | "250802" | "250803" | "250900" | "250901" | "251000" | "251001" | "260000" | "260100" | "260101" | "260200" | "260201" | "260300" | "260301" | "270000" | "270100" | "270101" | "270102" | "270103" | "270104" | "270200" | "270201" | "270202" | "270203" | "270204" | "270205" | "270300" | "270301" | "270302" | "270303" | "270304" | "280000" | "280100" | "280101" | "280102" | "280103" | "280104" | "280105" | "280106" | "280200" | "280201" | "280300" | "280301" | "280302" | "280303" | "290000" | "290100" | "290101" | "290102" | "290103" | "290104" | "290200" | "290201" | "290300" | "290301" | "290302" | "290303" | "290400" | "290402" | "290403" | "290500" | "290501" | "300000" | "300100" | "300101" | "300102" | "300103" | "300104" | "300200" | "300201" | "300202" | "300300" | "300301" | "310000" | "310100" | "310101" | "310102" | "310103" | "310104" | "310105" | "310200" | "310201" | "310300" | "310301" | "320000" | "320100" | "320101" | "320102" | "320200" | "320201" | "320300" | "320301" | "320302" | "320400" | "320401" | "320402" | "320500" | "320501" | "320502" | "320600" | "320601" | "320602" | "320603" | "320700" | "320701" | "320702" | "320703";
|
|
4100
4470
|
sales_zone?: string | undefined;
|
|
4101
4471
|
seller_code?: string | undefined;
|
|
4102
4472
|
tax_id: string;
|
|
4103
4473
|
website?: string | undefined;
|
|
4104
4474
|
};
|
|
4105
|
-
lines: Array<
|
|
4475
|
+
lines: Array<Type46Line>;
|
|
4476
|
+
payment_account?: PaymentAccount | undefined;
|
|
4106
4477
|
payment_allocations?: Array<PaymentAllocation> | undefined;
|
|
4107
4478
|
payment_due_on?: string | undefined;
|
|
4108
4479
|
payment_type: "1" | "2" | "3";
|
|
@@ -4111,6 +4482,26 @@ export type Type46Intent = {
|
|
|
4111
4482
|
signed_at: string;
|
|
4112
4483
|
tax_inclusive_amounts?: "0" | "1" | undefined;
|
|
4113
4484
|
};
|
|
4485
|
+
/**
|
|
4486
|
+
* A Type 46 line with its profile-permitted line-level discounts and surcharges.
|
|
4487
|
+
*/
|
|
4488
|
+
export type Type46Line = {
|
|
4489
|
+
/**
|
|
4490
|
+
* Line-level discounts and surcharges, kept separate from document-level adjustments.
|
|
4491
|
+
*/
|
|
4492
|
+
adjustments?: {
|
|
4493
|
+
discounts?: Array<LinePriceAdjustment> | undefined;
|
|
4494
|
+
surcharges?: Array<LinePriceAdjustment> | undefined;
|
|
4495
|
+
} | undefined;
|
|
4496
|
+
billing_indicator: "0" | "1" | "2" | "3" | "4";
|
|
4497
|
+
goods_or_service_indicator: "1" | "2";
|
|
4498
|
+
item_codes?: Array<FiscalItemCode> | undefined;
|
|
4499
|
+
measurement_unit: string;
|
|
4500
|
+
name: string;
|
|
4501
|
+
quantity: string;
|
|
4502
|
+
source_line_id: string;
|
|
4503
|
+
unit_price: string;
|
|
4504
|
+
};
|
|
4114
4505
|
/**
|
|
4115
4506
|
* Comprobante para Pagos al Exterior Electrónico, code 47.
|
|
4116
4507
|
*/
|
|
@@ -4132,12 +4523,13 @@ export type Type47Intent = {
|
|
|
4132
4523
|
internal_order_number?: string | undefined;
|
|
4133
4524
|
legal_name: string;
|
|
4134
4525
|
municipality_code: "010000" | "010100" | "010101" | "020000" | "020100" | "020101" | "020102" | "020103" | "020104" | "020105" | "020106" | "020107" | "020108" | "020109" | "020200" | "020201" | "020202" | "020300" | "020301" | "020302" | "020303" | "020400" | "020401" | "020402" | "020403" | "020404" | "020405" | "020500" | "020501" | "020600" | "020601" | "020602" | "020603" | "020604" | "020700" | "020701" | "020702" | "020800" | "020801" | "020802" | "020803" | "020804" | "020900" | "020901" | "021000" | "021001" | "030000" | "030001" | "030101" | "030102" | "030200" | "030201" | "030202" | "030300" | "030301" | "030302" | "030303" | "030304" | "030305" | "030306" | "030307" | "030400" | "030401" | "030500" | "030501" | "030502" | "040000" | "040100" | "040101" | "040102" | "040103" | "040104" | "040200" | "040201" | "040300" | "040301" | "040302" | "040400" | "040401" | "040402" | "040500" | "040501" | "040502" | "040503" | "040504" | "040600" | "040601" | "040700" | "040701" | "040702" | "040800" | "040801" | "040802" | "040900" | "040901" | "041000" | "041001" | "041100" | "041101" | "041102" | "050000" | "050100" | "050101" | "050102" | "050200" | "050201" | "050202" | "050203" | "050300" | "050301" | "050400" | "050401" | "050500" | "050501" | "050502" | "060000" | "060100" | "060101" | "060102" | "060103" | "060104" | "060105" | "060200" | "060201" | "060202" | "060203" | "060300" | "060301" | "060400" | "060401" | "060500" | "060501" | "060502" | "060503" | "060504" | "060505" | "060600" | "060601" | "060700" | "060701" | "060702" | "070000" | "070100" | "070101" | "070102" | "070103" | "070200" | "070201" | "070202" | "070203" | "070300" | "070301" | "070302" | "070400" | "070401" | "070402" | "070500" | "070501" | "070502" | "070600" | "070601" | "080000" | "080100" | "080101" | "080102" | "080103" | "080104" | "080200" | "080201" | "080202" | "080203" | "090000" | "090100" | "090101" | "090102" | "090103" | "090104" | "090105" | "090106" | "090107" | "090108" | "090109" | "090200" | "090201" | "090300" | "090301" | "090302" | "090303" | "090304" | "090400" | "090401" | "100000" | "100100" | "100101" | "100102" | "100103" | "100200" | "100201" | "100202" | "100300" | "100301" | "100400" | "100401" | "100402" | "100500" | "100501" | "100502" | "100600" | "100601" | "100602" | "110000" | "110100" | "110101" | "110102" | "110103" | "110104" | "110200" | "110201" | "110202" | "110203" | "120000" | "120100" | "120101" | "120102" | "120200" | "120201" | "120300" | "120301" | "120302" | "130000" | "130100" | "130101" | "130102" | "130103" | "130104" | "130105" | "130200" | "130201" | "130202" | "130203" | "130300" | "130301" | "130302" | "130303" | "130400" | "130401" | "130402" | "140000" | "140100" | "140101" | "140102" | "140103" | "140104" | "140200" | "140201" | "140202" | "140203" | "140300" | "140301" | "140302" | "140400" | "140401" | "150000" | "150100" | "150101" | "150200" | "150201" | "150202" | "150300" | "150301" | "150302" | "150303" | "150304" | "150400" | "150401" | "150500" | "150501" | "150502" | "150600" | "150601" | "160000" | "160100" | "160101" | "160102" | "160200" | "160201" | "160202" | "170000" | "170100" | "170101" | "170102" | "170103" | "170104" | "170105" | "170106" | "170107" | "170108" | "170109" | "170110" | "170200" | "170201" | "170202" | "170203" | "170300" | "170301" | "180000" | "180100" | "180101" | "180102" | "180103" | "180200" | "180201" | "180202" | "180300" | "180301" | "180400" | "180401" | "180500" | "180501" | "180502" | "180600" | "180601" | "180602" | "180603" | "180604" | "180700" | "180701" | "180702" | "180703" | "180800" | "180801" | "180802" | "180803" | "180804" | "180900" | "180901" | "190000" | "190100" | "190101" | "190102" | "190200" | "190201" | "190202" | "190300" | "190301" | "200000" | "200100" | "200101" | "200102" | "200103" | "200104" | "200200" | "200201" | "200300" | "200301" | "210000" | "210100" | "210101" | "210102" | "210103" | "210200" | "210201" | "210300" | "210301" | "210302" | "210303" | "210400" | "210401" | "210402" | "210500" | "210501" | "210502" | "210503" | "210504" | "210600" | "210601" | "210602" | "210700" | "210701" | "210800" | "210801" | "220000" | "220100" | "220101" | "220102" | "220103" | "220104" | "220105" | "220106" | "220107" | "220108" | "220109" | "220110" | "220111" | "220200" | "220201" | "220202" | "220203" | "220300" | "220301" | "220302" | "220303" | "220400" | "220401" | "220402" | "220500" | "220501" | "220502" | "220503" | "220600" | "220601" | "220602" | "230000" | "230100" | "230101" | "230200" | "230201" | "230202" | "230203" | "230300" | "230301" | "230400" | "230401" | "230500" | "230501" | "230600" | "230601" | "240000" | "240100" | "240101" | "240102" | "240103" | "240104" | "240105" | "240106" | "240200" | "240201" | "240202" | "240300" | "240301" | "240400" | "240401" | "240402" | "240403" | "240404" | "250000" | "250100" | "250101" | "250102" | "250104" | "250105" | "250106" | "250107" | "250200" | "250201" | "250300" | "250301" | "250302" | "250303" | "250400" | "250401" | "250402" | "250500" | "250501" | "250502" | "250503" | "250504" | "250600" | "250601" | "250602" | "250700" | "250701" | "250702" | "250703" | "250800" | "250801" | "250802" | "250803" | "250900" | "250901" | "251000" | "251001" | "260000" | "260100" | "260101" | "260200" | "260201" | "260300" | "260301" | "270000" | "270100" | "270101" | "270102" | "270103" | "270104" | "270200" | "270201" | "270202" | "270203" | "270204" | "270205" | "270300" | "270301" | "270302" | "270303" | "270304" | "280000" | "280100" | "280101" | "280102" | "280103" | "280104" | "280105" | "280106" | "280200" | "280201" | "280300" | "280301" | "280302" | "280303" | "290000" | "290100" | "290101" | "290102" | "290103" | "290104" | "290200" | "290201" | "290300" | "290301" | "290302" | "290303" | "290400" | "290402" | "290403" | "290500" | "290501" | "300000" | "300100" | "300101" | "300102" | "300103" | "300104" | "300200" | "300201" | "300202" | "300300" | "300301" | "310000" | "310100" | "310101" | "310102" | "310103" | "310104" | "310105" | "310200" | "310201" | "310300" | "310301" | "320000" | "320100" | "320101" | "320102" | "320200" | "320201" | "320300" | "320301" | "320302" | "320400" | "320401" | "320402" | "320500" | "320501" | "320502" | "320600" | "320601" | "320602" | "320603" | "320700" | "320701" | "320702" | "320703";
|
|
4135
|
-
|
|
4526
|
+
phones: Array<string>;
|
|
4136
4527
|
province_code: "010000" | "010100" | "010101" | "020000" | "020100" | "020101" | "020102" | "020103" | "020104" | "020105" | "020106" | "020107" | "020108" | "020109" | "020200" | "020201" | "020202" | "020300" | "020301" | "020302" | "020303" | "020400" | "020401" | "020402" | "020403" | "020404" | "020405" | "020500" | "020501" | "020600" | "020601" | "020602" | "020603" | "020604" | "020700" | "020701" | "020702" | "020800" | "020801" | "020802" | "020803" | "020804" | "020900" | "020901" | "021000" | "021001" | "030000" | "030001" | "030101" | "030102" | "030200" | "030201" | "030202" | "030300" | "030301" | "030302" | "030303" | "030304" | "030305" | "030306" | "030307" | "030400" | "030401" | "030500" | "030501" | "030502" | "040000" | "040100" | "040101" | "040102" | "040103" | "040104" | "040200" | "040201" | "040300" | "040301" | "040302" | "040400" | "040401" | "040402" | "040500" | "040501" | "040502" | "040503" | "040504" | "040600" | "040601" | "040700" | "040701" | "040702" | "040800" | "040801" | "040802" | "040900" | "040901" | "041000" | "041001" | "041100" | "041101" | "041102" | "050000" | "050100" | "050101" | "050102" | "050200" | "050201" | "050202" | "050203" | "050300" | "050301" | "050400" | "050401" | "050500" | "050501" | "050502" | "060000" | "060100" | "060101" | "060102" | "060103" | "060104" | "060105" | "060200" | "060201" | "060202" | "060203" | "060300" | "060301" | "060400" | "060401" | "060500" | "060501" | "060502" | "060503" | "060504" | "060505" | "060600" | "060601" | "060700" | "060701" | "060702" | "070000" | "070100" | "070101" | "070102" | "070103" | "070200" | "070201" | "070202" | "070203" | "070300" | "070301" | "070302" | "070400" | "070401" | "070402" | "070500" | "070501" | "070502" | "070600" | "070601" | "080000" | "080100" | "080101" | "080102" | "080103" | "080104" | "080200" | "080201" | "080202" | "080203" | "090000" | "090100" | "090101" | "090102" | "090103" | "090104" | "090105" | "090106" | "090107" | "090108" | "090109" | "090200" | "090201" | "090300" | "090301" | "090302" | "090303" | "090304" | "090400" | "090401" | "100000" | "100100" | "100101" | "100102" | "100103" | "100200" | "100201" | "100202" | "100300" | "100301" | "100400" | "100401" | "100402" | "100500" | "100501" | "100502" | "100600" | "100601" | "100602" | "110000" | "110100" | "110101" | "110102" | "110103" | "110104" | "110200" | "110201" | "110202" | "110203" | "120000" | "120100" | "120101" | "120102" | "120200" | "120201" | "120300" | "120301" | "120302" | "130000" | "130100" | "130101" | "130102" | "130103" | "130104" | "130105" | "130200" | "130201" | "130202" | "130203" | "130300" | "130301" | "130302" | "130303" | "130400" | "130401" | "130402" | "140000" | "140100" | "140101" | "140102" | "140103" | "140104" | "140200" | "140201" | "140202" | "140203" | "140300" | "140301" | "140302" | "140400" | "140401" | "150000" | "150100" | "150101" | "150200" | "150201" | "150202" | "150300" | "150301" | "150302" | "150303" | "150304" | "150400" | "150401" | "150500" | "150501" | "150502" | "150600" | "150601" | "160000" | "160100" | "160101" | "160102" | "160200" | "160201" | "160202" | "170000" | "170100" | "170101" | "170102" | "170103" | "170104" | "170105" | "170106" | "170107" | "170108" | "170109" | "170110" | "170200" | "170201" | "170202" | "170203" | "170300" | "170301" | "180000" | "180100" | "180101" | "180102" | "180103" | "180200" | "180201" | "180202" | "180300" | "180301" | "180400" | "180401" | "180500" | "180501" | "180502" | "180600" | "180601" | "180602" | "180603" | "180604" | "180700" | "180701" | "180702" | "180703" | "180800" | "180801" | "180802" | "180803" | "180804" | "180900" | "180901" | "190000" | "190100" | "190101" | "190102" | "190200" | "190201" | "190202" | "190300" | "190301" | "200000" | "200100" | "200101" | "200102" | "200103" | "200104" | "200200" | "200201" | "200300" | "200301" | "210000" | "210100" | "210101" | "210102" | "210103" | "210200" | "210201" | "210300" | "210301" | "210302" | "210303" | "210400" | "210401" | "210402" | "210500" | "210501" | "210502" | "210503" | "210504" | "210600" | "210601" | "210602" | "210700" | "210701" | "210800" | "210801" | "220000" | "220100" | "220101" | "220102" | "220103" | "220104" | "220105" | "220106" | "220107" | "220108" | "220109" | "220110" | "220111" | "220200" | "220201" | "220202" | "220203" | "220300" | "220301" | "220302" | "220303" | "220400" | "220401" | "220402" | "220500" | "220501" | "220502" | "220503" | "220600" | "220601" | "220602" | "230000" | "230100" | "230101" | "230200" | "230201" | "230202" | "230203" | "230300" | "230301" | "230400" | "230401" | "230500" | "230501" | "230600" | "230601" | "240000" | "240100" | "240101" | "240102" | "240103" | "240104" | "240105" | "240106" | "240200" | "240201" | "240202" | "240300" | "240301" | "240400" | "240401" | "240402" | "240403" | "240404" | "250000" | "250100" | "250101" | "250102" | "250104" | "250105" | "250106" | "250107" | "250200" | "250201" | "250300" | "250301" | "250302" | "250303" | "250400" | "250401" | "250402" | "250500" | "250501" | "250502" | "250503" | "250504" | "250600" | "250601" | "250602" | "250700" | "250701" | "250702" | "250703" | "250800" | "250801" | "250802" | "250803" | "250900" | "250901" | "251000" | "251001" | "260000" | "260100" | "260101" | "260200" | "260201" | "260300" | "260301" | "270000" | "270100" | "270101" | "270102" | "270103" | "270104" | "270200" | "270201" | "270202" | "270203" | "270204" | "270205" | "270300" | "270301" | "270302" | "270303" | "270304" | "280000" | "280100" | "280101" | "280102" | "280103" | "280104" | "280105" | "280106" | "280200" | "280201" | "280300" | "280301" | "280302" | "280303" | "290000" | "290100" | "290101" | "290102" | "290103" | "290104" | "290200" | "290201" | "290300" | "290301" | "290302" | "290303" | "290400" | "290402" | "290403" | "290500" | "290501" | "300000" | "300100" | "300101" | "300102" | "300103" | "300104" | "300200" | "300201" | "300202" | "300300" | "300301" | "310000" | "310100" | "310101" | "310102" | "310103" | "310104" | "310105" | "310200" | "310201" | "310300" | "310301" | "320000" | "320100" | "320101" | "320102" | "320200" | "320201" | "320300" | "320301" | "320302" | "320400" | "320401" | "320402" | "320500" | "320501" | "320502" | "320600" | "320601" | "320602" | "320603" | "320700" | "320701" | "320702" | "320703";
|
|
4137
4528
|
tax_id: string;
|
|
4138
4529
|
website?: string | undefined;
|
|
4139
4530
|
};
|
|
4140
4531
|
lines: Array<ForeignPaymentLine>;
|
|
4532
|
+
payment_account?: PaymentAccount | undefined;
|
|
4141
4533
|
payment_allocations?: Array<PaymentAllocation> | undefined;
|
|
4142
4534
|
payment_due_on?: string | undefined;
|
|
4143
4535
|
payment_type?: "1" | "2" | "3" | undefined;
|
|
@@ -4703,8 +5095,8 @@ export type CreateHostedTenantWebhookSecretRotationData = {
|
|
|
4703
5095
|
/**
|
|
4704
5096
|
* Replays the rotation this key already made while the secret it displaced is still signing. A request that omits it rotates.
|
|
4705
5097
|
*/
|
|
4706
|
-
"Idempotency-Key"?: string
|
|
4707
|
-
};
|
|
5098
|
+
"Idempotency-Key"?: string;
|
|
5099
|
+
} | undefined;
|
|
4708
5100
|
path: {
|
|
4709
5101
|
/**
|
|
4710
5102
|
* The Source connection the hosted tenant binding names.
|
|
@@ -4748,6 +5140,103 @@ export type CreateHostedTenantWebhookSecretRotationResponses = {
|
|
|
4748
5140
|
201: HostedWebhookSecretRotation;
|
|
4749
5141
|
};
|
|
4750
5142
|
export type CreateHostedTenantWebhookSecretRotationResponse = CreateHostedTenantWebhookSecretRotationResponses[keyof CreateHostedTenantWebhookSecretRotationResponses];
|
|
5143
|
+
export type UploadHostedCertificationTestSetData = {
|
|
5144
|
+
body: CertificationTestSetUploadRequest;
|
|
5145
|
+
headers: {
|
|
5146
|
+
"Idempotency-Key": string;
|
|
5147
|
+
};
|
|
5148
|
+
path: {
|
|
5149
|
+
attemptReference: string;
|
|
5150
|
+
};
|
|
5151
|
+
query?: {
|
|
5152
|
+
/**
|
|
5153
|
+
* Hosted tenant selected by a service credential. Source credentials omit this parameter.
|
|
5154
|
+
*/
|
|
5155
|
+
checkout_tenant_id?: string | undefined;
|
|
5156
|
+
/**
|
|
5157
|
+
* Required with hosted tenant coordinates; must be certification.
|
|
5158
|
+
*/
|
|
5159
|
+
environment?: FiscalEnvironment | undefined;
|
|
5160
|
+
} | undefined;
|
|
5161
|
+
url: "/internal/hosted/certification/{attemptReference}/test-sets";
|
|
5162
|
+
};
|
|
5163
|
+
export type UploadHostedCertificationTestSetErrors = {
|
|
5164
|
+
/**
|
|
5165
|
+
* The native stamp server returned a typed Problem.
|
|
5166
|
+
*/
|
|
5167
|
+
401: ProblemBody;
|
|
5168
|
+
/**
|
|
5169
|
+
* The environment or idempotency precondition conflicts.
|
|
5170
|
+
*/
|
|
5171
|
+
409: ProblemBody;
|
|
5172
|
+
/**
|
|
5173
|
+
* The native stamp server returned a typed Problem.
|
|
5174
|
+
*/
|
|
5175
|
+
413: ProblemBody;
|
|
5176
|
+
/**
|
|
5177
|
+
* The native stamp server returned a typed Problem.
|
|
5178
|
+
*/
|
|
5179
|
+
415: ProblemBody;
|
|
5180
|
+
/**
|
|
5181
|
+
* The workbook cannot be safely interpreted for this issuer.
|
|
5182
|
+
*/
|
|
5183
|
+
422: ProblemBody;
|
|
5184
|
+
/**
|
|
5185
|
+
* The native stamp server returned a typed Problem.
|
|
5186
|
+
*/
|
|
5187
|
+
500: ProblemBody;
|
|
5188
|
+
};
|
|
5189
|
+
export type UploadHostedCertificationTestSetError = UploadHostedCertificationTestSetErrors[keyof UploadHostedCertificationTestSetErrors];
|
|
5190
|
+
export type UploadHostedCertificationTestSetResponses = {
|
|
5191
|
+
/**
|
|
5192
|
+
* The original upload recovered by its idempotency key.
|
|
5193
|
+
*/
|
|
5194
|
+
200: CertificationTestSetResource;
|
|
5195
|
+
/**
|
|
5196
|
+
* The original workbook is retained for review. Uploading never submits fiscal documents.
|
|
5197
|
+
*/
|
|
5198
|
+
201: CertificationTestSetResource;
|
|
5199
|
+
};
|
|
5200
|
+
export type UploadHostedCertificationTestSetResponse = UploadHostedCertificationTestSetResponses[keyof UploadHostedCertificationTestSetResponses];
|
|
5201
|
+
export type RetrieveHostedCertificationTestSetData = {
|
|
5202
|
+
body?: never | undefined;
|
|
5203
|
+
path: {
|
|
5204
|
+
attemptReference: string;
|
|
5205
|
+
};
|
|
5206
|
+
query?: {
|
|
5207
|
+
/**
|
|
5208
|
+
* Hosted tenant selected by a service credential. Source credentials omit this parameter.
|
|
5209
|
+
*/
|
|
5210
|
+
checkout_tenant_id?: string | undefined;
|
|
5211
|
+
/**
|
|
5212
|
+
* Required with hosted tenant coordinates; must be certification.
|
|
5213
|
+
*/
|
|
5214
|
+
environment?: FiscalEnvironment | undefined;
|
|
5215
|
+
} | undefined;
|
|
5216
|
+
url: "/internal/hosted/certification/{attemptReference}/test-sets/current";
|
|
5217
|
+
};
|
|
5218
|
+
export type RetrieveHostedCertificationTestSetErrors = {
|
|
5219
|
+
/**
|
|
5220
|
+
* The native stamp server returned a typed Problem.
|
|
5221
|
+
*/
|
|
5222
|
+
401: ProblemBody;
|
|
5223
|
+
/**
|
|
5224
|
+
* The native stamp server returned a typed Problem.
|
|
5225
|
+
*/
|
|
5226
|
+
409: ProblemBody;
|
|
5227
|
+
/**
|
|
5228
|
+
* The native stamp server returned a typed Problem.
|
|
5229
|
+
*/
|
|
5230
|
+
500: ProblemBody;
|
|
5231
|
+
};
|
|
5232
|
+
export type RetrieveHostedCertificationTestSetError = RetrieveHostedCertificationTestSetErrors[keyof RetrieveHostedCertificationTestSetErrors];
|
|
5233
|
+
export type RetrieveHostedCertificationTestSetResponses = {
|
|
5234
|
+
/**
|
|
5235
|
+
* The latest retained workbook, or null when no set was uploaded.
|
|
5236
|
+
*/
|
|
5237
|
+
200: CurrentCertificationTestSet;
|
|
5238
|
+
};
|
|
5239
|
+
export type RetrieveHostedCertificationTestSetResponse = RetrieveHostedCertificationTestSetResponses[keyof RetrieveHostedCertificationTestSetResponses];
|
|
4751
5240
|
export type ListHostedInvoicesData = {
|
|
4752
5241
|
body?: never | undefined;
|
|
4753
5242
|
path?: never | undefined;
|
|
@@ -5177,7 +5666,7 @@ export type ListFiscalOperationsData = {
|
|
|
5177
5666
|
* How many resources the page carries.
|
|
5178
5667
|
*/
|
|
5179
5668
|
limit?: number | undefined;
|
|
5180
|
-
};
|
|
5669
|
+
} | undefined;
|
|
5181
5670
|
url: "/v1/admin/fiscal-operations";
|
|
5182
5671
|
};
|
|
5183
5672
|
export type ListFiscalOperationsErrors = {
|
|
@@ -5298,7 +5787,7 @@ export type FindFiscalOperationBySourceData = {
|
|
|
5298
5787
|
* The Fiscal environment selected by the hosted tenant binding.
|
|
5299
5788
|
*/
|
|
5300
5789
|
environment?: FiscalEnvironment | undefined;
|
|
5301
|
-
};
|
|
5790
|
+
} | undefined;
|
|
5302
5791
|
url: "/v1/admin/fiscal-operations/by-source/{source_id}/versions/{source_version}";
|
|
5303
5792
|
};
|
|
5304
5793
|
export type FindFiscalOperationBySourceErrors = {
|
|
@@ -5826,7 +6315,7 @@ export type ListInvoicesData = {
|
|
|
5826
6315
|
limit?: number | undefined;
|
|
5827
6316
|
invoiceReference?: string | undefined;
|
|
5828
6317
|
type?: InvoiceType | undefined;
|
|
5829
|
-
};
|
|
6318
|
+
} | undefined;
|
|
5830
6319
|
url: "/v1/invoices";
|
|
5831
6320
|
};
|
|
5832
6321
|
export type ListInvoicesErrors = {
|
|
@@ -5862,7 +6351,7 @@ export type CreateInvoiceData = {
|
|
|
5862
6351
|
* Optional immutable command identity. Omission derives a key from invoiceReference; retries return current state.
|
|
5863
6352
|
*/
|
|
5864
6353
|
"Idempotency-Key"?: string;
|
|
5865
|
-
};
|
|
6354
|
+
} | undefined;
|
|
5866
6355
|
path?: never | undefined;
|
|
5867
6356
|
query?: never | undefined;
|
|
5868
6357
|
url: "/v1/invoices";
|
|
@@ -6407,7 +6896,7 @@ export type ReadAuditEventsData = {
|
|
|
6407
6896
|
* How many resources the page carries.
|
|
6408
6897
|
*/
|
|
6409
6898
|
limit?: number | undefined;
|
|
6410
|
-
};
|
|
6899
|
+
} | undefined;
|
|
6411
6900
|
url: "/v1/organizations/{organization_id}/audit-events";
|
|
6412
6901
|
};
|
|
6413
6902
|
export type ReadAuditEventsErrors = {
|
|
@@ -6457,7 +6946,7 @@ export type ListCertificateCustodyBindingsData = {
|
|
|
6457
6946
|
* How many resources the page carries.
|
|
6458
6947
|
*/
|
|
6459
6948
|
limit?: number | undefined;
|
|
6460
|
-
};
|
|
6949
|
+
} | undefined;
|
|
6461
6950
|
url: "/v1/organizations/{organization_id}/certificate-custody/bindings";
|
|
6462
6951
|
};
|
|
6463
6952
|
export type ListCertificateCustodyBindingsErrors = {
|
|
@@ -6815,7 +7304,7 @@ export type ListOrganizationFiscalOperationsData = {
|
|
|
6815
7304
|
* How many resources the page carries.
|
|
6816
7305
|
*/
|
|
6817
7306
|
limit?: number | undefined;
|
|
6818
|
-
};
|
|
7307
|
+
} | undefined;
|
|
6819
7308
|
url: "/v1/organizations/{organization_id}/fiscal-operations";
|
|
6820
7309
|
};
|
|
6821
7310
|
export type ListOrganizationFiscalOperationsErrors = {
|
|
@@ -6865,7 +7354,7 @@ export type ReadOrganizationFiscalOperationData = {
|
|
|
6865
7354
|
* How many resources the page carries.
|
|
6866
7355
|
*/
|
|
6867
7356
|
limit?: number | undefined;
|
|
6868
|
-
};
|
|
7357
|
+
} | undefined;
|
|
6869
7358
|
url: "/v1/organizations/{organization_id}/fiscal-operations/{fiscal_operation_id}";
|
|
6870
7359
|
};
|
|
6871
7360
|
export type ReadOrganizationFiscalOperationErrors = {
|
|
@@ -7017,7 +7506,7 @@ export type ListInvitationsData = {
|
|
|
7017
7506
|
* How many resources the page carries.
|
|
7018
7507
|
*/
|
|
7019
7508
|
limit?: number | undefined;
|
|
7020
|
-
};
|
|
7509
|
+
} | undefined;
|
|
7021
7510
|
url: "/v1/organizations/{organization_id}/invitations";
|
|
7022
7511
|
};
|
|
7023
7512
|
export type ListInvitationsErrors = {
|
|
@@ -7116,7 +7605,7 @@ export type ListLegalIssuersData = {
|
|
|
7116
7605
|
* How many resources the page carries.
|
|
7117
7606
|
*/
|
|
7118
7607
|
limit?: number | undefined;
|
|
7119
|
-
};
|
|
7608
|
+
} | undefined;
|
|
7120
7609
|
url: "/v1/organizations/{organization_id}/legal-issuers";
|
|
7121
7610
|
};
|
|
7122
7611
|
export type ListLegalIssuersErrors = {
|
|
@@ -7493,7 +7982,7 @@ export type ListReceivedDocumentsData = {
|
|
|
7493
7982
|
* How many resources the page carries.
|
|
7494
7983
|
*/
|
|
7495
7984
|
limit?: number | undefined;
|
|
7496
|
-
};
|
|
7985
|
+
} | undefined;
|
|
7497
7986
|
url: "/v1/organizations/{organization_id}/received-documents";
|
|
7498
7987
|
};
|
|
7499
7988
|
export type ListReceivedDocumentsErrors = {
|
|
@@ -7690,7 +8179,7 @@ export type ListSourceConnectionsData = {
|
|
|
7690
8179
|
* How many resources the page carries.
|
|
7691
8180
|
*/
|
|
7692
8181
|
limit?: number | undefined;
|
|
7693
|
-
};
|
|
8182
|
+
} | undefined;
|
|
7694
8183
|
url: "/v1/organizations/{organization_id}/source-connections";
|
|
7695
8184
|
};
|
|
7696
8185
|
export type ListSourceConnectionsErrors = {
|
|
@@ -7901,7 +8390,7 @@ export type ListSourceProviderAuthorizationsData = {
|
|
|
7901
8390
|
* How many resources the page carries.
|
|
7902
8391
|
*/
|
|
7903
8392
|
limit?: number | undefined;
|
|
7904
|
-
};
|
|
8393
|
+
} | undefined;
|
|
7905
8394
|
url: "/v1/organizations/{organization_id}/source-provider-authorizations";
|
|
7906
8395
|
};
|
|
7907
8396
|
export type ListSourceProviderAuthorizationsErrors = {
|
|
@@ -8037,7 +8526,7 @@ export type ListAuthorizedVercelProjectsData = {
|
|
|
8037
8526
|
* How many resources the page carries.
|
|
8038
8527
|
*/
|
|
8039
8528
|
limit?: number | undefined;
|
|
8040
|
-
};
|
|
8529
|
+
} | undefined;
|
|
8041
8530
|
url: "/v1/organizations/{organization_id}/source-provider-authorizations/{source_provider_authorization_id}/vercel/projects";
|
|
8042
8531
|
};
|
|
8043
8532
|
export type ListAuthorizedVercelProjectsErrors = {
|
|
@@ -8167,7 +8656,7 @@ export type ListSourceReceivedDocumentsData = {
|
|
|
8167
8656
|
* The Fiscal environment of that retained Source connection.
|
|
8168
8657
|
*/
|
|
8169
8658
|
environment?: FiscalEnvironment | undefined;
|
|
8170
|
-
};
|
|
8659
|
+
} | undefined;
|
|
8171
8660
|
url: "/v1/received-documents";
|
|
8172
8661
|
};
|
|
8173
8662
|
export type ListSourceReceivedDocumentsErrors = {
|
|
@@ -8217,7 +8706,7 @@ export type GetSourceReceivedDocumentData = {
|
|
|
8217
8706
|
* The Fiscal environment of that retained Source connection.
|
|
8218
8707
|
*/
|
|
8219
8708
|
environment?: FiscalEnvironment | undefined;
|
|
8220
|
-
};
|
|
8709
|
+
} | undefined;
|
|
8221
8710
|
url: "/v1/received-documents/{receivedDocumentId}";
|
|
8222
8711
|
};
|
|
8223
8712
|
export type GetSourceReceivedDocumentErrors = {
|
|
@@ -8263,7 +8752,7 @@ export type RespondToReceivedDocumentData = {
|
|
|
8263
8752
|
* The Fiscal environment of that retained Source connection.
|
|
8264
8753
|
*/
|
|
8265
8754
|
environment?: FiscalEnvironment | undefined;
|
|
8266
|
-
};
|
|
8755
|
+
} | undefined;
|
|
8267
8756
|
url: "/v1/received-documents/{receivedDocumentId}/commercial-response";
|
|
8268
8757
|
};
|
|
8269
8758
|
export type RespondToReceivedDocumentErrors = {
|
|
@@ -8321,7 +8810,7 @@ export type DownloadSourceReceivedDocumentXmlData = {
|
|
|
8321
8810
|
* The Fiscal environment of that retained Source connection.
|
|
8322
8811
|
*/
|
|
8323
8812
|
environment?: FiscalEnvironment | undefined;
|
|
8324
|
-
};
|
|
8813
|
+
} | undefined;
|
|
8325
8814
|
url: "/v1/received-documents/{receivedDocumentId}/files/xml";
|
|
8326
8815
|
};
|
|
8327
8816
|
export type DownloadSourceReceivedDocumentXmlErrors = {
|
|
@@ -8614,7 +9103,7 @@ export type ListWebhookDeliveriesData = {
|
|
|
8614
9103
|
* Repeat the parameter to match several states; omit it to match every state.
|
|
8615
9104
|
*/
|
|
8616
9105
|
state?: Array<WebhookDeliveryState> | undefined;
|
|
8617
|
-
};
|
|
9106
|
+
} | undefined;
|
|
8618
9107
|
url: "/v1/webhook-endpoints/{webhookEndpointId}/deliveries";
|
|
8619
9108
|
};
|
|
8620
9109
|
export type ListWebhookDeliveriesErrors = {
|