@timbro/invoices 0.11.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 (59) hide show
  1. package/README.md +46 -0
  2. package/dist/admin.d.ts +2 -1
  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 +31 -1
  17. package/dist/generated/hosted/sdk.gen.d.ts.map +1 -1
  18. package/dist/generated/hosted/sdk.gen.js +389 -1
  19. package/dist/generated/hosted/types.gen.d.ts +878 -36
  20. package/dist/generated/hosted/types.gen.d.ts.map +1 -1
  21. package/dist/generated/hosted/zod-response.gen.d.ts +6005 -192
  22. package/dist/generated/hosted/zod-response.gen.d.ts.map +1 -1
  23. package/dist/generated/hosted/zod-response.gen.js +766 -231
  24. package/dist/generated/hosted/zod.gen.d.ts +1622 -7
  25. package/dist/generated/hosted/zod.gen.d.ts.map +1 -1
  26. package/dist/generated/hosted/zod.gen.js +830 -215
  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 +534 -51
  39. package/dist/generated/types.gen.d.ts.map +1 -1
  40. package/dist/generated/zod-response.gen.d.ts +21272 -4130
  41. package/dist/generated/zod-response.gen.d.ts.map +1 -1
  42. package/dist/generated/zod-response.gen.js +230 -4
  43. package/dist/generated/zod.gen.d.ts +17458 -2747
  44. package/dist/generated/zod.gen.d.ts.map +1 -1
  45. package/dist/generated/zod.gen.js +2333 -1441
  46. package/dist/generated-operation-client.d.ts +2 -2
  47. package/dist/generated-operation-client.d.ts.map +1 -1
  48. package/dist/hosted-tenant.d.ts +9 -0
  49. package/dist/hosted-tenant.d.ts.map +1 -1
  50. package/dist/hosted-tenant.js +7 -0
  51. package/dist/index.d.ts +2 -1
  52. package/dist/index.d.ts.map +1 -1
  53. package/dist/invoice-hosted-controls.d.ts +31 -3
  54. package/dist/invoice-hosted-controls.d.ts.map +1 -1
  55. package/dist/invoice-hosted-controls.js +73 -12
  56. package/dist/problem-contract.d.ts +2 -0
  57. package/dist/problem-contract.d.ts.map +1 -1
  58. package/dist/timbro_fiscal_engine_bg.wasm +0 -0
  59. package/package.json +3 -3
@@ -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;
@@ -868,7 +907,7 @@ export type HealthReadyResponse = {
868
907
  status: HealthStatus;
869
908
  };
870
909
  export type HealthStatus = "ok" | "unavailable";
871
- export type HostedCertificateImportEnvironment = "sandbox" | "production";
910
+ export type HostedCertificateImportEnvironment = "sandbox" | "certification" | "production";
872
911
  export type HostedFiscalOperationSubmission = {
873
912
  /**
874
913
  * The hosted Checkout tenant the service acts for.
@@ -894,7 +933,7 @@ export type HostedImportResponse = {
894
933
  object: string;
895
934
  signer_subject_serial_number: string;
896
935
  };
897
- export type HostedInvoiceCredentialEnvironment = "sandbox" | "production";
936
+ export type HostedInvoiceCredentialEnvironment = "sandbox" | "certification" | "production";
898
937
  export type HostedInvoiceCredentialRequest = {
899
938
  checkout_tenant_id: string;
900
939
  environment: HostedInvoiceCredentialEnvironment;
@@ -915,6 +954,11 @@ export type HostedInvoiceSubmission = {
915
954
  environment: FiscalEnvironment;
916
955
  request: InvoiceRequest;
917
956
  };
957
+ export type HostedReceiverUrls = {
958
+ base_url: string;
959
+ commercial_approval_url: string;
960
+ reception_url: string;
961
+ };
918
962
  export type HostedTenantResource = {
919
963
  /**
920
964
  * The binding identity the Checkout host uses for an exact release request.
@@ -922,6 +966,10 @@ export type HostedTenantResource = {
922
966
  hosted_tenant_binding_id: string;
923
967
  legal_issuer_id: string;
924
968
  organization_id: string;
969
+ /**
970
+ * Assigned receiver addresses; certificate import and communication checks establish readiness.
971
+ */
972
+ receiver_urls: HostedReceiverUrls;
925
973
  source_connection_id: string;
926
974
  /**
927
975
  * The endpoint this binding's Webhook deliveries are listed and replayed by.
@@ -976,6 +1024,33 @@ export type InviteMemberRequest = {
976
1024
  email: IdentityEmailSchema;
977
1025
  role: MembershipRole;
978
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
+ };
979
1054
  export type InvoiceAffectedDocumentAttribution = {
980
1055
  invoiceId: string;
981
1056
  kind: "internalOperation";
@@ -992,6 +1067,7 @@ export type InvoiceAffectedFiscalDocument = {
992
1067
  };
993
1068
  export type InvoiceBuyer = {
994
1069
  address?: null | string | undefined;
1070
+ deliveryPhone?: null | string | undefined;
995
1071
  email?: null | string | undefined;
996
1072
  legalName: string;
997
1073
  taxId: string;
@@ -1016,19 +1092,23 @@ export type InvoiceBuyerDeliveryReadiness = {
1016
1092
  export type InvoiceBuyerIdentity = {
1017
1093
  kind: "anonymous";
1018
1094
  } | {
1095
+ deliveryPhone?: string | undefined;
1019
1096
  kind: "domestic";
1020
1097
  legalName: string;
1021
1098
  taxId: string;
1022
1099
  } | {
1100
+ deliveryPhone?: string | undefined;
1023
1101
  foreignId: string;
1024
1102
  kind: "foreign";
1025
1103
  legalName: string;
1026
1104
  };
1027
1105
  export type InvoiceConsumerBuyer = {
1106
+ deliveryPhone?: null | string | undefined;
1028
1107
  kind: "domestic";
1029
1108
  legalName: string;
1030
1109
  taxId: string;
1031
1110
  } | {
1111
+ deliveryPhone?: null | string | undefined;
1032
1112
  foreignId: string;
1033
1113
  kind: "foreign";
1034
1114
  legalName: string;
@@ -1097,6 +1177,7 @@ export type InvoiceExpectedTotals = {
1097
1177
  * ForeignBuyer
1098
1178
  */
1099
1179
  export type InvoiceExportBuyer = {
1180
+ deliveryPhone?: null | string | undefined;
1100
1181
  foreignId: string;
1101
1182
  kind: "foreign";
1102
1183
  legalName: string;
@@ -1109,6 +1190,7 @@ export type InvoiceExportEligibility = {
1109
1190
  exporterKind: "free_zone_business";
1110
1191
  };
1111
1192
  export type InvoiceExportItem = {
1193
+ adjustments?: null | LinePriceAdjustments | undefined;
1112
1194
  description: string;
1113
1195
  id?: null | string | undefined;
1114
1196
  itemCodes?: null | Array<InvoiceItemCode> | undefined;
@@ -1160,6 +1242,29 @@ export type InvoiceForeignPaymentWithholdingBasis = {
1160
1242
  authorityReference: string;
1161
1243
  kind: "dominicanSourceIncome";
1162
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
+ };
1163
1268
  export type InvoiceGovernmentEligibility = {
1164
1269
  authorityReference: string;
1165
1270
  entityKind: "central_government";
@@ -1185,6 +1290,7 @@ export type InvoiceGovernmentItem = {
1185
1290
  unitPrice: string;
1186
1291
  };
1187
1292
  export type InvoiceItem = {
1293
+ adjustments?: null | LinePriceAdjustments | undefined;
1188
1294
  description: string;
1189
1295
  id?: null | string | undefined;
1190
1296
  itemCodes?: null | Array<InvoiceItemCode> | undefined;
@@ -1205,6 +1311,7 @@ export type InvoiceItemCodeResource = {
1205
1311
  };
1206
1312
  export type InvoiceItemResource = {
1207
1313
  additionalTaxCodes: Array<string>;
1314
+ adjustments: null | InvoiceLinePriceAdjustmentsResource;
1208
1315
  description: string;
1209
1316
  id: string;
1210
1317
  itemCodes: Array<InvoiceItemCodeResource>;
@@ -1232,6 +1339,17 @@ export type InvoiceLatestEvent = {
1232
1339
  occurredAt: string;
1233
1340
  sequence: string;
1234
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
+ };
1235
1353
  export type InvoiceMinorExpenseItem = {
1236
1354
  description: string;
1237
1355
  id?: null | string | undefined;
@@ -1256,12 +1374,20 @@ export type InvoicePage = {
1256
1374
  nextCursor: string | null;
1257
1375
  object: CollectionObject;
1258
1376
  };
1377
+ export type InvoicePaymentAccountResource = {
1378
+ accountNumber: null | string;
1379
+ bankName: null | string;
1380
+ };
1259
1381
  export type InvoicePaymentAllocation = {
1260
1382
  amount: string;
1261
1383
  method: SourcePaymentMethod;
1262
1384
  };
1263
1385
  export type InvoicePaymentTerms = {
1264
1386
  allocations?: null | Array<InvoicePaymentAllocation> | undefined;
1387
+ paymentAccount?: {
1388
+ accountNumber?: null | string | undefined;
1389
+ bankName?: null | string | undefined;
1390
+ } | undefined;
1265
1391
  type: "immediate";
1266
1392
  } | {
1267
1393
  /**
@@ -1274,6 +1400,7 @@ export type InvoicePaymentTerms = {
1274
1400
  };
1275
1401
  export type InvoicePaymentTermsResource = {
1276
1402
  allocations: Array<InvoicePaymentAllocation>;
1403
+ paymentAccount?: InvoicePaymentAccountResource | undefined;
1277
1404
  type: "immediate";
1278
1405
  } | {
1279
1406
  /**
@@ -1315,6 +1442,7 @@ export type InvoicePreview = {
1315
1442
  };
1316
1443
  export type InvoiceProcessingStage = "admitted" | "signed" | "consumerSummarySigned" | "submitted" | "authorityProcessing";
1317
1444
  export type InvoicePurchaseItem = {
1445
+ adjustments?: null | LinePriceAdjustments | undefined;
1318
1446
  description: string;
1319
1447
  id?: null | string | undefined;
1320
1448
  itemCodes?: null | Array<InvoiceItemCode> | undefined;
@@ -1373,7 +1501,40 @@ export type InvoiceReceiptFiles = {
1373
1501
  pdf: InvoicePdfReadiness;
1374
1502
  };
1375
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
+ };
1376
1536
  export type InvoiceRequest = {
1537
+ additionalInformation?: null | InvoiceAdditionalInformation | undefined;
1377
1538
  buyer: InvoiceBuyer;
1378
1539
  currency: "DOP";
1379
1540
  expectedTotals?: null | InvoiceExpectedTotals | undefined;
@@ -1386,9 +1547,11 @@ export type InvoiceRequest = {
1386
1547
  numbering?: null | InvoiceNumbering | undefined;
1387
1548
  paymentTerms: InvoicePaymentTerms;
1388
1549
  pdfLayout?: null | InvoicePdfLayout | undefined;
1550
+ referenceInformation?: null | InvoiceReferenceInformation | undefined;
1389
1551
  source?: null | InvoiceSourceInput | undefined;
1390
1552
  type: "E31";
1391
1553
  } | {
1554
+ additionalInformation?: null | InvoiceAdditionalInformation | undefined;
1392
1555
  buyer?: null | InvoiceConsumerBuyer | undefined;
1393
1556
  currency: "DOP";
1394
1557
  expectedTotals?: null | InvoiceExpectedTotals | undefined;
@@ -1401,9 +1564,11 @@ export type InvoiceRequest = {
1401
1564
  numbering?: null | InvoiceNumbering | undefined;
1402
1565
  paymentTerms: InvoicePaymentTerms;
1403
1566
  pdfLayout?: null | InvoicePdfLayout | undefined;
1567
+ referenceInformation?: null | InvoiceReferenceInformation | undefined;
1404
1568
  source?: null | InvoiceSourceInput | undefined;
1405
1569
  type: "E32";
1406
1570
  } | {
1571
+ additionalInformation?: null | InvoiceAdditionalInformation | undefined;
1407
1572
  currency: "DOP";
1408
1573
  expectedTotals?: null | InvoiceExpectedTotals | undefined;
1409
1574
  /**
@@ -1414,6 +1579,7 @@ export type InvoiceRequest = {
1414
1579
  numbering?: null | InvoiceNumbering | undefined;
1415
1580
  paymentTerms: InvoicePaymentTerms;
1416
1581
  pdfLayout?: null | InvoicePdfLayout | undefined;
1582
+ referenceInformation?: null | InvoiceReferenceInformation | undefined;
1417
1583
  source?: null | InvoiceSourceInput | undefined;
1418
1584
  supplier: {
1419
1585
  address?: null | string | undefined;
@@ -1427,10 +1593,12 @@ export type InvoiceRequest = {
1427
1593
  };
1428
1594
  type: "E41";
1429
1595
  } | {
1596
+ additionalInformation?: null | InvoiceGovernmentAdditionalInformation | undefined;
1430
1597
  buyer: {
1431
1598
  address?: null | string | undefined;
1432
1599
  contactName?: null | string | undefined;
1433
1600
  deliveryOn?: null | string | undefined;
1601
+ deliveryPhone?: null | string | undefined;
1434
1602
  email?: null | string | undefined;
1435
1603
  internalCode?: null | string | undefined;
1436
1604
  legalName: string;
@@ -1452,6 +1620,7 @@ export type InvoiceRequest = {
1452
1620
  numbering?: null | InvoiceNumbering | undefined;
1453
1621
  paymentTerms: InvoicePaymentTerms;
1454
1622
  pdfLayout?: null | InvoicePdfLayout | undefined;
1623
+ referenceInformation?: null | InvoiceReferenceInformation | undefined;
1455
1624
  source?: null | InvoiceSourceInput | undefined;
1456
1625
  type: "E45";
1457
1626
  } | {
@@ -1466,6 +1635,7 @@ export type InvoiceRequest = {
1466
1635
  numbering?: null | InvoiceNumbering | undefined;
1467
1636
  paymentTerms?: null | InvoiceMinorExpensePaymentTerms | undefined;
1468
1637
  pdfLayout?: null | InvoicePdfLayout | undefined;
1638
+ referenceInformation?: null | InvoiceReferenceInformation | undefined;
1469
1639
  source?: null | InvoiceSourceInput | undefined;
1470
1640
  type: "E43";
1471
1641
  } | {
@@ -1481,10 +1651,12 @@ export type InvoiceRequest = {
1481
1651
  numbering?: null | InvoiceNumbering | undefined;
1482
1652
  paymentTerms?: null | InvoicePaymentTerms | undefined;
1483
1653
  pdfLayout?: null | InvoicePdfLayout | undefined;
1654
+ referenceInformation?: null | InvoiceReferenceInformation | undefined;
1484
1655
  source?: null | InvoiceSourceInput | undefined;
1485
1656
  type: "E47";
1486
1657
  withholdingBasis: InvoiceForeignPaymentBasis;
1487
1658
  } | {
1659
+ additionalInformation?: null | InvoiceAdditionalInformation | undefined;
1488
1660
  buyer: InvoiceSpecialRegimeBuyer;
1489
1661
  currency: "DOP";
1490
1662
  eligibility: InvoiceSpecialRegimeEligibility;
@@ -1499,9 +1671,11 @@ export type InvoiceRequest = {
1499
1671
  numbering?: null | InvoiceNumbering | undefined;
1500
1672
  paymentTerms: InvoicePaymentTerms;
1501
1673
  pdfLayout?: null | InvoicePdfLayout | undefined;
1674
+ referenceInformation?: null | InvoiceReferenceInformation | undefined;
1502
1675
  source?: null | InvoiceSourceInput | undefined;
1503
1676
  type: "E44";
1504
1677
  } | {
1678
+ additionalInformation?: null | InvoiceAdditionalInformation | undefined;
1505
1679
  buyer: InvoiceExportBuyer;
1506
1680
  currency: "DOP";
1507
1681
  eligibility: InvoiceExportEligibility;
@@ -1516,9 +1690,11 @@ export type InvoiceRequest = {
1516
1690
  numbering?: null | InvoiceNumbering | undefined;
1517
1691
  paymentTerms: InvoicePaymentTerms;
1518
1692
  pdfLayout?: null | InvoicePdfLayout | undefined;
1693
+ referenceInformation?: null | InvoiceReferenceInformation | undefined;
1519
1694
  source?: null | InvoiceSourceInput | undefined;
1520
1695
  type: "E46";
1521
1696
  } | {
1697
+ additionalInformation?: null | InvoiceAdditionalInformation | undefined;
1522
1698
  currency: "DOP";
1523
1699
  expectedTotals?: null | InvoiceExpectedTotals | undefined;
1524
1700
  incomeType?: null | "01" | "02" | "03" | "04" | "05" | "06" | undefined;
@@ -1536,6 +1712,7 @@ export type InvoiceRequest = {
1536
1712
  source?: null | InvoiceSourceInput | undefined;
1537
1713
  type: "E33";
1538
1714
  } | {
1715
+ additionalInformation?: null | InvoiceAdditionalInformation | undefined;
1539
1716
  currency: "DOP";
1540
1717
  expectedTotals?: null | InvoiceExpectedTotals | undefined;
1541
1718
  incomeType?: null | "01" | "02" | "03" | "04" | "05" | "06" | undefined;
@@ -1555,6 +1732,7 @@ export type InvoiceRequest = {
1555
1732
  };
1556
1733
  export type InvoiceResource = {
1557
1734
  acceptedAt: string | null;
1735
+ additionalInformation: null | InvoiceAdditionalInformationResource;
1558
1736
  buyer: null | InvoiceBuyerIdentity;
1559
1737
  buyerDeliveryReadiness: InvoiceBuyerDeliveryReadiness;
1560
1738
  corrections: Array<InvoiceCorrection>;
@@ -1573,6 +1751,7 @@ export type InvoiceResource = {
1573
1751
  latestEvent: null | InvoiceLatestEvent;
1574
1752
  originalInvoiceId: string | null;
1575
1753
  paymentTerms: null | InvoicePaymentTermsResource;
1754
+ referenceInformation: null | InvoiceReferenceInformationResource;
1576
1755
  /**
1577
1756
  * The predecessor retained when this Invoice replaced a rejected Source operation.
1578
1757
  */
@@ -1585,6 +1764,7 @@ export type InvoiceResource = {
1585
1764
  updatedAt: string;
1586
1765
  } | {
1587
1766
  acceptedAt: string | null;
1767
+ additionalInformation: null | InvoiceAdditionalInformationResource;
1588
1768
  buyer: null | InvoiceBuyerIdentity;
1589
1769
  buyerDeliveryReadiness: InvoiceBuyerDeliveryReadiness;
1590
1770
  corrections: Array<InvoiceCorrection>;
@@ -1604,6 +1784,7 @@ export type InvoiceResource = {
1604
1784
  latestEvent: null | InvoiceLatestEvent;
1605
1785
  originalInvoiceId: string | null;
1606
1786
  paymentTerms: null | InvoicePaymentTermsResource;
1787
+ referenceInformation: null | InvoiceReferenceInformationResource;
1607
1788
  /**
1608
1789
  * The predecessor retained when this Invoice replaced a rejected Source operation.
1609
1790
  */
@@ -1617,6 +1798,7 @@ export type InvoiceResource = {
1617
1798
  updatedAt: string;
1618
1799
  } | {
1619
1800
  acceptedAt: string | null;
1801
+ additionalInformation: null | InvoiceAdditionalInformationResource;
1620
1802
  buyer: null | InvoiceBuyerIdentity;
1621
1803
  buyerDeliveryReadiness: InvoiceBuyerDeliveryReadiness;
1622
1804
  corrections: Array<InvoiceCorrection>;
@@ -1636,6 +1818,7 @@ export type InvoiceResource = {
1636
1818
  latestEvent: null | InvoiceLatestEvent;
1637
1819
  originalInvoiceId: string | null;
1638
1820
  paymentTerms: null | InvoicePaymentTermsResource;
1821
+ referenceInformation: null | InvoiceReferenceInformationResource;
1639
1822
  /**
1640
1823
  * The predecessor retained when this Invoice replaced a rejected Source operation.
1641
1824
  */
@@ -1648,6 +1831,7 @@ export type InvoiceResource = {
1648
1831
  updatedAt: string;
1649
1832
  } | {
1650
1833
  acceptedAt: string | null;
1834
+ additionalInformation: null | InvoiceAdditionalInformationResource;
1651
1835
  buyer: null | InvoiceBuyerIdentity;
1652
1836
  buyerDeliveryReadiness: InvoiceBuyerDeliveryReadiness;
1653
1837
  corrections: Array<InvoiceCorrection>;
@@ -1667,6 +1851,7 @@ export type InvoiceResource = {
1667
1851
  latestEvent: null | InvoiceLatestEvent;
1668
1852
  originalInvoiceId: string | null;
1669
1853
  paymentTerms: null | InvoicePaymentTermsResource;
1854
+ referenceInformation: null | InvoiceReferenceInformationResource;
1670
1855
  /**
1671
1856
  * The predecessor retained when this Invoice replaced a rejected Source operation.
1672
1857
  */
@@ -1679,6 +1864,7 @@ export type InvoiceResource = {
1679
1864
  updatedAt: string;
1680
1865
  } | {
1681
1866
  acceptedAt: string | null;
1867
+ additionalInformation: null | InvoiceAdditionalInformationResource;
1682
1868
  buyer: null | InvoiceBuyerIdentity;
1683
1869
  buyerDeliveryReadiness: InvoiceBuyerDeliveryReadiness;
1684
1870
  corrections: Array<InvoiceCorrection>;
@@ -1698,6 +1884,7 @@ export type InvoiceResource = {
1698
1884
  latestEvent: null | InvoiceLatestEvent;
1699
1885
  originalInvoiceId: string | null;
1700
1886
  paymentTerms: null | InvoicePaymentTermsResource;
1887
+ referenceInformation: null | InvoiceReferenceInformationResource;
1701
1888
  /**
1702
1889
  * The predecessor retained when this Invoice replaced a rejected Source operation.
1703
1890
  */
@@ -1710,6 +1897,7 @@ export type InvoiceResource = {
1710
1897
  updatedAt: string;
1711
1898
  } | {
1712
1899
  acceptedAt: string | null;
1900
+ additionalInformation: null | InvoiceAdditionalInformationResource;
1713
1901
  buyer: null | InvoiceBuyerIdentity;
1714
1902
  buyerDeliveryReadiness: InvoiceBuyerDeliveryReadiness;
1715
1903
  corrections: Array<InvoiceCorrection>;
@@ -1729,6 +1917,7 @@ export type InvoiceResource = {
1729
1917
  latestEvent: null | InvoiceLatestEvent;
1730
1918
  originalInvoiceId: string | null;
1731
1919
  paymentTerms: null | InvoicePaymentTermsResource;
1920
+ referenceInformation: null | InvoiceReferenceInformationResource;
1732
1921
  /**
1733
1922
  * The predecessor retained when this Invoice replaced a rejected Source operation.
1734
1923
  */
@@ -1741,6 +1930,7 @@ export type InvoiceResource = {
1741
1930
  updatedAt: string;
1742
1931
  } | {
1743
1932
  acceptedAt: string | null;
1933
+ additionalInformation: null | InvoiceAdditionalInformationResource;
1744
1934
  buyer: null | InvoiceBuyerIdentity;
1745
1935
  buyerDeliveryReadiness: InvoiceBuyerDeliveryReadiness;
1746
1936
  corrections: Array<InvoiceCorrection>;
@@ -1760,6 +1950,7 @@ export type InvoiceResource = {
1760
1950
  latestEvent: null | InvoiceLatestEvent;
1761
1951
  originalInvoiceId: string | null;
1762
1952
  paymentTerms: null | InvoicePaymentTermsResource;
1953
+ referenceInformation: null | InvoiceReferenceInformationResource;
1763
1954
  /**
1764
1955
  * The predecessor retained when this Invoice replaced a rejected Source operation.
1765
1956
  */
@@ -1771,6 +1962,26 @@ export type InvoiceResource = {
1771
1962
  type: InvoiceType;
1772
1963
  updatedAt: string;
1773
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
+ };
1774
1985
  /**
1775
1986
  * The signature facts DGII requires on every printed e-CF, read from the signed document.
1776
1987
  *
@@ -1805,10 +2016,12 @@ export type InvoiceSourceInput = {
1805
2016
  version: string;
1806
2017
  };
1807
2018
  export type InvoiceSpecialRegimeBuyer = {
2019
+ deliveryPhone?: null | string | undefined;
1808
2020
  kind: "domestic";
1809
2021
  legalName: string;
1810
2022
  taxId: string;
1811
2023
  } | {
2024
+ deliveryPhone?: null | string | undefined;
1812
2025
  foreignId: string;
1813
2026
  kind: "foreign_diplomat";
1814
2027
  legalName: string;
@@ -2103,6 +2316,23 @@ export type LegalIssuerResource = {
2103
2316
  legal_issuer: LegalIssuer;
2104
2317
  };
2105
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
+ };
2106
2336
  export type MembershipAcceptance = {
2107
2337
  membership: AcceptedMembership;
2108
2338
  };
@@ -2187,6 +2417,7 @@ export type OpenWorkspaceSessionRequest = {
2187
2417
  * An optional payment table for profiles whose official schema permits its omission.
2188
2418
  */
2189
2419
  export type OptionalPaymentAllocations = {
2420
+ payment_account?: PaymentAccount | undefined;
2190
2421
  payment_allocations?: Array<PaymentAllocation> | undefined;
2191
2422
  };
2192
2423
  export type OrganizationIdentity = {
@@ -2198,6 +2429,13 @@ export type OrganizationIdentity = {
2198
2429
  export type OrganizationResource = {
2199
2430
  organization: OrganizationIdentity;
2200
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
+ };
2201
2439
  /**
2202
2440
  * One authoritative payment-method and amount pair from `TablaFormasPago`.
2203
2441
  */
@@ -2315,7 +2553,7 @@ export type ProblemType = "about:blank";
2315
2553
  /**
2316
2554
  * One stable public problem code returned on the `/v1` surface.
2317
2555
  */
2318
- 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";
2319
2557
  export type QualifiedProductionOrigin = {
2320
2558
  domain: string;
2321
2559
  origin: string;
@@ -2523,6 +2761,11 @@ export type ReplayWindowScope = {
2523
2761
  };
2524
2762
  export type RequirementId = "organization_identity" | "legal_issuer_identity" | "team_roles" | "source_connection" | "certificate_custody" | "first_fiscal_operation";
2525
2763
  export type RequirementStatus = "complete" | "pending" | "blocked" | "action_required";
2764
+ export type RetainedCertificationWorkbook = {
2765
+ name: string;
2766
+ sha256: string;
2767
+ sizeBytes: number;
2768
+ };
2526
2769
  export type RevokeCertificateCustodyCertificateVersionRequest = {
2527
2770
  certificate_custody_certificate_version: LedgerCounter;
2528
2771
  };
@@ -2534,15 +2777,18 @@ export type SalesTermsSpecialRegimeBuyerOptionalPaymentAllocations = {
2534
2777
  * Buyer identity alternatives admitted by the official Type 44 buyer area.
2535
2778
  */
2536
2779
  buyer: {
2780
+ delivery_phone?: string | undefined;
2537
2781
  identity_kind: "domestic";
2538
2782
  legal_name: string;
2539
2783
  tax_id: string;
2540
2784
  } | {
2785
+ delivery_phone?: string | undefined;
2541
2786
  foreign_identifier: string;
2542
2787
  identity_kind: "foreign_diplomat";
2543
2788
  legal_name: string;
2544
2789
  };
2545
2790
  income_type: "01" | "02" | "03" | "04" | "05" | "06";
2791
+ payment_account?: PaymentAccount | undefined;
2546
2792
  payment_allocations?: Array<PaymentAllocation> | undefined;
2547
2793
  payment_type: "1" | "2" | "3";
2548
2794
  };
@@ -2558,6 +2804,29 @@ export type SchemaValidationOutcome = "succeeded" | "failed";
2558
2804
  * Stage at which a fiscal XML artifact was validated.
2559
2805
  */
2560
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
+ };
2561
2830
  export type SignedDocumentReadinessResource = {
2562
2831
  status: "not_applicable";
2563
2832
  } | {
@@ -2958,6 +3227,7 @@ export type SourceSalesPayment = {
2958
3227
  */
2959
3228
  export type SourceTaxTreatment = "itbis_18" | "itbis_16" | "zero_rated" | "exempt" | "non_billable";
2960
3229
  export type SourceType31Snapshot = {
3230
+ payment_account?: PaymentAccount | undefined;
2961
3231
  payment_allocations?: Array<PaymentAllocation> | undefined;
2962
3232
  } & {
2963
3233
  /**
@@ -2970,6 +3240,7 @@ export type SourceType31Snapshot = {
2970
3240
  address?: string | undefined;
2971
3241
  contact_name?: string | undefined;
2972
3242
  delivery_on?: string | undefined;
3243
+ delivery_phone?: string | undefined;
2973
3244
  email?: string | undefined;
2974
3245
  internal_code?: string | undefined;
2975
3246
  legal_name: string;
@@ -2982,6 +3253,7 @@ export type SourceType31Snapshot = {
2982
3253
  income_type: "01" | "02" | "03" | "04" | "05" | "06";
2983
3254
  payment_type: "1" | "2" | "3";
2984
3255
  } & {
3256
+ additional_information?: AdditionalDocumentInformation | undefined;
2985
3257
  deferred_submission?: "1" | undefined;
2986
3258
  discounts_or_surcharges?: Array<DiscountOrSurcharge> | undefined;
2987
3259
  foreign_currency?: ForeignCurrencyIntent | undefined;
@@ -2990,9 +3262,10 @@ export type SourceType31Snapshot = {
2990
3262
  tax_inclusive_amounts?: "0" | "1" | undefined;
2991
3263
  } & {
2992
3264
  currency: "DOP";
2993
- lines: Array<FiscalLineWithLegalTip>;
3265
+ lines: Array<Type31Line>;
2994
3266
  };
2995
3267
  export type SourceType32Snapshot = {
3268
+ payment_account?: PaymentAccount | undefined;
2996
3269
  payment_allocations?: Array<PaymentAllocation> | undefined;
2997
3270
  } & {
2998
3271
  /**
@@ -3005,10 +3278,12 @@ export type SourceType32Snapshot = {
3005
3278
  buyer: {
3006
3279
  identity_kind: "anonymous";
3007
3280
  } | {
3281
+ delivery_phone?: string | undefined;
3008
3282
  identity_kind: "domestic";
3009
3283
  legal_name: string;
3010
3284
  tax_id: string;
3011
3285
  } | {
3286
+ delivery_phone?: string | undefined;
3012
3287
  foreign_identifier: string;
3013
3288
  identity_kind: "foreign";
3014
3289
  legal_name: string;
@@ -3016,6 +3291,7 @@ export type SourceType32Snapshot = {
3016
3291
  income_type: "01" | "02" | "03" | "04" | "05" | "06";
3017
3292
  payment_type: "1" | "2" | "3";
3018
3293
  } & {
3294
+ additional_information?: AdditionalDocumentInformation | undefined;
3019
3295
  deferred_submission?: "1" | undefined;
3020
3296
  discounts_or_surcharges?: Array<DiscountOrSurcharge> | undefined;
3021
3297
  foreign_currency?: ForeignCurrencyIntent | undefined;
@@ -3027,6 +3303,7 @@ export type SourceType32Snapshot = {
3027
3303
  lines: Array<FiscalLineWithLegalTip>;
3028
3304
  };
3029
3305
  export type SourceType33Snapshot = {
3306
+ payment_account?: PaymentAccount | undefined;
3030
3307
  payment_allocations?: Array<PaymentAllocation> | undefined;
3031
3308
  } & {
3032
3309
  /**
@@ -3038,6 +3315,7 @@ export type SourceType33Snapshot = {
3038
3315
  address?: string | undefined;
3039
3316
  contact_name?: string | undefined;
3040
3317
  delivery_on?: string | undefined;
3318
+ delivery_phone?: string | undefined;
3041
3319
  email?: string | undefined;
3042
3320
  internal_code?: string | undefined;
3043
3321
  legal_name: string;
@@ -3049,6 +3327,7 @@ export type SourceType33Snapshot = {
3049
3327
  } & {
3050
3328
  identity_kind: "domestic";
3051
3329
  }) | {
3330
+ delivery_phone?: string | undefined;
3052
3331
  foreign_identifier: string;
3053
3332
  identity_kind: "foreign";
3054
3333
  legal_name: string;
@@ -3056,6 +3335,7 @@ export type SourceType33Snapshot = {
3056
3335
  income_type: "01" | "02" | "03" | "04" | "05" | "06";
3057
3336
  payment_type: "1" | "2" | "3";
3058
3337
  } & {
3338
+ additional_information?: AdditionalDocumentInformation | undefined;
3059
3339
  deferred_submission?: "1" | undefined;
3060
3340
  discounts_or_surcharges?: Array<DiscountOrSurcharge> | undefined;
3061
3341
  foreign_currency?: ForeignCurrencyIntent | undefined;
@@ -3075,6 +3355,7 @@ export type SourceType34Snapshot = {} & {
3075
3355
  address?: string | undefined;
3076
3356
  contact_name?: string | undefined;
3077
3357
  delivery_on?: string | undefined;
3358
+ delivery_phone?: string | undefined;
3078
3359
  email?: string | undefined;
3079
3360
  internal_code?: string | undefined;
3080
3361
  legal_name: string;
@@ -3086,6 +3367,7 @@ export type SourceType34Snapshot = {} & {
3086
3367
  } & {
3087
3368
  identity_kind: "domestic";
3088
3369
  }) | {
3370
+ delivery_phone?: string | undefined;
3089
3371
  foreign_identifier: string;
3090
3372
  identity_kind: "foreign";
3091
3373
  legal_name: string;
@@ -3093,6 +3375,7 @@ export type SourceType34Snapshot = {} & {
3093
3375
  income_type: "01" | "02" | "03" | "04" | "05" | "06";
3094
3376
  payment_type: "1" | "2" | "3";
3095
3377
  } & {
3378
+ additional_information?: AdditionalDocumentInformation | undefined;
3096
3379
  deferred_submission?: "1" | undefined;
3097
3380
  discounts_or_surcharges?: Array<DiscountOrSurcharge> | undefined;
3098
3381
  foreign_currency?: ForeignCurrencyIntent | undefined;
@@ -3106,6 +3389,7 @@ export type SourceType41Snapshot = OptionalPaymentAllocations & {
3106
3389
  payment_type: "1" | "2" | "3";
3107
3390
  supplier: UnregisteredSupplier;
3108
3391
  } & {
3392
+ additional_information?: AdditionalDocumentInformation | undefined;
3109
3393
  deferred_submission?: "1" | undefined;
3110
3394
  discounts_or_surcharges?: Array<DiscountOrSurcharge> | undefined;
3111
3395
  foreign_currency?: ForeignCurrencyIntent | undefined;
@@ -3128,6 +3412,7 @@ export type SourceType43Snapshot = {
3128
3412
  export type SourceType44Snapshot = SalesTermsSpecialRegimeBuyerOptionalPaymentAllocations & {
3129
3413
  caller_declared_eligibility: CallerDeclaredSpecialRegimeEligibility;
3130
3414
  } & {
3415
+ additional_information?: AdditionalDocumentInformation | undefined;
3131
3416
  deferred_submission?: "1" | undefined;
3132
3417
  discounts_or_surcharges?: Array<DiscountOrSurcharge> | undefined;
3133
3418
  foreign_currency?: ForeignCurrencyIntent | undefined;
@@ -3144,6 +3429,7 @@ export type SourceType45Snapshot = OptionalPaymentAllocations & {
3144
3429
  income_type: "01" | "02" | "03" | "04" | "05" | "06";
3145
3430
  payment_type: "1" | "2" | "3";
3146
3431
  } & {
3432
+ additional_information?: GovernmentAdditionalDocumentInformation | undefined;
3147
3433
  deferred_submission?: "1" | undefined;
3148
3434
  discounts_or_surcharges?: Array<DiscountOrSurcharge> | undefined;
3149
3435
  foreign_currency?: ForeignCurrencyIntent | undefined;
@@ -3160,6 +3446,7 @@ export type SourceType46Snapshot = OptionalPaymentAllocations & {
3160
3446
  income_type: "01" | "02" | "03" | "04" | "05" | "06";
3161
3447
  payment_type: "1" | "2" | "3";
3162
3448
  } & {
3449
+ additional_information?: AdditionalDocumentInformation | undefined;
3163
3450
  deferred_submission?: "1" | undefined;
3164
3451
  discounts_or_surcharges?: Array<DiscountOrSurcharge> | undefined;
3165
3452
  foreign_currency?: ForeignCurrencyIntent | undefined;
@@ -3168,7 +3455,7 @@ export type SourceType46Snapshot = OptionalPaymentAllocations & {
3168
3455
  tax_inclusive_amounts?: "0" | "1" | undefined;
3169
3456
  } & {
3170
3457
  currency: "DOP";
3171
- lines: Array<FiscalLine>;
3458
+ lines: Array<Type46Line>;
3172
3459
  };
3173
3460
  export type SourceType47Snapshot = OptionalPaymentAllocations & {
3174
3461
  foreign_payee: ForeignPayee;
@@ -3693,6 +3980,7 @@ export type TimingWorkState = "pending" | "claimed" | "settled";
3693
3980
  * Factura de Crédito Fiscal Electrónica, code 31.
3694
3981
  */
3695
3982
  export type Type31Intent = {
3983
+ additional_information?: AdditionalDocumentInformation | undefined;
3696
3984
  buyer: Buyer;
3697
3985
  currency: "DOP";
3698
3986
  deferred_submission?: "1" | undefined;
@@ -3712,14 +4000,15 @@ export type Type31Intent = {
3712
4000
  internal_order_number?: string | undefined;
3713
4001
  legal_name: string;
3714
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";
3715
- phone: string;
4003
+ phones: Array<string>;
3716
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";
3717
4005
  sales_zone?: string | undefined;
3718
4006
  seller_code?: string | undefined;
3719
4007
  tax_id: string;
3720
4008
  website?: string | undefined;
3721
4009
  };
3722
- lines: Array<FiscalLineWithLegalTip>;
4010
+ lines: Array<Type31Line>;
4011
+ payment_account?: PaymentAccount | undefined;
3723
4012
  payment_allocations?: Array<PaymentAllocation> | undefined;
3724
4013
  payment_due_on?: string | undefined;
3725
4014
  payment_type: "1" | "2" | "3";
@@ -3728,6 +4017,58 @@ export type Type31Intent = {
3728
4017
  signed_at: string;
3729
4018
  tax_inclusive_amounts?: "0" | "1" | undefined;
3730
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
+ };
3731
4072
  /**
3732
4073
  * Buyer identity alternatives admitted by the bounded Type 32 profile.
3733
4074
  *
@@ -3738,10 +4079,12 @@ export type Type31Intent = {
3738
4079
  export type Type32Buyer = {
3739
4080
  identity_kind: "anonymous";
3740
4081
  } | {
4082
+ delivery_phone?: string | undefined;
3741
4083
  identity_kind: "domestic";
3742
4084
  legal_name: string;
3743
4085
  tax_id: string;
3744
4086
  } | {
4087
+ delivery_phone?: string | undefined;
3745
4088
  foreign_identifier: string;
3746
4089
  identity_kind: "foreign";
3747
4090
  legal_name: string;
@@ -3750,6 +4093,7 @@ export type Type32Buyer = {
3750
4093
  * Factura de Consumo Electrónica, code 32.
3751
4094
  */
3752
4095
  export type Type32Intent = {
4096
+ additional_information?: AdditionalDocumentInformation | undefined;
3753
4097
  buyer: Type32Buyer;
3754
4098
  currency: "DOP";
3755
4099
  deferred_submission?: "1" | undefined;
@@ -3769,7 +4113,7 @@ export type Type32Intent = {
3769
4113
  internal_order_number?: string | undefined;
3770
4114
  legal_name: string;
3771
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";
3772
- phone: string;
4116
+ phones: Array<string>;
3773
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";
3774
4118
  sales_zone?: string | undefined;
3775
4119
  seller_code?: string | undefined;
@@ -3777,6 +4121,7 @@ export type Type32Intent = {
3777
4121
  website?: string | undefined;
3778
4122
  };
3779
4123
  lines: Array<FiscalLineWithLegalTip>;
4124
+ payment_account?: PaymentAccount | undefined;
3780
4125
  payment_allocations?: Array<PaymentAllocation> | undefined;
3781
4126
  payment_due_on?: string | undefined;
3782
4127
  payment_type: "1" | "2" | "3";
@@ -3789,6 +4134,7 @@ export type Type32Intent = {
3789
4134
  * Nota de Débito Electrónica, code 33.
3790
4135
  */
3791
4136
  export type Type33Intent = {
4137
+ additional_information?: AdditionalDocumentInformation | undefined;
3792
4138
  /**
3793
4139
  * Typed reference to the fiscal document affected by an adjustment note.
3794
4140
  */
@@ -3819,7 +4165,7 @@ export type Type33Intent = {
3819
4165
  internal_order_number?: string | undefined;
3820
4166
  legal_name: string;
3821
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";
3822
- phone: string;
4168
+ phones: Array<string>;
3823
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";
3824
4170
  sales_zone?: string | undefined;
3825
4171
  seller_code?: string | undefined;
@@ -3827,6 +4173,7 @@ export type Type33Intent = {
3827
4173
  website?: string | undefined;
3828
4174
  };
3829
4175
  lines: Array<FiscalLineWithLegalTip>;
4176
+ payment_account?: PaymentAccount | undefined;
3830
4177
  payment_allocations?: Array<PaymentAllocation> | undefined;
3831
4178
  payment_due_on?: string | undefined;
3832
4179
  payment_type: "1" | "2" | "3";
@@ -3838,6 +4185,7 @@ export type Type33Intent = {
3838
4185
  * Nota de Crédito Electrónica, code 34.
3839
4186
  */
3840
4187
  export type Type34Intent = {
4188
+ additional_information?: AdditionalDocumentInformation | undefined;
3841
4189
  /**
3842
4190
  * Typed reference to the fiscal document affected by an adjustment note.
3843
4191
  */
@@ -3868,7 +4216,7 @@ export type Type34Intent = {
3868
4216
  internal_order_number?: string | undefined;
3869
4217
  legal_name: string;
3870
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";
3871
- phone: string;
4219
+ phones: Array<string>;
3872
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";
3873
4221
  sales_zone?: string | undefined;
3874
4222
  seller_code?: string | undefined;
@@ -3886,6 +4234,7 @@ export type Type34Intent = {
3886
4234
  * Comprobante Electrónico de Compras, code 41.
3887
4235
  */
3888
4236
  export type Type41Intent = {
4237
+ additional_information?: AdditionalDocumentInformation | undefined;
3889
4238
  currency: "DOP";
3890
4239
  deferred_submission?: "1" | undefined;
3891
4240
  discounts_or_surcharges?: Array<DiscountOrSurcharge> | undefined;
@@ -3904,12 +4253,13 @@ export type Type41Intent = {
3904
4253
  internal_order_number?: string | undefined;
3905
4254
  legal_name: string;
3906
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";
3907
- phone: string;
4256
+ phones: Array<string>;
3908
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";
3909
4258
  tax_id: string;
3910
4259
  website?: string | undefined;
3911
4260
  };
3912
4261
  lines: Array<Type41Line>;
4262
+ payment_account?: PaymentAccount | undefined;
3913
4263
  payment_allocations?: Array<PaymentAllocation> | undefined;
3914
4264
  payment_due_on?: string | undefined;
3915
4265
  payment_type: "1" | "2" | "3";
@@ -3923,6 +4273,13 @@ export type Type41Intent = {
3923
4273
  * One Type 41 line with the mandatory official withholding section.
3924
4274
  */
3925
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;
3926
4283
  billing_indicator: "1" | "2" | "3" | "4";
3927
4284
  goods_or_service_indicator: "1" | "2";
3928
4285
  item_codes?: Array<FiscalItemCode> | undefined;
@@ -3960,7 +4317,7 @@ export type Type43Intent = {
3960
4317
  internal_order_number?: string | undefined;
3961
4318
  legal_name: string;
3962
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";
3963
- phone: string;
4320
+ phones: Array<string>;
3964
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";
3965
4322
  tax_id: string;
3966
4323
  website?: string | undefined;
@@ -3975,14 +4332,17 @@ export type Type43Intent = {
3975
4332
  * Comprobante Electrónico para Regímenes Especiales, code 44.
3976
4333
  */
3977
4334
  export type Type44Intent = {
4335
+ additional_information?: AdditionalDocumentInformation | undefined;
3978
4336
  /**
3979
4337
  * Buyer identity alternatives admitted by the official Type 44 buyer area.
3980
4338
  */
3981
4339
  buyer: {
4340
+ delivery_phone?: string | undefined;
3982
4341
  identity_kind: "domestic";
3983
4342
  legal_name: string;
3984
4343
  tax_id: string;
3985
4344
  } | {
4345
+ delivery_phone?: string | undefined;
3986
4346
  foreign_identifier: string;
3987
4347
  identity_kind: "foreign_diplomat";
3988
4348
  legal_name: string;
@@ -4006,7 +4366,7 @@ export type Type44Intent = {
4006
4366
  internal_order_number?: string | undefined;
4007
4367
  legal_name: string;
4008
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";
4009
- phone: string;
4369
+ phones: Array<string>;
4010
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";
4011
4371
  sales_zone?: string | undefined;
4012
4372
  seller_code?: string | undefined;
@@ -4014,6 +4374,7 @@ export type Type44Intent = {
4014
4374
  website?: string | undefined;
4015
4375
  };
4016
4376
  lines: Array<SpecialRegimeLine>;
4377
+ payment_account?: PaymentAccount | undefined;
4017
4378
  payment_allocations?: Array<PaymentAllocation> | undefined;
4018
4379
  payment_due_on?: string | undefined;
4019
4380
  payment_type: "1" | "2" | "3";
@@ -4026,6 +4387,7 @@ export type Type44Intent = {
4026
4387
  * Comprobante Electrónico Gubernamental, code 45.
4027
4388
  */
4028
4389
  export type Type45Intent = {
4390
+ additional_information?: GovernmentAdditionalDocumentInformation | undefined;
4029
4391
  currency: "DOP";
4030
4392
  deferred_submission?: "1" | undefined;
4031
4393
  discounts_or_surcharges?: Array<DiscountOrSurcharge> | undefined;
@@ -4046,7 +4408,7 @@ export type Type45Intent = {
4046
4408
  internal_order_number?: string | undefined;
4047
4409
  legal_name: string;
4048
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";
4049
- phone: string;
4411
+ phones: Array<string>;
4050
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";
4051
4413
  sales_zone?: string | undefined;
4052
4414
  seller_code?: string | undefined;
@@ -4054,6 +4416,7 @@ export type Type45Intent = {
4054
4416
  website?: string | undefined;
4055
4417
  };
4056
4418
  lines: Array<FiscalLineWithLegalTip>;
4419
+ payment_account?: PaymentAccount | undefined;
4057
4420
  payment_allocations?: Array<PaymentAllocation> | undefined;
4058
4421
  payment_due_on?: string | undefined;
4059
4422
  payment_type: "1" | "2" | "3";
@@ -4066,6 +4429,7 @@ export type Type45Intent = {
4066
4429
  * Comprobante para Exportaciones Electrónico, code 46.
4067
4430
  */
4068
4431
  export type Type46Intent = {
4432
+ additional_information?: AdditionalDocumentInformation | undefined;
4069
4433
  currency: "DOP";
4070
4434
  deferred_submission?: "1" | undefined;
4071
4435
  discounts_or_surcharges?: Array<DiscountOrSurcharge> | undefined;
@@ -4086,14 +4450,15 @@ export type Type46Intent = {
4086
4450
  internal_order_number?: string | undefined;
4087
4451
  legal_name: string;
4088
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";
4089
- phone: string;
4453
+ phones: Array<string>;
4090
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";
4091
4455
  sales_zone?: string | undefined;
4092
4456
  seller_code?: string | undefined;
4093
4457
  tax_id: string;
4094
4458
  website?: string | undefined;
4095
4459
  };
4096
- lines: Array<FiscalLine>;
4460
+ lines: Array<Type46Line>;
4461
+ payment_account?: PaymentAccount | undefined;
4097
4462
  payment_allocations?: Array<PaymentAllocation> | undefined;
4098
4463
  payment_due_on?: string | undefined;
4099
4464
  payment_type: "1" | "2" | "3";
@@ -4102,6 +4467,26 @@ export type Type46Intent = {
4102
4467
  signed_at: string;
4103
4468
  tax_inclusive_amounts?: "0" | "1" | undefined;
4104
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
+ };
4105
4490
  /**
4106
4491
  * Comprobante para Pagos al Exterior Electrónico, code 47.
4107
4492
  */
@@ -4123,12 +4508,13 @@ export type Type47Intent = {
4123
4508
  internal_order_number?: string | undefined;
4124
4509
  legal_name: string;
4125
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";
4126
- phone: string;
4511
+ phones: Array<string>;
4127
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";
4128
4513
  tax_id: string;
4129
4514
  website?: string | undefined;
4130
4515
  };
4131
4516
  lines: Array<ForeignPaymentLine>;
4517
+ payment_account?: PaymentAccount | undefined;
4132
4518
  payment_allocations?: Array<PaymentAllocation> | undefined;
4133
4519
  payment_due_on?: string | undefined;
4134
4520
  payment_type?: "1" | "2" | "3" | undefined;
@@ -4694,8 +5080,8 @@ export type CreateHostedTenantWebhookSecretRotationData = {
4694
5080
  /**
4695
5081
  * Replays the rotation this key already made while the secret it displaced is still signing. A request that omits it rotates.
4696
5082
  */
4697
- "Idempotency-Key"?: string | undefined;
4698
- };
5083
+ "Idempotency-Key"?: string;
5084
+ } | undefined;
4699
5085
  path: {
4700
5086
  /**
4701
5087
  * The Source connection the hosted tenant binding names.
@@ -4739,6 +5125,103 @@ export type CreateHostedTenantWebhookSecretRotationResponses = {
4739
5125
  201: HostedWebhookSecretRotation;
4740
5126
  };
4741
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];
4742
5225
  export type ListHostedInvoicesData = {
4743
5226
  body?: never | undefined;
4744
5227
  path?: never | undefined;
@@ -5168,7 +5651,7 @@ export type ListFiscalOperationsData = {
5168
5651
  * How many resources the page carries.
5169
5652
  */
5170
5653
  limit?: number | undefined;
5171
- };
5654
+ } | undefined;
5172
5655
  url: "/v1/admin/fiscal-operations";
5173
5656
  };
5174
5657
  export type ListFiscalOperationsErrors = {
@@ -5289,7 +5772,7 @@ export type FindFiscalOperationBySourceData = {
5289
5772
  * The Fiscal environment selected by the hosted tenant binding.
5290
5773
  */
5291
5774
  environment?: FiscalEnvironment | undefined;
5292
- };
5775
+ } | undefined;
5293
5776
  url: "/v1/admin/fiscal-operations/by-source/{source_id}/versions/{source_version}";
5294
5777
  };
5295
5778
  export type FindFiscalOperationBySourceErrors = {
@@ -5817,7 +6300,7 @@ export type ListInvoicesData = {
5817
6300
  limit?: number | undefined;
5818
6301
  invoiceReference?: string | undefined;
5819
6302
  type?: InvoiceType | undefined;
5820
- };
6303
+ } | undefined;
5821
6304
  url: "/v1/invoices";
5822
6305
  };
5823
6306
  export type ListInvoicesErrors = {
@@ -5853,7 +6336,7 @@ export type CreateInvoiceData = {
5853
6336
  * Optional immutable command identity. Omission derives a key from invoiceReference; retries return current state.
5854
6337
  */
5855
6338
  "Idempotency-Key"?: string;
5856
- };
6339
+ } | undefined;
5857
6340
  path?: never | undefined;
5858
6341
  query?: never | undefined;
5859
6342
  url: "/v1/invoices";
@@ -6398,7 +6881,7 @@ export type ReadAuditEventsData = {
6398
6881
  * How many resources the page carries.
6399
6882
  */
6400
6883
  limit?: number | undefined;
6401
- };
6884
+ } | undefined;
6402
6885
  url: "/v1/organizations/{organization_id}/audit-events";
6403
6886
  };
6404
6887
  export type ReadAuditEventsErrors = {
@@ -6448,7 +6931,7 @@ export type ListCertificateCustodyBindingsData = {
6448
6931
  * How many resources the page carries.
6449
6932
  */
6450
6933
  limit?: number | undefined;
6451
- };
6934
+ } | undefined;
6452
6935
  url: "/v1/organizations/{organization_id}/certificate-custody/bindings";
6453
6936
  };
6454
6937
  export type ListCertificateCustodyBindingsErrors = {
@@ -6806,7 +7289,7 @@ export type ListOrganizationFiscalOperationsData = {
6806
7289
  * How many resources the page carries.
6807
7290
  */
6808
7291
  limit?: number | undefined;
6809
- };
7292
+ } | undefined;
6810
7293
  url: "/v1/organizations/{organization_id}/fiscal-operations";
6811
7294
  };
6812
7295
  export type ListOrganizationFiscalOperationsErrors = {
@@ -6856,7 +7339,7 @@ export type ReadOrganizationFiscalOperationData = {
6856
7339
  * How many resources the page carries.
6857
7340
  */
6858
7341
  limit?: number | undefined;
6859
- };
7342
+ } | undefined;
6860
7343
  url: "/v1/organizations/{organization_id}/fiscal-operations/{fiscal_operation_id}";
6861
7344
  };
6862
7345
  export type ReadOrganizationFiscalOperationErrors = {
@@ -7008,7 +7491,7 @@ export type ListInvitationsData = {
7008
7491
  * How many resources the page carries.
7009
7492
  */
7010
7493
  limit?: number | undefined;
7011
- };
7494
+ } | undefined;
7012
7495
  url: "/v1/organizations/{organization_id}/invitations";
7013
7496
  };
7014
7497
  export type ListInvitationsErrors = {
@@ -7107,7 +7590,7 @@ export type ListLegalIssuersData = {
7107
7590
  * How many resources the page carries.
7108
7591
  */
7109
7592
  limit?: number | undefined;
7110
- };
7593
+ } | undefined;
7111
7594
  url: "/v1/organizations/{organization_id}/legal-issuers";
7112
7595
  };
7113
7596
  export type ListLegalIssuersErrors = {
@@ -7484,7 +7967,7 @@ export type ListReceivedDocumentsData = {
7484
7967
  * How many resources the page carries.
7485
7968
  */
7486
7969
  limit?: number | undefined;
7487
- };
7970
+ } | undefined;
7488
7971
  url: "/v1/organizations/{organization_id}/received-documents";
7489
7972
  };
7490
7973
  export type ListReceivedDocumentsErrors = {
@@ -7681,7 +8164,7 @@ export type ListSourceConnectionsData = {
7681
8164
  * How many resources the page carries.
7682
8165
  */
7683
8166
  limit?: number | undefined;
7684
- };
8167
+ } | undefined;
7685
8168
  url: "/v1/organizations/{organization_id}/source-connections";
7686
8169
  };
7687
8170
  export type ListSourceConnectionsErrors = {
@@ -7892,7 +8375,7 @@ export type ListSourceProviderAuthorizationsData = {
7892
8375
  * How many resources the page carries.
7893
8376
  */
7894
8377
  limit?: number | undefined;
7895
- };
8378
+ } | undefined;
7896
8379
  url: "/v1/organizations/{organization_id}/source-provider-authorizations";
7897
8380
  };
7898
8381
  export type ListSourceProviderAuthorizationsErrors = {
@@ -8028,7 +8511,7 @@ export type ListAuthorizedVercelProjectsData = {
8028
8511
  * How many resources the page carries.
8029
8512
  */
8030
8513
  limit?: number | undefined;
8031
- };
8514
+ } | undefined;
8032
8515
  url: "/v1/organizations/{organization_id}/source-provider-authorizations/{source_provider_authorization_id}/vercel/projects";
8033
8516
  };
8034
8517
  export type ListAuthorizedVercelProjectsErrors = {
@@ -8158,7 +8641,7 @@ export type ListSourceReceivedDocumentsData = {
8158
8641
  * The Fiscal environment of that retained Source connection.
8159
8642
  */
8160
8643
  environment?: FiscalEnvironment | undefined;
8161
- };
8644
+ } | undefined;
8162
8645
  url: "/v1/received-documents";
8163
8646
  };
8164
8647
  export type ListSourceReceivedDocumentsErrors = {
@@ -8208,7 +8691,7 @@ export type GetSourceReceivedDocumentData = {
8208
8691
  * The Fiscal environment of that retained Source connection.
8209
8692
  */
8210
8693
  environment?: FiscalEnvironment | undefined;
8211
- };
8694
+ } | undefined;
8212
8695
  url: "/v1/received-documents/{receivedDocumentId}";
8213
8696
  };
8214
8697
  export type GetSourceReceivedDocumentErrors = {
@@ -8254,7 +8737,7 @@ export type RespondToReceivedDocumentData = {
8254
8737
  * The Fiscal environment of that retained Source connection.
8255
8738
  */
8256
8739
  environment?: FiscalEnvironment | undefined;
8257
- };
8740
+ } | undefined;
8258
8741
  url: "/v1/received-documents/{receivedDocumentId}/commercial-response";
8259
8742
  };
8260
8743
  export type RespondToReceivedDocumentErrors = {
@@ -8312,7 +8795,7 @@ export type DownloadSourceReceivedDocumentXmlData = {
8312
8795
  * The Fiscal environment of that retained Source connection.
8313
8796
  */
8314
8797
  environment?: FiscalEnvironment | undefined;
8315
- };
8798
+ } | undefined;
8316
8799
  url: "/v1/received-documents/{receivedDocumentId}/files/xml";
8317
8800
  };
8318
8801
  export type DownloadSourceReceivedDocumentXmlErrors = {
@@ -8605,7 +9088,7 @@ export type ListWebhookDeliveriesData = {
8605
9088
  * Repeat the parameter to match several states; omit it to match every state.
8606
9089
  */
8607
9090
  state?: Array<WebhookDeliveryState> | undefined;
8608
- };
9091
+ } | undefined;
8609
9092
  url: "/v1/webhook-endpoints/{webhookEndpointId}/deliveries";
8610
9093
  };
8611
9094
  export type ListWebhookDeliveriesErrors = {