@timbro/invoices 0.10.1-next.0 → 0.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/document-worker-protocol.js +1 -1
- package/dist/fiscal-engine-runtime.manifest.json +89 -69
- package/dist/fiscal-engine-runtime.provenance.json +145 -115
- package/dist/generated/hosted/types.gen.d.ts +100 -1
- package/dist/generated/hosted/types.gen.d.ts.map +1 -1
- package/dist/generated/hosted/zod.gen.d.ts +1 -1
- package/dist/generated/hosted/zod.gen.d.ts.map +1 -1
- package/dist/generated/hosted/zod.gen.js +3 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.d.ts.map +1 -1
- package/dist/generated/index.js +1 -1
- package/dist/generated/invoice-api-contract.d.ts +16 -35
- package/dist/generated/invoice-api-contract.d.ts.map +1 -1
- package/dist/generated/invoice-api-contract.js +16 -33
- package/dist/generated/types.gen.d.ts +38 -27
- package/dist/generated/types.gen.d.ts.map +1 -1
- package/dist/generated/zod-response.gen.d.ts +239 -0
- package/dist/generated/zod-response.gen.d.ts.map +1 -1
- package/dist/generated/zod-response.gen.js +46 -0
- package/dist/generated/zod.gen.d.ts +284 -3
- package/dist/generated/zod.gen.d.ts.map +1 -1
- package/dist/generated/zod.gen.js +47 -3
- package/dist/timbro_fiscal_engine_bg.wasm +0 -0
- package/package.json +1 -1
|
@@ -1821,7 +1821,6 @@ export const invoiceApiContract = {
|
|
|
1821
1821
|
oneOf: [
|
|
1822
1822
|
{
|
|
1823
1823
|
type: "object",
|
|
1824
|
-
title: "AnonymousBuyer",
|
|
1825
1824
|
required: ["kind"],
|
|
1826
1825
|
properties: {
|
|
1827
1826
|
kind: {
|
|
@@ -1833,7 +1832,6 @@ export const invoiceApiContract = {
|
|
|
1833
1832
|
},
|
|
1834
1833
|
{
|
|
1835
1834
|
type: "object",
|
|
1836
|
-
title: "DomesticBuyer",
|
|
1837
1835
|
required: ["taxId", "legalName", "kind"],
|
|
1838
1836
|
properties: {
|
|
1839
1837
|
kind: {
|
|
@@ -1857,7 +1855,6 @@ export const invoiceApiContract = {
|
|
|
1857
1855
|
},
|
|
1858
1856
|
{
|
|
1859
1857
|
type: "object",
|
|
1860
|
-
title: "ForeignBuyer",
|
|
1861
1858
|
required: ["foreignId", "legalName", "kind"],
|
|
1862
1859
|
properties: {
|
|
1863
1860
|
foreignId: {
|
|
@@ -1909,7 +1906,6 @@ export const invoiceApiContract = {
|
|
|
1909
1906
|
oneOf: [
|
|
1910
1907
|
{
|
|
1911
1908
|
type: "object",
|
|
1912
|
-
title: "NotApplicableReadiness",
|
|
1913
1909
|
required: ["status"],
|
|
1914
1910
|
properties: {
|
|
1915
1911
|
status: {
|
|
@@ -2333,7 +2329,6 @@ export const invoiceApiContract = {
|
|
|
2333
2329
|
},
|
|
2334
2330
|
{
|
|
2335
2331
|
type: "object",
|
|
2336
|
-
title: "ZeroRatedTax",
|
|
2337
2332
|
required: ["kind"],
|
|
2338
2333
|
properties: {
|
|
2339
2334
|
kind: {
|
|
@@ -2345,7 +2340,6 @@ export const invoiceApiContract = {
|
|
|
2345
2340
|
},
|
|
2346
2341
|
{
|
|
2347
2342
|
type: "object",
|
|
2348
|
-
title: "ExemptTax",
|
|
2349
2343
|
required: ["kind"],
|
|
2350
2344
|
properties: {
|
|
2351
2345
|
kind: {
|
|
@@ -2451,7 +2445,6 @@ export const invoiceApiContract = {
|
|
|
2451
2445
|
},
|
|
2452
2446
|
{
|
|
2453
2447
|
type: "object",
|
|
2454
|
-
title: "CreditPaymentTerms",
|
|
2455
2448
|
required: ["dueOn", "type"],
|
|
2456
2449
|
properties: {
|
|
2457
2450
|
dueOn: {
|
|
@@ -2469,7 +2462,6 @@ export const invoiceApiContract = {
|
|
|
2469
2462
|
},
|
|
2470
2463
|
{
|
|
2471
2464
|
type: "object",
|
|
2472
|
-
title: "FreePaymentTerms",
|
|
2473
2465
|
required: ["type"],
|
|
2474
2466
|
properties: {
|
|
2475
2467
|
type: {
|
|
@@ -5314,7 +5306,6 @@ export const invoiceApiContract = {
|
|
|
5314
5306
|
oneOf: [
|
|
5315
5307
|
{
|
|
5316
5308
|
type: "object",
|
|
5317
|
-
title: "NotApplicableReadiness",
|
|
5318
5309
|
required: ["status"],
|
|
5319
5310
|
properties: {
|
|
5320
5311
|
status: {
|
|
@@ -5518,7 +5509,6 @@ export const invoiceApiContract = {
|
|
|
5518
5509
|
oneOf: [
|
|
5519
5510
|
{
|
|
5520
5511
|
type: "object",
|
|
5521
|
-
title: "NotApplicableReadiness",
|
|
5522
5512
|
required: ["status"],
|
|
5523
5513
|
properties: {
|
|
5524
5514
|
status: {
|
|
@@ -5530,7 +5520,6 @@ export const invoiceApiContract = {
|
|
|
5530
5520
|
},
|
|
5531
5521
|
{
|
|
5532
5522
|
type: "object",
|
|
5533
|
-
title: "PendingStatus",
|
|
5534
5523
|
required: ["status"],
|
|
5535
5524
|
properties: {
|
|
5536
5525
|
status: {
|
|
@@ -9402,7 +9391,6 @@ export const invoiceApiContract = {
|
|
|
9402
9391
|
},
|
|
9403
9392
|
{
|
|
9404
9393
|
type: "object",
|
|
9405
|
-
title: "CreditPaymentTerms",
|
|
9406
9394
|
required: ["dueOn", "type"],
|
|
9407
9395
|
properties: {
|
|
9408
9396
|
dueOn: {
|
|
@@ -9420,7 +9408,6 @@ export const invoiceApiContract = {
|
|
|
9420
9408
|
},
|
|
9421
9409
|
{
|
|
9422
9410
|
type: "object",
|
|
9423
|
-
title: "FreePaymentTerms",
|
|
9424
9411
|
required: ["type"],
|
|
9425
9412
|
properties: {
|
|
9426
9413
|
type: {
|
|
@@ -9461,7 +9448,6 @@ export const invoiceApiContract = {
|
|
|
9461
9448
|
oneOf: [
|
|
9462
9449
|
{
|
|
9463
9450
|
type: "object",
|
|
9464
|
-
title: "DomesticBuyer",
|
|
9465
9451
|
required: ["taxId", "legalName", "kind"],
|
|
9466
9452
|
properties: {
|
|
9467
9453
|
kind: {
|
|
@@ -9485,7 +9471,6 @@ export const invoiceApiContract = {
|
|
|
9485
9471
|
},
|
|
9486
9472
|
{
|
|
9487
9473
|
type: "object",
|
|
9488
|
-
title: "ForeignBuyer",
|
|
9489
9474
|
required: ["foreignId", "legalName", "kind"],
|
|
9490
9475
|
properties: {
|
|
9491
9476
|
foreignId: {
|
|
@@ -9613,7 +9598,6 @@ export const invoiceApiContract = {
|
|
|
9613
9598
|
},
|
|
9614
9599
|
{
|
|
9615
9600
|
type: "object",
|
|
9616
|
-
title: "ZeroRatedTax",
|
|
9617
9601
|
required: ["kind"],
|
|
9618
9602
|
properties: {
|
|
9619
9603
|
kind: {
|
|
@@ -9625,7 +9609,6 @@ export const invoiceApiContract = {
|
|
|
9625
9609
|
},
|
|
9626
9610
|
{
|
|
9627
9611
|
type: "object",
|
|
9628
|
-
title: "ExemptTax",
|
|
9629
9612
|
required: ["kind"],
|
|
9630
9613
|
properties: {
|
|
9631
9614
|
kind: {
|
|
@@ -9835,7 +9818,6 @@ export const invoiceApiContract = {
|
|
|
9835
9818
|
oneOf: [
|
|
9836
9819
|
{
|
|
9837
9820
|
type: "object",
|
|
9838
|
-
title: "ImmediatePaymentTerms",
|
|
9839
9821
|
required: ["type"],
|
|
9840
9822
|
properties: {
|
|
9841
9823
|
type: {
|
|
@@ -9847,7 +9829,6 @@ export const invoiceApiContract = {
|
|
|
9847
9829
|
},
|
|
9848
9830
|
{
|
|
9849
9831
|
type: "object",
|
|
9850
|
-
title: "FreePaymentTerms",
|
|
9851
9832
|
required: ["type"],
|
|
9852
9833
|
properties: {
|
|
9853
9834
|
type: {
|
|
@@ -9955,7 +9936,6 @@ export const invoiceApiContract = {
|
|
|
9955
9936
|
oneOf: [
|
|
9956
9937
|
{
|
|
9957
9938
|
type: "object",
|
|
9958
|
-
title: "DomesticBuyer",
|
|
9959
9939
|
required: ["taxId", "legalName", "kind"],
|
|
9960
9940
|
properties: {
|
|
9961
9941
|
kind: {
|
|
@@ -10147,7 +10127,6 @@ export const invoiceApiContract = {
|
|
|
10147
10127
|
oneOf: [
|
|
10148
10128
|
{
|
|
10149
10129
|
type: "object",
|
|
10150
|
-
title: "ForeignBuyer",
|
|
10151
10130
|
required: ["foreignId", "legalName", "kind"],
|
|
10152
10131
|
properties: {
|
|
10153
10132
|
foreignId: {
|
|
@@ -10289,7 +10268,6 @@ export const invoiceApiContract = {
|
|
|
10289
10268
|
oneOf: [
|
|
10290
10269
|
{
|
|
10291
10270
|
type: "object",
|
|
10292
|
-
title: "ImmediatePaymentTerms",
|
|
10293
10271
|
required: ["type"],
|
|
10294
10272
|
properties: {
|
|
10295
10273
|
type: {
|
|
@@ -10301,7 +10279,6 @@ export const invoiceApiContract = {
|
|
|
10301
10279
|
},
|
|
10302
10280
|
{
|
|
10303
10281
|
type: "object",
|
|
10304
|
-
title: "CreditPaymentTerms",
|
|
10305
10282
|
required: ["dueOn", "type"],
|
|
10306
10283
|
properties: {
|
|
10307
10284
|
dueOn: {
|
|
@@ -10319,7 +10296,6 @@ export const invoiceApiContract = {
|
|
|
10319
10296
|
},
|
|
10320
10297
|
{
|
|
10321
10298
|
type: "object",
|
|
10322
|
-
title: "FreePaymentTerms",
|
|
10323
10299
|
required: ["type"],
|
|
10324
10300
|
properties: {
|
|
10325
10301
|
type: {
|
|
@@ -10526,6 +10502,7 @@ export const invoiceApiContract = {
|
|
|
10526
10502
|
"id",
|
|
10527
10503
|
"environment",
|
|
10528
10504
|
"issuerTaxId",
|
|
10505
|
+
"issuerLegalName",
|
|
10529
10506
|
"buyerTaxId",
|
|
10530
10507
|
"eNcf",
|
|
10531
10508
|
"state",
|
|
@@ -10549,6 +10526,13 @@ export const invoiceApiContract = {
|
|
|
10549
10526
|
type: "string",
|
|
10550
10527
|
format: "uuid",
|
|
10551
10528
|
},
|
|
10529
|
+
issuerLegalName: {
|
|
10530
|
+
type: ["string", "null"],
|
|
10531
|
+
description: "The issuer's `RazonSocialEmisor` as the delivered e-CF states it, or `null` when the\ndelivery carried no readable name.",
|
|
10532
|
+
maxLength: 150,
|
|
10533
|
+
minLength: 1,
|
|
10534
|
+
pattern: "\\S",
|
|
10535
|
+
},
|
|
10552
10536
|
issuerTaxId: {
|
|
10553
10537
|
type: "string",
|
|
10554
10538
|
},
|
|
@@ -10578,7 +10562,6 @@ export const invoiceApiContract = {
|
|
|
10578
10562
|
},
|
|
10579
10563
|
{
|
|
10580
10564
|
type: "object",
|
|
10581
|
-
title: "PendingStatus",
|
|
10582
10565
|
description: "Received and awaiting the administrator's review.",
|
|
10583
10566
|
required: ["status"],
|
|
10584
10567
|
properties: {
|
|
@@ -10661,6 +10644,7 @@ export const invoiceApiContract = {
|
|
|
10661
10644
|
"id",
|
|
10662
10645
|
"environment",
|
|
10663
10646
|
"issuerTaxId",
|
|
10647
|
+
"issuerLegalName",
|
|
10664
10648
|
"buyerTaxId",
|
|
10665
10649
|
"eNcf",
|
|
10666
10650
|
"state",
|
|
@@ -10686,6 +10670,13 @@ export const invoiceApiContract = {
|
|
|
10686
10670
|
type: "string",
|
|
10687
10671
|
format: "uuid",
|
|
10688
10672
|
},
|
|
10673
|
+
issuerLegalName: {
|
|
10674
|
+
type: ["string", "null"],
|
|
10675
|
+
description: "The issuer's `RazonSocialEmisor` as the delivered e-CF states it, or `null` when the\ndelivery carried no readable name.",
|
|
10676
|
+
maxLength: 150,
|
|
10677
|
+
minLength: 1,
|
|
10678
|
+
pattern: "\\S",
|
|
10679
|
+
},
|
|
10689
10680
|
issuerTaxId: {
|
|
10690
10681
|
type: "string",
|
|
10691
10682
|
},
|
|
@@ -10757,7 +10748,6 @@ export const invoiceApiContract = {
|
|
|
10757
10748
|
oneOf: [
|
|
10758
10749
|
{
|
|
10759
10750
|
type: "object",
|
|
10760
|
-
title: "InvoiceAcceptedEvent",
|
|
10761
10751
|
required: [
|
|
10762
10752
|
"data",
|
|
10763
10753
|
"type",
|
|
@@ -10776,7 +10766,6 @@ export const invoiceApiContract = {
|
|
|
10776
10766
|
},
|
|
10777
10767
|
data: {
|
|
10778
10768
|
type: "object",
|
|
10779
|
-
title: "InvoiceEventData",
|
|
10780
10769
|
required: ["id", "sourceConnectionId"],
|
|
10781
10770
|
properties: {
|
|
10782
10771
|
id: {
|
|
@@ -10821,7 +10810,6 @@ export const invoiceApiContract = {
|
|
|
10821
10810
|
},
|
|
10822
10811
|
{
|
|
10823
10812
|
type: "object",
|
|
10824
|
-
title: "InvoiceRejectedEvent",
|
|
10825
10813
|
required: [
|
|
10826
10814
|
"data",
|
|
10827
10815
|
"type",
|
|
@@ -10840,7 +10828,6 @@ export const invoiceApiContract = {
|
|
|
10840
10828
|
},
|
|
10841
10829
|
data: {
|
|
10842
10830
|
type: "object",
|
|
10843
|
-
title: "InvoiceEventData",
|
|
10844
10831
|
required: ["id", "sourceConnectionId"],
|
|
10845
10832
|
properties: {
|
|
10846
10833
|
id: {
|
|
@@ -10885,7 +10872,6 @@ export const invoiceApiContract = {
|
|
|
10885
10872
|
},
|
|
10886
10873
|
{
|
|
10887
10874
|
type: "object",
|
|
10888
|
-
title: "InvoiceOperatorRequiredEvent",
|
|
10889
10875
|
required: [
|
|
10890
10876
|
"data",
|
|
10891
10877
|
"type",
|
|
@@ -10904,7 +10890,6 @@ export const invoiceApiContract = {
|
|
|
10904
10890
|
},
|
|
10905
10891
|
data: {
|
|
10906
10892
|
type: "object",
|
|
10907
|
-
title: "InvoiceEventData",
|
|
10908
10893
|
required: ["id", "sourceConnectionId"],
|
|
10909
10894
|
properties: {
|
|
10910
10895
|
id: {
|
|
@@ -10949,7 +10934,6 @@ export const invoiceApiContract = {
|
|
|
10949
10934
|
},
|
|
10950
10935
|
{
|
|
10951
10936
|
type: "object",
|
|
10952
|
-
title: "InvoiceReadyEvent",
|
|
10953
10937
|
required: [
|
|
10954
10938
|
"data",
|
|
10955
10939
|
"type",
|
|
@@ -10968,7 +10952,6 @@ export const invoiceApiContract = {
|
|
|
10968
10952
|
},
|
|
10969
10953
|
data: {
|
|
10970
10954
|
type: "object",
|
|
10971
|
-
title: "InvoiceEventData",
|
|
10972
10955
|
required: ["id", "sourceConnectionId"],
|
|
10973
10956
|
properties: {
|
|
10974
10957
|
id: {
|
|
@@ -510,6 +510,21 @@ export type FiscalArtifactMediaType = "application/xml" | "application/pdf";
|
|
|
510
510
|
* DGII authority protocol selected by the Rust decision core from admitted fiscal facts.
|
|
511
511
|
*/
|
|
512
512
|
export type FiscalAuthorityRoute = "complete_ecf_reception" | "consumer_summary_reception";
|
|
513
|
+
/**
|
|
514
|
+
* The identified party a fiscal document names opposite its issuer: the buyer of a sale, the
|
|
515
|
+
* supplier of a Type 41 purchase, or the payee of a Type 47 payment abroad.
|
|
516
|
+
*
|
|
517
|
+
* An anonymous consumer and a Type 43 minor expense name no counterparty.
|
|
518
|
+
*/
|
|
519
|
+
export type FiscalCounterparty = {
|
|
520
|
+
identity_kind: "domestic";
|
|
521
|
+
legal_name: string;
|
|
522
|
+
tax_id: string;
|
|
523
|
+
} | {
|
|
524
|
+
foreign_identifier: string;
|
|
525
|
+
identity_kind: "foreign";
|
|
526
|
+
legal_name: string;
|
|
527
|
+
};
|
|
513
528
|
/**
|
|
514
529
|
* Counterparty class that selects the legal e-CF type set.
|
|
515
530
|
*/
|
|
@@ -632,6 +647,12 @@ export type FiscalLineWithLegalTip = {
|
|
|
632
647
|
name: string;
|
|
633
648
|
quantity: string;
|
|
634
649
|
source_line_id: string;
|
|
650
|
+
/**
|
|
651
|
+
* `"1"` on an 18% or 16% line whose `unit_price` excludes ITBIS in a document whose
|
|
652
|
+
* `tax_inclusive_amounts` is `"1"`. The evaluator states that line's `MontoItem` and
|
|
653
|
+
* `PrecioUnitarioItem` with ITBIS included.
|
|
654
|
+
*/
|
|
655
|
+
tax_exclusive_unit_price?: "1" | undefined;
|
|
635
656
|
unit_price: string;
|
|
636
657
|
};
|
|
637
658
|
export type FiscalNumberAuthorizationDocumentReadiness = {
|
|
@@ -1104,9 +1125,6 @@ export type InvoiceExpectedTotals = {
|
|
|
1104
1125
|
tax: string;
|
|
1105
1126
|
total: string;
|
|
1106
1127
|
};
|
|
1107
|
-
/**
|
|
1108
|
-
* ForeignBuyer
|
|
1109
|
-
*/
|
|
1110
1128
|
export type InvoiceExportBuyer = {
|
|
1111
1129
|
foreignId: string;
|
|
1112
1130
|
kind: "foreign";
|
|
@@ -1853,36 +1871,24 @@ export type InvoiceTotals = {
|
|
|
1853
1871
|
};
|
|
1854
1872
|
export type InvoiceType = "E31" | "E32" | "E33" | "E34" | "E41" | "E43" | "E44" | "E45" | "E46" | "E47";
|
|
1855
1873
|
export type InvoiceWebhookEvent = {
|
|
1856
|
-
/**
|
|
1857
|
-
* InvoiceEventData
|
|
1858
|
-
*/
|
|
1859
1874
|
data: {
|
|
1860
1875
|
id: string;
|
|
1861
1876
|
sourceConnectionId: string;
|
|
1862
1877
|
};
|
|
1863
1878
|
type: "invoice.accepted";
|
|
1864
1879
|
} | {
|
|
1865
|
-
/**
|
|
1866
|
-
* InvoiceEventData
|
|
1867
|
-
*/
|
|
1868
1880
|
data: {
|
|
1869
1881
|
id: string;
|
|
1870
1882
|
sourceConnectionId: string;
|
|
1871
1883
|
};
|
|
1872
1884
|
type: "invoice.rejected";
|
|
1873
1885
|
} | {
|
|
1874
|
-
/**
|
|
1875
|
-
* InvoiceEventData
|
|
1876
|
-
*/
|
|
1877
1886
|
data: {
|
|
1878
1887
|
id: string;
|
|
1879
1888
|
sourceConnectionId: string;
|
|
1880
1889
|
};
|
|
1881
1890
|
type: "invoice.operatorRequired";
|
|
1882
1891
|
} | {
|
|
1883
|
-
/**
|
|
1884
|
-
* InvoiceEventData
|
|
1885
|
-
*/
|
|
1886
1892
|
data: {
|
|
1887
1893
|
id: string;
|
|
1888
1894
|
sourceConnectionId: string;
|
|
@@ -1891,9 +1897,6 @@ export type InvoiceWebhookEvent = {
|
|
|
1891
1897
|
};
|
|
1892
1898
|
export type InvoiceWebhookEventEnvelope = {
|
|
1893
1899
|
apiVersion: string;
|
|
1894
|
-
/**
|
|
1895
|
-
* InvoiceEventData
|
|
1896
|
-
*/
|
|
1897
1900
|
data: {
|
|
1898
1901
|
id: string;
|
|
1899
1902
|
sourceConnectionId: string;
|
|
@@ -1907,9 +1910,6 @@ export type InvoiceWebhookEventEnvelope = {
|
|
|
1907
1910
|
type: "invoice.accepted";
|
|
1908
1911
|
} | {
|
|
1909
1912
|
apiVersion: string;
|
|
1910
|
-
/**
|
|
1911
|
-
* InvoiceEventData
|
|
1912
|
-
*/
|
|
1913
1913
|
data: {
|
|
1914
1914
|
id: string;
|
|
1915
1915
|
sourceConnectionId: string;
|
|
@@ -1923,9 +1923,6 @@ export type InvoiceWebhookEventEnvelope = {
|
|
|
1923
1923
|
type: "invoice.rejected";
|
|
1924
1924
|
} | {
|
|
1925
1925
|
apiVersion: string;
|
|
1926
|
-
/**
|
|
1927
|
-
* InvoiceEventData
|
|
1928
|
-
*/
|
|
1929
1926
|
data: {
|
|
1930
1927
|
id: string;
|
|
1931
1928
|
sourceConnectionId: string;
|
|
@@ -1939,9 +1936,6 @@ export type InvoiceWebhookEventEnvelope = {
|
|
|
1939
1936
|
type: "invoice.operatorRequired";
|
|
1940
1937
|
} | {
|
|
1941
1938
|
apiVersion: string;
|
|
1942
|
-
/**
|
|
1943
|
-
* InvoiceEventData
|
|
1944
|
-
*/
|
|
1945
1939
|
data: {
|
|
1946
1940
|
id: string;
|
|
1947
1941
|
sourceConnectionId: string;
|
|
@@ -2125,6 +2119,10 @@ export type PrintedRepresentationPagePlan = {
|
|
|
2125
2119
|
itbis_16_subtotal: string;
|
|
2126
2120
|
itbis_18_subtotal: string;
|
|
2127
2121
|
last_line_number: number;
|
|
2122
|
+
/**
|
|
2123
|
+
* Each line's ITBIS on this page, in line order, as the fiscal calculation allocated it.
|
|
2124
|
+
*/
|
|
2125
|
+
line_itbis: Array<string>;
|
|
2128
2126
|
non_billable_subtotal: string;
|
|
2129
2127
|
page_number: number;
|
|
2130
2128
|
page_total: string;
|
|
@@ -2248,6 +2246,11 @@ export type ReceivedDocumentResource = {
|
|
|
2248
2246
|
eNcf: string;
|
|
2249
2247
|
environment: FiscalEnvironment;
|
|
2250
2248
|
id: string;
|
|
2249
|
+
/**
|
|
2250
|
+
* The issuer's `RazonSocialEmisor` as the delivered e-CF states it, or `null` when the
|
|
2251
|
+
* delivery carried no readable name.
|
|
2252
|
+
*/
|
|
2253
|
+
issuerLegalName: string | null;
|
|
2251
2254
|
issuerTaxId: string;
|
|
2252
2255
|
notReceivedReason: null | ReceivedDocumentNotReceivedReasonResource;
|
|
2253
2256
|
receivedAt: string;
|
|
@@ -2263,6 +2266,11 @@ export type ReceivedDocumentSummary = {
|
|
|
2263
2266
|
eNcf: string;
|
|
2264
2267
|
environment: FiscalEnvironment;
|
|
2265
2268
|
id: string;
|
|
2269
|
+
/**
|
|
2270
|
+
* The issuer's `RazonSocialEmisor` as the delivered e-CF states it, or `null` when the
|
|
2271
|
+
* delivery carried no readable name.
|
|
2272
|
+
*/
|
|
2273
|
+
issuerLegalName: string | null;
|
|
2266
2274
|
issuerTaxId: string;
|
|
2267
2275
|
receivedAt: string;
|
|
2268
2276
|
state: ReceivedDocumentStateResource;
|
|
@@ -4270,16 +4278,19 @@ export type WorkspaceFiscalOperationPage = {
|
|
|
4270
4278
|
};
|
|
4271
4279
|
export type WorkspaceFiscalOperationResource = {
|
|
4272
4280
|
commercial_response: null | CommercialResponseProjection;
|
|
4281
|
+
counterparty: null | FiscalCounterparty;
|
|
4273
4282
|
operation: FiscalOperationResource;
|
|
4274
4283
|
timeline: WorkspaceFiscalTimelinePage;
|
|
4275
4284
|
};
|
|
4276
4285
|
export type WorkspaceFiscalOperationSummary = {
|
|
4277
4286
|
action: SourceFiscalAction;
|
|
4287
|
+
counterparty: null | FiscalCounterparty;
|
|
4278
4288
|
created_at: string;
|
|
4279
4289
|
environment: FiscalEnvironment;
|
|
4280
4290
|
operation_id: string;
|
|
4281
4291
|
outcome: FiscalOperationOutcomeResource;
|
|
4282
4292
|
source: FiscalOperationSource;
|
|
4293
|
+
totals: null | FiscalOperationAmountsResource;
|
|
4283
4294
|
updated_at: string;
|
|
4284
4295
|
};
|
|
4285
4296
|
export type WorkspaceFiscalTimelineEntry = {
|