@timbro/invoices 0.12.0 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/README.md +26 -0
  2. package/dist/admin.d.ts +1 -0
  3. package/dist/admin.d.ts.map +1 -1
  4. package/dist/admin.js +1 -0
  5. package/dist/certification-workbook.d.ts +9 -0
  6. package/dist/certification-workbook.d.ts.map +1 -0
  7. package/dist/certification-workbook.js +13 -0
  8. package/dist/fiscal-engine-runtime.manifest.json +117 -112
  9. package/dist/fiscal-engine-runtime.provenance.json +194 -189
  10. package/dist/generated/certification-api-contract.d.ts +430 -0
  11. package/dist/generated/certification-api-contract.d.ts.map +1 -0
  12. package/dist/generated/certification-api-contract.js +483 -0
  13. package/dist/generated/hosted/index.d.ts +3 -3
  14. package/dist/generated/hosted/index.d.ts.map +1 -1
  15. package/dist/generated/hosted/index.js +2 -2
  16. package/dist/generated/hosted/sdk.gen.d.ts +13 -1
  17. package/dist/generated/hosted/sdk.gen.d.ts.map +1 -1
  18. package/dist/generated/hosted/sdk.gen.js +165 -1
  19. package/dist/generated/hosted/types.gen.d.ts +308 -6
  20. package/dist/generated/hosted/types.gen.d.ts.map +1 -1
  21. package/dist/generated/hosted/zod-response.gen.d.ts +322 -20
  22. package/dist/generated/hosted/zod-response.gen.d.ts.map +1 -1
  23. package/dist/generated/hosted/zod-response.gen.js +113 -5
  24. package/dist/generated/hosted/zod.gen.d.ts +221 -5
  25. package/dist/generated/hosted/zod.gen.d.ts.map +1 -1
  26. package/dist/generated/hosted/zod.gen.js +133 -5
  27. package/dist/generated/index.d.ts +3 -3
  28. package/dist/generated/index.d.ts.map +1 -1
  29. package/dist/generated/index.js +2 -2
  30. package/dist/generated/invoice-api-contract.d.ts +1345 -105
  31. package/dist/generated/invoice-api-contract.d.ts.map +1 -1
  32. package/dist/generated/invoice-api-contract.js +1755 -163
  33. package/dist/generated/problem-catalog.d.ts.map +1 -1
  34. package/dist/generated/problem-catalog.js +2 -0
  35. package/dist/generated/sdk.gen.d.ts +5 -1
  36. package/dist/generated/sdk.gen.d.ts.map +1 -1
  37. package/dist/generated/sdk.gen.js +109 -1
  38. package/dist/generated/types.gen.d.ts +523 -49
  39. package/dist/generated/types.gen.d.ts.map +1 -1
  40. package/dist/generated/zod-response.gen.d.ts +22877 -5753
  41. package/dist/generated/zod-response.gen.d.ts.map +1 -1
  42. package/dist/generated/zod-response.gen.js +219 -3
  43. package/dist/generated/zod.gen.d.ts +17435 -2747
  44. package/dist/generated/zod.gen.d.ts.map +1 -1
  45. package/dist/generated/zod.gen.js +2317 -1439
  46. package/dist/generated-operation-client.d.ts +2 -2
  47. package/dist/generated-operation-client.d.ts.map +1 -1
  48. package/dist/index.d.ts +2 -1
  49. package/dist/index.d.ts.map +1 -1
  50. package/dist/invoice-hosted-controls.d.ts +11 -2
  51. package/dist/invoice-hosted-controls.d.ts.map +1 -1
  52. package/dist/invoice-hosted-controls.js +26 -1
  53. package/dist/problem-contract.d.ts +2 -0
  54. package/dist/problem-contract.d.ts.map +1 -1
  55. package/dist/timbro_fiscal_engine_bg.wasm +0 -0
  56. 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
  */
@@ -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;
@@ -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
  };
@@ -2196,6 +2417,7 @@ export type OpenWorkspaceSessionRequest = {
2196
2417
  * An optional payment table for profiles whose official schema permits its omission.
2197
2418
  */
2198
2419
  export type OptionalPaymentAllocations = {
2420
+ payment_account?: PaymentAccount | undefined;
2199
2421
  payment_allocations?: Array<PaymentAllocation> | undefined;
2200
2422
  };
2201
2423
  export type OrganizationIdentity = {
@@ -2207,6 +2429,13 @@ export type OrganizationIdentity = {
2207
2429
  export type OrganizationResource = {
2208
2430
  organization: OrganizationIdentity;
2209
2431
  };
2432
+ /**
2433
+ * Bank details that accompany an optional payment method table.
2434
+ */
2435
+ export type PaymentAccount = {
2436
+ account_number?: string | undefined;
2437
+ bank_name?: string | undefined;
2438
+ };
2210
2439
  /**
2211
2440
  * One authoritative payment-method and amount pair from `TablaFormasPago`.
2212
2441
  */
@@ -2324,7 +2553,7 @@ export type ProblemType = "about:blank";
2324
2553
  /**
2325
2554
  * One stable public problem code returned on the `/v1` surface.
2326
2555
  */
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";
2556
+ 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
2557
  export type QualifiedProductionOrigin = {
2329
2558
  domain: string;
2330
2559
  origin: string;
@@ -2532,6 +2761,11 @@ export type ReplayWindowScope = {
2532
2761
  };
2533
2762
  export type RequirementId = "organization_identity" | "legal_issuer_identity" | "team_roles" | "source_connection" | "certificate_custody" | "first_fiscal_operation";
2534
2763
  export type RequirementStatus = "complete" | "pending" | "blocked" | "action_required";
2764
+ export type RetainedCertificationWorkbook = {
2765
+ name: string;
2766
+ sha256: string;
2767
+ sizeBytes: number;
2768
+ };
2535
2769
  export type RevokeCertificateCustodyCertificateVersionRequest = {
2536
2770
  certificate_custody_certificate_version: LedgerCounter;
2537
2771
  };
@@ -2543,15 +2777,18 @@ export type SalesTermsSpecialRegimeBuyerOptionalPaymentAllocations = {
2543
2777
  * Buyer identity alternatives admitted by the official Type 44 buyer area.
2544
2778
  */
2545
2779
  buyer: {
2780
+ delivery_phone?: string | undefined;
2546
2781
  identity_kind: "domestic";
2547
2782
  legal_name: string;
2548
2783
  tax_id: string;
2549
2784
  } | {
2785
+ delivery_phone?: string | undefined;
2550
2786
  foreign_identifier: string;
2551
2787
  identity_kind: "foreign_diplomat";
2552
2788
  legal_name: string;
2553
2789
  };
2554
2790
  income_type: "01" | "02" | "03" | "04" | "05" | "06";
2791
+ payment_account?: PaymentAccount | undefined;
2555
2792
  payment_allocations?: Array<PaymentAllocation> | undefined;
2556
2793
  payment_type: "1" | "2" | "3";
2557
2794
  };
@@ -2567,6 +2804,29 @@ export type SchemaValidationOutcome = "succeeded" | "failed";
2567
2804
  * Stage at which a fiscal XML artifact was validated.
2568
2805
  */
2569
2806
  export type SchemaValidationStage = "unsigned" | "signed";
2807
+ /**
2808
+ * Typed shipping and transport facts admitted by the official `InformacionesAdicionales` area.
2809
+ */
2810
+ export type ShipmentInformation = {
2811
+ container_number?: string | undefined;
2812
+ delivery_note_number?: string | undefined;
2813
+ driver?: string | undefined;
2814
+ gross_weight?: string | undefined;
2815
+ gross_weight_unit?: string | undefined;
2816
+ net_weight?: string | undefined;
2817
+ net_weight_unit?: string | undefined;
2818
+ package_count?: string | undefined;
2819
+ package_unit?: string | undefined;
2820
+ package_volume?: string | undefined;
2821
+ route?: string | undefined;
2822
+ shipment_date?: string | undefined;
2823
+ shipment_number?: string | undefined;
2824
+ transport_document_number?: string | undefined;
2825
+ transport_zone?: string | undefined;
2826
+ vehicle_fiche?: string | undefined;
2827
+ vehicle_plate?: string | undefined;
2828
+ volume_unit?: string | undefined;
2829
+ };
2570
2830
  export type SignedDocumentReadinessResource = {
2571
2831
  status: "not_applicable";
2572
2832
  } | {
@@ -2967,6 +3227,7 @@ export type SourceSalesPayment = {
2967
3227
  */
2968
3228
  export type SourceTaxTreatment = "itbis_18" | "itbis_16" | "zero_rated" | "exempt" | "non_billable";
2969
3229
  export type SourceType31Snapshot = {
3230
+ payment_account?: PaymentAccount | undefined;
2970
3231
  payment_allocations?: Array<PaymentAllocation> | undefined;
2971
3232
  } & {
2972
3233
  /**
@@ -2979,6 +3240,7 @@ export type SourceType31Snapshot = {
2979
3240
  address?: string | undefined;
2980
3241
  contact_name?: string | undefined;
2981
3242
  delivery_on?: string | undefined;
3243
+ delivery_phone?: string | undefined;
2982
3244
  email?: string | undefined;
2983
3245
  internal_code?: string | undefined;
2984
3246
  legal_name: string;
@@ -2991,6 +3253,7 @@ export type SourceType31Snapshot = {
2991
3253
  income_type: "01" | "02" | "03" | "04" | "05" | "06";
2992
3254
  payment_type: "1" | "2" | "3";
2993
3255
  } & {
3256
+ additional_information?: AdditionalDocumentInformation | undefined;
2994
3257
  deferred_submission?: "1" | undefined;
2995
3258
  discounts_or_surcharges?: Array<DiscountOrSurcharge> | undefined;
2996
3259
  foreign_currency?: ForeignCurrencyIntent | undefined;
@@ -2999,9 +3262,10 @@ export type SourceType31Snapshot = {
2999
3262
  tax_inclusive_amounts?: "0" | "1" | undefined;
3000
3263
  } & {
3001
3264
  currency: "DOP";
3002
- lines: Array<FiscalLineWithLegalTip>;
3265
+ lines: Array<Type31Line>;
3003
3266
  };
3004
3267
  export type SourceType32Snapshot = {
3268
+ payment_account?: PaymentAccount | undefined;
3005
3269
  payment_allocations?: Array<PaymentAllocation> | undefined;
3006
3270
  } & {
3007
3271
  /**
@@ -3014,10 +3278,12 @@ export type SourceType32Snapshot = {
3014
3278
  buyer: {
3015
3279
  identity_kind: "anonymous";
3016
3280
  } | {
3281
+ delivery_phone?: string | undefined;
3017
3282
  identity_kind: "domestic";
3018
3283
  legal_name: string;
3019
3284
  tax_id: string;
3020
3285
  } | {
3286
+ delivery_phone?: string | undefined;
3021
3287
  foreign_identifier: string;
3022
3288
  identity_kind: "foreign";
3023
3289
  legal_name: string;
@@ -3025,6 +3291,7 @@ export type SourceType32Snapshot = {
3025
3291
  income_type: "01" | "02" | "03" | "04" | "05" | "06";
3026
3292
  payment_type: "1" | "2" | "3";
3027
3293
  } & {
3294
+ additional_information?: AdditionalDocumentInformation | undefined;
3028
3295
  deferred_submission?: "1" | undefined;
3029
3296
  discounts_or_surcharges?: Array<DiscountOrSurcharge> | undefined;
3030
3297
  foreign_currency?: ForeignCurrencyIntent | undefined;
@@ -3036,6 +3303,7 @@ export type SourceType32Snapshot = {
3036
3303
  lines: Array<FiscalLineWithLegalTip>;
3037
3304
  };
3038
3305
  export type SourceType33Snapshot = {
3306
+ payment_account?: PaymentAccount | undefined;
3039
3307
  payment_allocations?: Array<PaymentAllocation> | undefined;
3040
3308
  } & {
3041
3309
  /**
@@ -3047,6 +3315,7 @@ export type SourceType33Snapshot = {
3047
3315
  address?: string | undefined;
3048
3316
  contact_name?: string | undefined;
3049
3317
  delivery_on?: string | undefined;
3318
+ delivery_phone?: string | undefined;
3050
3319
  email?: string | undefined;
3051
3320
  internal_code?: string | undefined;
3052
3321
  legal_name: string;
@@ -3058,6 +3327,7 @@ export type SourceType33Snapshot = {
3058
3327
  } & {
3059
3328
  identity_kind: "domestic";
3060
3329
  }) | {
3330
+ delivery_phone?: string | undefined;
3061
3331
  foreign_identifier: string;
3062
3332
  identity_kind: "foreign";
3063
3333
  legal_name: string;
@@ -3065,6 +3335,7 @@ export type SourceType33Snapshot = {
3065
3335
  income_type: "01" | "02" | "03" | "04" | "05" | "06";
3066
3336
  payment_type: "1" | "2" | "3";
3067
3337
  } & {
3338
+ additional_information?: AdditionalDocumentInformation | undefined;
3068
3339
  deferred_submission?: "1" | undefined;
3069
3340
  discounts_or_surcharges?: Array<DiscountOrSurcharge> | undefined;
3070
3341
  foreign_currency?: ForeignCurrencyIntent | undefined;
@@ -3084,6 +3355,7 @@ export type SourceType34Snapshot = {} & {
3084
3355
  address?: string | undefined;
3085
3356
  contact_name?: string | undefined;
3086
3357
  delivery_on?: string | undefined;
3358
+ delivery_phone?: string | undefined;
3087
3359
  email?: string | undefined;
3088
3360
  internal_code?: string | undefined;
3089
3361
  legal_name: string;
@@ -3095,6 +3367,7 @@ export type SourceType34Snapshot = {} & {
3095
3367
  } & {
3096
3368
  identity_kind: "domestic";
3097
3369
  }) | {
3370
+ delivery_phone?: string | undefined;
3098
3371
  foreign_identifier: string;
3099
3372
  identity_kind: "foreign";
3100
3373
  legal_name: string;
@@ -3102,6 +3375,7 @@ export type SourceType34Snapshot = {} & {
3102
3375
  income_type: "01" | "02" | "03" | "04" | "05" | "06";
3103
3376
  payment_type: "1" | "2" | "3";
3104
3377
  } & {
3378
+ additional_information?: AdditionalDocumentInformation | undefined;
3105
3379
  deferred_submission?: "1" | undefined;
3106
3380
  discounts_or_surcharges?: Array<DiscountOrSurcharge> | undefined;
3107
3381
  foreign_currency?: ForeignCurrencyIntent | undefined;
@@ -3115,6 +3389,7 @@ export type SourceType41Snapshot = OptionalPaymentAllocations & {
3115
3389
  payment_type: "1" | "2" | "3";
3116
3390
  supplier: UnregisteredSupplier;
3117
3391
  } & {
3392
+ additional_information?: AdditionalDocumentInformation | undefined;
3118
3393
  deferred_submission?: "1" | undefined;
3119
3394
  discounts_or_surcharges?: Array<DiscountOrSurcharge> | undefined;
3120
3395
  foreign_currency?: ForeignCurrencyIntent | undefined;
@@ -3137,6 +3412,7 @@ export type SourceType43Snapshot = {
3137
3412
  export type SourceType44Snapshot = SalesTermsSpecialRegimeBuyerOptionalPaymentAllocations & {
3138
3413
  caller_declared_eligibility: CallerDeclaredSpecialRegimeEligibility;
3139
3414
  } & {
3415
+ additional_information?: AdditionalDocumentInformation | undefined;
3140
3416
  deferred_submission?: "1" | undefined;
3141
3417
  discounts_or_surcharges?: Array<DiscountOrSurcharge> | undefined;
3142
3418
  foreign_currency?: ForeignCurrencyIntent | undefined;
@@ -3153,6 +3429,7 @@ export type SourceType45Snapshot = OptionalPaymentAllocations & {
3153
3429
  income_type: "01" | "02" | "03" | "04" | "05" | "06";
3154
3430
  payment_type: "1" | "2" | "3";
3155
3431
  } & {
3432
+ additional_information?: GovernmentAdditionalDocumentInformation | undefined;
3156
3433
  deferred_submission?: "1" | undefined;
3157
3434
  discounts_or_surcharges?: Array<DiscountOrSurcharge> | undefined;
3158
3435
  foreign_currency?: ForeignCurrencyIntent | undefined;
@@ -3169,6 +3446,7 @@ export type SourceType46Snapshot = OptionalPaymentAllocations & {
3169
3446
  income_type: "01" | "02" | "03" | "04" | "05" | "06";
3170
3447
  payment_type: "1" | "2" | "3";
3171
3448
  } & {
3449
+ additional_information?: AdditionalDocumentInformation | undefined;
3172
3450
  deferred_submission?: "1" | undefined;
3173
3451
  discounts_or_surcharges?: Array<DiscountOrSurcharge> | undefined;
3174
3452
  foreign_currency?: ForeignCurrencyIntent | undefined;
@@ -3177,7 +3455,7 @@ export type SourceType46Snapshot = OptionalPaymentAllocations & {
3177
3455
  tax_inclusive_amounts?: "0" | "1" | undefined;
3178
3456
  } & {
3179
3457
  currency: "DOP";
3180
- lines: Array<FiscalLine>;
3458
+ lines: Array<Type46Line>;
3181
3459
  };
3182
3460
  export type SourceType47Snapshot = OptionalPaymentAllocations & {
3183
3461
  foreign_payee: ForeignPayee;
@@ -3702,6 +3980,7 @@ export type TimingWorkState = "pending" | "claimed" | "settled";
3702
3980
  * Factura de Crédito Fiscal Electrónica, code 31.
3703
3981
  */
3704
3982
  export type Type31Intent = {
3983
+ additional_information?: AdditionalDocumentInformation | undefined;
3705
3984
  buyer: Buyer;
3706
3985
  currency: "DOP";
3707
3986
  deferred_submission?: "1" | undefined;
@@ -3721,14 +4000,15 @@ export type Type31Intent = {
3721
4000
  internal_order_number?: string | undefined;
3722
4001
  legal_name: string;
3723
4002
  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
- phone: string;
4003
+ phones: Array<string>;
3725
4004
  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
4005
  sales_zone?: string | undefined;
3727
4006
  seller_code?: string | undefined;
3728
4007
  tax_id: string;
3729
4008
  website?: string | undefined;
3730
4009
  };
3731
- lines: Array<FiscalLineWithLegalTip>;
4010
+ lines: Array<Type31Line>;
4011
+ payment_account?: PaymentAccount | undefined;
3732
4012
  payment_allocations?: Array<PaymentAllocation> | undefined;
3733
4013
  payment_due_on?: string | undefined;
3734
4014
  payment_type: "1" | "2" | "3";
@@ -3737,6 +4017,58 @@ export type Type31Intent = {
3737
4017
  signed_at: string;
3738
4018
  tax_inclusive_amounts?: "0" | "1" | undefined;
3739
4019
  };
4020
+ /**
4021
+ * A Type 31 line with its profile-permitted line-level discounts and surcharges.
4022
+ */
4023
+ export type Type31Line = {
4024
+ /**
4025
+ * Additional taxes admitted by the Type 31 profile (currently legal tip only).
4026
+ */
4027
+ additional_tax_codes?: Array<"001"> | undefined;
4028
+ /**
4029
+ * The line-level adjustments admitted by Type 31.
4030
+ */
4031
+ adjustments?: {
4032
+ discounts?: Array<LinePriceAdjustment> | undefined;
4033
+ surcharges?: Array<LinePriceAdjustment> | undefined;
4034
+ } | undefined;
4035
+ /**
4036
+ * ITBIS billing indicator.
4037
+ */
4038
+ billing_indicator: "0" | "1" | "2" | "3" | "4";
4039
+ /**
4040
+ * Good or service indicator.
4041
+ */
4042
+ goods_or_service_indicator: "1" | "2";
4043
+ /**
4044
+ * Optional item-identification codes.
4045
+ */
4046
+ item_codes?: Array<FiscalItemCode> | undefined;
4047
+ /**
4048
+ * Official measurement-unit code.
4049
+ */
4050
+ measurement_unit: string;
4051
+ /**
4052
+ * Item or service name.
4053
+ */
4054
+ name: string;
4055
+ /**
4056
+ * Number of units on this invoice line.
4057
+ */
4058
+ quantity: string;
4059
+ /**
4060
+ * Stable identifier for this invoice item.
4061
+ */
4062
+ source_line_id: string;
4063
+ /**
4064
+ * Marks a tax-exclusive unit price inside a tax-inclusive invoice.
4065
+ */
4066
+ tax_exclusive_unit_price?: "1" | undefined;
4067
+ /**
4068
+ * Unit price before line adjustments.
4069
+ */
4070
+ unit_price: string;
4071
+ };
3740
4072
  /**
3741
4073
  * Buyer identity alternatives admitted by the bounded Type 32 profile.
3742
4074
  *
@@ -3747,10 +4079,12 @@ export type Type31Intent = {
3747
4079
  export type Type32Buyer = {
3748
4080
  identity_kind: "anonymous";
3749
4081
  } | {
4082
+ delivery_phone?: string | undefined;
3750
4083
  identity_kind: "domestic";
3751
4084
  legal_name: string;
3752
4085
  tax_id: string;
3753
4086
  } | {
4087
+ delivery_phone?: string | undefined;
3754
4088
  foreign_identifier: string;
3755
4089
  identity_kind: "foreign";
3756
4090
  legal_name: string;
@@ -3759,6 +4093,7 @@ export type Type32Buyer = {
3759
4093
  * Factura de Consumo Electrónica, code 32.
3760
4094
  */
3761
4095
  export type Type32Intent = {
4096
+ additional_information?: AdditionalDocumentInformation | undefined;
3762
4097
  buyer: Type32Buyer;
3763
4098
  currency: "DOP";
3764
4099
  deferred_submission?: "1" | undefined;
@@ -3778,7 +4113,7 @@ export type Type32Intent = {
3778
4113
  internal_order_number?: string | undefined;
3779
4114
  legal_name: string;
3780
4115
  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
- phone: string;
4116
+ phones: Array<string>;
3782
4117
  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
4118
  sales_zone?: string | undefined;
3784
4119
  seller_code?: string | undefined;
@@ -3786,6 +4121,7 @@ export type Type32Intent = {
3786
4121
  website?: string | undefined;
3787
4122
  };
3788
4123
  lines: Array<FiscalLineWithLegalTip>;
4124
+ payment_account?: PaymentAccount | undefined;
3789
4125
  payment_allocations?: Array<PaymentAllocation> | undefined;
3790
4126
  payment_due_on?: string | undefined;
3791
4127
  payment_type: "1" | "2" | "3";
@@ -3798,6 +4134,7 @@ export type Type32Intent = {
3798
4134
  * Nota de Débito Electrónica, code 33.
3799
4135
  */
3800
4136
  export type Type33Intent = {
4137
+ additional_information?: AdditionalDocumentInformation | undefined;
3801
4138
  /**
3802
4139
  * Typed reference to the fiscal document affected by an adjustment note.
3803
4140
  */
@@ -3828,7 +4165,7 @@ export type Type33Intent = {
3828
4165
  internal_order_number?: string | undefined;
3829
4166
  legal_name: string;
3830
4167
  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
- phone: string;
4168
+ phones: Array<string>;
3832
4169
  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
4170
  sales_zone?: string | undefined;
3834
4171
  seller_code?: string | undefined;
@@ -3836,6 +4173,7 @@ export type Type33Intent = {
3836
4173
  website?: string | undefined;
3837
4174
  };
3838
4175
  lines: Array<FiscalLineWithLegalTip>;
4176
+ payment_account?: PaymentAccount | undefined;
3839
4177
  payment_allocations?: Array<PaymentAllocation> | undefined;
3840
4178
  payment_due_on?: string | undefined;
3841
4179
  payment_type: "1" | "2" | "3";
@@ -3847,6 +4185,7 @@ export type Type33Intent = {
3847
4185
  * Nota de Crédito Electrónica, code 34.
3848
4186
  */
3849
4187
  export type Type34Intent = {
4188
+ additional_information?: AdditionalDocumentInformation | undefined;
3850
4189
  /**
3851
4190
  * Typed reference to the fiscal document affected by an adjustment note.
3852
4191
  */
@@ -3877,7 +4216,7 @@ export type Type34Intent = {
3877
4216
  internal_order_number?: string | undefined;
3878
4217
  legal_name: string;
3879
4218
  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
- phone: string;
4219
+ phones: Array<string>;
3881
4220
  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
4221
  sales_zone?: string | undefined;
3883
4222
  seller_code?: string | undefined;
@@ -3895,6 +4234,7 @@ export type Type34Intent = {
3895
4234
  * Comprobante Electrónico de Compras, code 41.
3896
4235
  */
3897
4236
  export type Type41Intent = {
4237
+ additional_information?: AdditionalDocumentInformation | undefined;
3898
4238
  currency: "DOP";
3899
4239
  deferred_submission?: "1" | undefined;
3900
4240
  discounts_or_surcharges?: Array<DiscountOrSurcharge> | undefined;
@@ -3913,12 +4253,13 @@ export type Type41Intent = {
3913
4253
  internal_order_number?: string | undefined;
3914
4254
  legal_name: string;
3915
4255
  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
- phone: string;
4256
+ phones: Array<string>;
3917
4257
  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
4258
  tax_id: string;
3919
4259
  website?: string | undefined;
3920
4260
  };
3921
4261
  lines: Array<Type41Line>;
4262
+ payment_account?: PaymentAccount | undefined;
3922
4263
  payment_allocations?: Array<PaymentAllocation> | undefined;
3923
4264
  payment_due_on?: string | undefined;
3924
4265
  payment_type: "1" | "2" | "3";
@@ -3932,6 +4273,13 @@ export type Type41Intent = {
3932
4273
  * One Type 41 line with the mandatory official withholding section.
3933
4274
  */
3934
4275
  export type Type41Line = {
4276
+ /**
4277
+ * Line-level discounts and surcharges, kept separate from document-level adjustments.
4278
+ */
4279
+ adjustments?: {
4280
+ discounts?: Array<LinePriceAdjustment> | undefined;
4281
+ surcharges?: Array<LinePriceAdjustment> | undefined;
4282
+ } | undefined;
3935
4283
  billing_indicator: "1" | "2" | "3" | "4";
3936
4284
  goods_or_service_indicator: "1" | "2";
3937
4285
  item_codes?: Array<FiscalItemCode> | undefined;
@@ -3969,7 +4317,7 @@ export type Type43Intent = {
3969
4317
  internal_order_number?: string | undefined;
3970
4318
  legal_name: string;
3971
4319
  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
- phone: string;
4320
+ phones: Array<string>;
3973
4321
  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
4322
  tax_id: string;
3975
4323
  website?: string | undefined;
@@ -3984,14 +4332,17 @@ export type Type43Intent = {
3984
4332
  * Comprobante Electrónico para Regímenes Especiales, code 44.
3985
4333
  */
3986
4334
  export type Type44Intent = {
4335
+ additional_information?: AdditionalDocumentInformation | undefined;
3987
4336
  /**
3988
4337
  * Buyer identity alternatives admitted by the official Type 44 buyer area.
3989
4338
  */
3990
4339
  buyer: {
4340
+ delivery_phone?: string | undefined;
3991
4341
  identity_kind: "domestic";
3992
4342
  legal_name: string;
3993
4343
  tax_id: string;
3994
4344
  } | {
4345
+ delivery_phone?: string | undefined;
3995
4346
  foreign_identifier: string;
3996
4347
  identity_kind: "foreign_diplomat";
3997
4348
  legal_name: string;
@@ -4015,7 +4366,7 @@ export type Type44Intent = {
4015
4366
  internal_order_number?: string | undefined;
4016
4367
  legal_name: string;
4017
4368
  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
- phone: string;
4369
+ phones: Array<string>;
4019
4370
  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
4371
  sales_zone?: string | undefined;
4021
4372
  seller_code?: string | undefined;
@@ -4023,6 +4374,7 @@ export type Type44Intent = {
4023
4374
  website?: string | undefined;
4024
4375
  };
4025
4376
  lines: Array<SpecialRegimeLine>;
4377
+ payment_account?: PaymentAccount | undefined;
4026
4378
  payment_allocations?: Array<PaymentAllocation> | undefined;
4027
4379
  payment_due_on?: string | undefined;
4028
4380
  payment_type: "1" | "2" | "3";
@@ -4035,6 +4387,7 @@ export type Type44Intent = {
4035
4387
  * Comprobante Electrónico Gubernamental, code 45.
4036
4388
  */
4037
4389
  export type Type45Intent = {
4390
+ additional_information?: GovernmentAdditionalDocumentInformation | undefined;
4038
4391
  currency: "DOP";
4039
4392
  deferred_submission?: "1" | undefined;
4040
4393
  discounts_or_surcharges?: Array<DiscountOrSurcharge> | undefined;
@@ -4055,7 +4408,7 @@ export type Type45Intent = {
4055
4408
  internal_order_number?: string | undefined;
4056
4409
  legal_name: string;
4057
4410
  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
- phone: string;
4411
+ phones: Array<string>;
4059
4412
  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
4413
  sales_zone?: string | undefined;
4061
4414
  seller_code?: string | undefined;
@@ -4063,6 +4416,7 @@ export type Type45Intent = {
4063
4416
  website?: string | undefined;
4064
4417
  };
4065
4418
  lines: Array<FiscalLineWithLegalTip>;
4419
+ payment_account?: PaymentAccount | undefined;
4066
4420
  payment_allocations?: Array<PaymentAllocation> | undefined;
4067
4421
  payment_due_on?: string | undefined;
4068
4422
  payment_type: "1" | "2" | "3";
@@ -4075,6 +4429,7 @@ export type Type45Intent = {
4075
4429
  * Comprobante para Exportaciones Electrónico, code 46.
4076
4430
  */
4077
4431
  export type Type46Intent = {
4432
+ additional_information?: AdditionalDocumentInformation | undefined;
4078
4433
  currency: "DOP";
4079
4434
  deferred_submission?: "1" | undefined;
4080
4435
  discounts_or_surcharges?: Array<DiscountOrSurcharge> | undefined;
@@ -4095,14 +4450,15 @@ export type Type46Intent = {
4095
4450
  internal_order_number?: string | undefined;
4096
4451
  legal_name: string;
4097
4452
  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
- phone: string;
4453
+ phones: Array<string>;
4099
4454
  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
4455
  sales_zone?: string | undefined;
4101
4456
  seller_code?: string | undefined;
4102
4457
  tax_id: string;
4103
4458
  website?: string | undefined;
4104
4459
  };
4105
- lines: Array<FiscalLine>;
4460
+ lines: Array<Type46Line>;
4461
+ payment_account?: PaymentAccount | undefined;
4106
4462
  payment_allocations?: Array<PaymentAllocation> | undefined;
4107
4463
  payment_due_on?: string | undefined;
4108
4464
  payment_type: "1" | "2" | "3";
@@ -4111,6 +4467,26 @@ export type Type46Intent = {
4111
4467
  signed_at: string;
4112
4468
  tax_inclusive_amounts?: "0" | "1" | undefined;
4113
4469
  };
4470
+ /**
4471
+ * A Type 46 line with its profile-permitted line-level discounts and surcharges.
4472
+ */
4473
+ export type Type46Line = {
4474
+ /**
4475
+ * Line-level discounts and surcharges, kept separate from document-level adjustments.
4476
+ */
4477
+ adjustments?: {
4478
+ discounts?: Array<LinePriceAdjustment> | undefined;
4479
+ surcharges?: Array<LinePriceAdjustment> | undefined;
4480
+ } | undefined;
4481
+ billing_indicator: "0" | "1" | "2" | "3" | "4";
4482
+ goods_or_service_indicator: "1" | "2";
4483
+ item_codes?: Array<FiscalItemCode> | undefined;
4484
+ measurement_unit: string;
4485
+ name: string;
4486
+ quantity: string;
4487
+ source_line_id: string;
4488
+ unit_price: string;
4489
+ };
4114
4490
  /**
4115
4491
  * Comprobante para Pagos al Exterior Electrónico, code 47.
4116
4492
  */
@@ -4132,12 +4508,13 @@ export type Type47Intent = {
4132
4508
  internal_order_number?: string | undefined;
4133
4509
  legal_name: string;
4134
4510
  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
- phone: string;
4511
+ phones: Array<string>;
4136
4512
  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
4513
  tax_id: string;
4138
4514
  website?: string | undefined;
4139
4515
  };
4140
4516
  lines: Array<ForeignPaymentLine>;
4517
+ payment_account?: PaymentAccount | undefined;
4141
4518
  payment_allocations?: Array<PaymentAllocation> | undefined;
4142
4519
  payment_due_on?: string | undefined;
4143
4520
  payment_type?: "1" | "2" | "3" | undefined;
@@ -4703,8 +5080,8 @@ export type CreateHostedTenantWebhookSecretRotationData = {
4703
5080
  /**
4704
5081
  * Replays the rotation this key already made while the secret it displaced is still signing. A request that omits it rotates.
4705
5082
  */
4706
- "Idempotency-Key"?: string | undefined;
4707
- };
5083
+ "Idempotency-Key"?: string;
5084
+ } | undefined;
4708
5085
  path: {
4709
5086
  /**
4710
5087
  * The Source connection the hosted tenant binding names.
@@ -4748,6 +5125,103 @@ export type CreateHostedTenantWebhookSecretRotationResponses = {
4748
5125
  201: HostedWebhookSecretRotation;
4749
5126
  };
4750
5127
  export type CreateHostedTenantWebhookSecretRotationResponse = CreateHostedTenantWebhookSecretRotationResponses[keyof CreateHostedTenantWebhookSecretRotationResponses];
5128
+ export type UploadHostedCertificationTestSetData = {
5129
+ body: CertificationTestSetUploadRequest;
5130
+ headers: {
5131
+ "Idempotency-Key": string;
5132
+ };
5133
+ path: {
5134
+ attemptReference: string;
5135
+ };
5136
+ query?: {
5137
+ /**
5138
+ * Hosted tenant selected by a service credential. Source credentials omit this parameter.
5139
+ */
5140
+ checkout_tenant_id?: string | undefined;
5141
+ /**
5142
+ * Required with hosted tenant coordinates; must be certification.
5143
+ */
5144
+ environment?: FiscalEnvironment | undefined;
5145
+ } | undefined;
5146
+ url: "/internal/hosted/certification/{attemptReference}/test-sets";
5147
+ };
5148
+ export type UploadHostedCertificationTestSetErrors = {
5149
+ /**
5150
+ * The native stamp server returned a typed Problem.
5151
+ */
5152
+ 401: ProblemBody;
5153
+ /**
5154
+ * The environment or idempotency precondition conflicts.
5155
+ */
5156
+ 409: ProblemBody;
5157
+ /**
5158
+ * The native stamp server returned a typed Problem.
5159
+ */
5160
+ 413: ProblemBody;
5161
+ /**
5162
+ * The native stamp server returned a typed Problem.
5163
+ */
5164
+ 415: ProblemBody;
5165
+ /**
5166
+ * The workbook cannot be safely interpreted for this issuer.
5167
+ */
5168
+ 422: ProblemBody;
5169
+ /**
5170
+ * The native stamp server returned a typed Problem.
5171
+ */
5172
+ 500: ProblemBody;
5173
+ };
5174
+ export type UploadHostedCertificationTestSetError = UploadHostedCertificationTestSetErrors[keyof UploadHostedCertificationTestSetErrors];
5175
+ export type UploadHostedCertificationTestSetResponses = {
5176
+ /**
5177
+ * The original upload recovered by its idempotency key.
5178
+ */
5179
+ 200: CertificationTestSetResource;
5180
+ /**
5181
+ * The original workbook is retained for review. Uploading never submits fiscal documents.
5182
+ */
5183
+ 201: CertificationTestSetResource;
5184
+ };
5185
+ export type UploadHostedCertificationTestSetResponse = UploadHostedCertificationTestSetResponses[keyof UploadHostedCertificationTestSetResponses];
5186
+ export type RetrieveHostedCertificationTestSetData = {
5187
+ body?: never | undefined;
5188
+ path: {
5189
+ attemptReference: string;
5190
+ };
5191
+ query?: {
5192
+ /**
5193
+ * Hosted tenant selected by a service credential. Source credentials omit this parameter.
5194
+ */
5195
+ checkout_tenant_id?: string | undefined;
5196
+ /**
5197
+ * Required with hosted tenant coordinates; must be certification.
5198
+ */
5199
+ environment?: FiscalEnvironment | undefined;
5200
+ } | undefined;
5201
+ url: "/internal/hosted/certification/{attemptReference}/test-sets/current";
5202
+ };
5203
+ export type RetrieveHostedCertificationTestSetErrors = {
5204
+ /**
5205
+ * The native stamp server returned a typed Problem.
5206
+ */
5207
+ 401: ProblemBody;
5208
+ /**
5209
+ * The native stamp server returned a typed Problem.
5210
+ */
5211
+ 409: ProblemBody;
5212
+ /**
5213
+ * The native stamp server returned a typed Problem.
5214
+ */
5215
+ 500: ProblemBody;
5216
+ };
5217
+ export type RetrieveHostedCertificationTestSetError = RetrieveHostedCertificationTestSetErrors[keyof RetrieveHostedCertificationTestSetErrors];
5218
+ export type RetrieveHostedCertificationTestSetResponses = {
5219
+ /**
5220
+ * The latest retained workbook, or null when no set was uploaded.
5221
+ */
5222
+ 200: CurrentCertificationTestSet;
5223
+ };
5224
+ export type RetrieveHostedCertificationTestSetResponse = RetrieveHostedCertificationTestSetResponses[keyof RetrieveHostedCertificationTestSetResponses];
4751
5225
  export type ListHostedInvoicesData = {
4752
5226
  body?: never | undefined;
4753
5227
  path?: never | undefined;
@@ -5177,7 +5651,7 @@ export type ListFiscalOperationsData = {
5177
5651
  * How many resources the page carries.
5178
5652
  */
5179
5653
  limit?: number | undefined;
5180
- };
5654
+ } | undefined;
5181
5655
  url: "/v1/admin/fiscal-operations";
5182
5656
  };
5183
5657
  export type ListFiscalOperationsErrors = {
@@ -5298,7 +5772,7 @@ export type FindFiscalOperationBySourceData = {
5298
5772
  * The Fiscal environment selected by the hosted tenant binding.
5299
5773
  */
5300
5774
  environment?: FiscalEnvironment | undefined;
5301
- };
5775
+ } | undefined;
5302
5776
  url: "/v1/admin/fiscal-operations/by-source/{source_id}/versions/{source_version}";
5303
5777
  };
5304
5778
  export type FindFiscalOperationBySourceErrors = {
@@ -5826,7 +6300,7 @@ export type ListInvoicesData = {
5826
6300
  limit?: number | undefined;
5827
6301
  invoiceReference?: string | undefined;
5828
6302
  type?: InvoiceType | undefined;
5829
- };
6303
+ } | undefined;
5830
6304
  url: "/v1/invoices";
5831
6305
  };
5832
6306
  export type ListInvoicesErrors = {
@@ -5862,7 +6336,7 @@ export type CreateInvoiceData = {
5862
6336
  * Optional immutable command identity. Omission derives a key from invoiceReference; retries return current state.
5863
6337
  */
5864
6338
  "Idempotency-Key"?: string;
5865
- };
6339
+ } | undefined;
5866
6340
  path?: never | undefined;
5867
6341
  query?: never | undefined;
5868
6342
  url: "/v1/invoices";
@@ -6407,7 +6881,7 @@ export type ReadAuditEventsData = {
6407
6881
  * How many resources the page carries.
6408
6882
  */
6409
6883
  limit?: number | undefined;
6410
- };
6884
+ } | undefined;
6411
6885
  url: "/v1/organizations/{organization_id}/audit-events";
6412
6886
  };
6413
6887
  export type ReadAuditEventsErrors = {
@@ -6457,7 +6931,7 @@ export type ListCertificateCustodyBindingsData = {
6457
6931
  * How many resources the page carries.
6458
6932
  */
6459
6933
  limit?: number | undefined;
6460
- };
6934
+ } | undefined;
6461
6935
  url: "/v1/organizations/{organization_id}/certificate-custody/bindings";
6462
6936
  };
6463
6937
  export type ListCertificateCustodyBindingsErrors = {
@@ -6815,7 +7289,7 @@ export type ListOrganizationFiscalOperationsData = {
6815
7289
  * How many resources the page carries.
6816
7290
  */
6817
7291
  limit?: number | undefined;
6818
- };
7292
+ } | undefined;
6819
7293
  url: "/v1/organizations/{organization_id}/fiscal-operations";
6820
7294
  };
6821
7295
  export type ListOrganizationFiscalOperationsErrors = {
@@ -6865,7 +7339,7 @@ export type ReadOrganizationFiscalOperationData = {
6865
7339
  * How many resources the page carries.
6866
7340
  */
6867
7341
  limit?: number | undefined;
6868
- };
7342
+ } | undefined;
6869
7343
  url: "/v1/organizations/{organization_id}/fiscal-operations/{fiscal_operation_id}";
6870
7344
  };
6871
7345
  export type ReadOrganizationFiscalOperationErrors = {
@@ -7017,7 +7491,7 @@ export type ListInvitationsData = {
7017
7491
  * How many resources the page carries.
7018
7492
  */
7019
7493
  limit?: number | undefined;
7020
- };
7494
+ } | undefined;
7021
7495
  url: "/v1/organizations/{organization_id}/invitations";
7022
7496
  };
7023
7497
  export type ListInvitationsErrors = {
@@ -7116,7 +7590,7 @@ export type ListLegalIssuersData = {
7116
7590
  * How many resources the page carries.
7117
7591
  */
7118
7592
  limit?: number | undefined;
7119
- };
7593
+ } | undefined;
7120
7594
  url: "/v1/organizations/{organization_id}/legal-issuers";
7121
7595
  };
7122
7596
  export type ListLegalIssuersErrors = {
@@ -7493,7 +7967,7 @@ export type ListReceivedDocumentsData = {
7493
7967
  * How many resources the page carries.
7494
7968
  */
7495
7969
  limit?: number | undefined;
7496
- };
7970
+ } | undefined;
7497
7971
  url: "/v1/organizations/{organization_id}/received-documents";
7498
7972
  };
7499
7973
  export type ListReceivedDocumentsErrors = {
@@ -7690,7 +8164,7 @@ export type ListSourceConnectionsData = {
7690
8164
  * How many resources the page carries.
7691
8165
  */
7692
8166
  limit?: number | undefined;
7693
- };
8167
+ } | undefined;
7694
8168
  url: "/v1/organizations/{organization_id}/source-connections";
7695
8169
  };
7696
8170
  export type ListSourceConnectionsErrors = {
@@ -7901,7 +8375,7 @@ export type ListSourceProviderAuthorizationsData = {
7901
8375
  * How many resources the page carries.
7902
8376
  */
7903
8377
  limit?: number | undefined;
7904
- };
8378
+ } | undefined;
7905
8379
  url: "/v1/organizations/{organization_id}/source-provider-authorizations";
7906
8380
  };
7907
8381
  export type ListSourceProviderAuthorizationsErrors = {
@@ -8037,7 +8511,7 @@ export type ListAuthorizedVercelProjectsData = {
8037
8511
  * How many resources the page carries.
8038
8512
  */
8039
8513
  limit?: number | undefined;
8040
- };
8514
+ } | undefined;
8041
8515
  url: "/v1/organizations/{organization_id}/source-provider-authorizations/{source_provider_authorization_id}/vercel/projects";
8042
8516
  };
8043
8517
  export type ListAuthorizedVercelProjectsErrors = {
@@ -8167,7 +8641,7 @@ export type ListSourceReceivedDocumentsData = {
8167
8641
  * The Fiscal environment of that retained Source connection.
8168
8642
  */
8169
8643
  environment?: FiscalEnvironment | undefined;
8170
- };
8644
+ } | undefined;
8171
8645
  url: "/v1/received-documents";
8172
8646
  };
8173
8647
  export type ListSourceReceivedDocumentsErrors = {
@@ -8217,7 +8691,7 @@ export type GetSourceReceivedDocumentData = {
8217
8691
  * The Fiscal environment of that retained Source connection.
8218
8692
  */
8219
8693
  environment?: FiscalEnvironment | undefined;
8220
- };
8694
+ } | undefined;
8221
8695
  url: "/v1/received-documents/{receivedDocumentId}";
8222
8696
  };
8223
8697
  export type GetSourceReceivedDocumentErrors = {
@@ -8263,7 +8737,7 @@ export type RespondToReceivedDocumentData = {
8263
8737
  * The Fiscal environment of that retained Source connection.
8264
8738
  */
8265
8739
  environment?: FiscalEnvironment | undefined;
8266
- };
8740
+ } | undefined;
8267
8741
  url: "/v1/received-documents/{receivedDocumentId}/commercial-response";
8268
8742
  };
8269
8743
  export type RespondToReceivedDocumentErrors = {
@@ -8321,7 +8795,7 @@ export type DownloadSourceReceivedDocumentXmlData = {
8321
8795
  * The Fiscal environment of that retained Source connection.
8322
8796
  */
8323
8797
  environment?: FiscalEnvironment | undefined;
8324
- };
8798
+ } | undefined;
8325
8799
  url: "/v1/received-documents/{receivedDocumentId}/files/xml";
8326
8800
  };
8327
8801
  export type DownloadSourceReceivedDocumentXmlErrors = {
@@ -8614,7 +9088,7 @@ export type ListWebhookDeliveriesData = {
8614
9088
  * Repeat the parameter to match several states; omit it to match every state.
8615
9089
  */
8616
9090
  state?: Array<WebhookDeliveryState> | undefined;
8617
- };
9091
+ } | undefined;
8618
9092
  url: "/v1/webhook-endpoints/{webhookEndpointId}/deliveries";
8619
9093
  };
8620
9094
  export type ListWebhookDeliveriesErrors = {