@bolta-io/cli 0.15.1 → 0.16.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.
@@ -122,20 +122,20 @@ export declare const taxInvoiceItemSchema: z.ZodObject<{
122
122
  date: string;
123
123
  name: string;
124
124
  supplyCost: number;
125
+ description?: string | null | undefined;
125
126
  unitPrice?: number | null | undefined;
126
127
  quantity?: number | null | undefined;
127
128
  tax?: number | null | undefined;
128
129
  specification?: string | null | undefined;
129
- description?: string | null | undefined;
130
130
  }, {
131
131
  date: string;
132
132
  name: string;
133
133
  supplyCost: number;
134
+ description?: string | null | undefined;
134
135
  unitPrice?: number | null | undefined;
135
136
  quantity?: number | null | undefined;
136
137
  tax?: number | null | undefined;
137
138
  specification?: string | null | undefined;
138
- description?: string | null | undefined;
139
139
  }>;
140
140
  export declare const createTaxInvoiceSchema: z.ZodEffects<z.ZodObject<{
141
141
  date: z.ZodString;
@@ -250,26 +250,23 @@ export declare const createTaxInvoiceSchema: z.ZodEffects<z.ZodObject<{
250
250
  date: string;
251
251
  name: string;
252
252
  supplyCost: number;
253
+ description?: string | null | undefined;
253
254
  unitPrice?: number | null | undefined;
254
255
  quantity?: number | null | undefined;
255
256
  tax?: number | null | undefined;
256
257
  specification?: string | null | undefined;
257
- description?: string | null | undefined;
258
258
  }, {
259
259
  date: string;
260
260
  name: string;
261
261
  supplyCost: number;
262
+ description?: string | null | undefined;
262
263
  unitPrice?: number | null | undefined;
263
264
  quantity?: number | null | undefined;
264
265
  tax?: number | null | undefined;
265
266
  specification?: string | null | undefined;
266
- description?: string | null | undefined;
267
267
  }>, "many">;
268
268
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
269
269
  }, "strip", z.ZodTypeAny, {
270
- date: string;
271
- purpose: "CLAIM" | "RECEIPT";
272
- taxType: "TAXABLE" | "ZERO_RATE" | "TAX_FREE";
273
270
  supplier: {
274
271
  identificationNumber: string;
275
272
  organizationName: string;
@@ -284,6 +281,9 @@ export declare const createTaxInvoiceSchema: z.ZodEffects<z.ZodObject<{
284
281
  businessItem?: string | null | undefined;
285
282
  taxRegistrationId?: string | null | undefined;
286
283
  };
284
+ date: string;
285
+ purpose: "CLAIM" | "RECEIPT";
286
+ taxType: "TAXABLE" | "ZERO_RATE" | "TAX_FREE";
287
287
  supplied: {
288
288
  identificationNumber: string;
289
289
  organizationName: string;
@@ -302,17 +302,14 @@ export declare const createTaxInvoiceSchema: z.ZodEffects<z.ZodObject<{
302
302
  date: string;
303
303
  name: string;
304
304
  supplyCost: number;
305
+ description?: string | null | undefined;
305
306
  unitPrice?: number | null | undefined;
306
307
  quantity?: number | null | undefined;
307
308
  tax?: number | null | undefined;
308
309
  specification?: string | null | undefined;
309
- description?: string | null | undefined;
310
310
  }[];
311
311
  description?: string | null | undefined;
312
312
  }, {
313
- date: string;
314
- purpose: "CLAIM" | "RECEIPT";
315
- taxType: "TAXABLE" | "ZERO_RATE" | "TAX_FREE";
316
313
  supplier: {
317
314
  identificationNumber: string;
318
315
  organizationName: string;
@@ -327,6 +324,9 @@ export declare const createTaxInvoiceSchema: z.ZodEffects<z.ZodObject<{
327
324
  businessItem?: string | null | undefined;
328
325
  taxRegistrationId?: string | null | undefined;
329
326
  };
327
+ date: string;
328
+ purpose: "CLAIM" | "RECEIPT";
329
+ taxType: "TAXABLE" | "ZERO_RATE" | "TAX_FREE";
330
330
  supplied: {
331
331
  identificationNumber: string;
332
332
  organizationName: string;
@@ -345,17 +345,14 @@ export declare const createTaxInvoiceSchema: z.ZodEffects<z.ZodObject<{
345
345
  date: string;
346
346
  name: string;
347
347
  supplyCost: number;
348
+ description?: string | null | undefined;
348
349
  unitPrice?: number | null | undefined;
349
350
  quantity?: number | null | undefined;
350
351
  tax?: number | null | undefined;
351
352
  specification?: string | null | undefined;
352
- description?: string | null | undefined;
353
353
  }[];
354
354
  description?: string | null | undefined;
355
355
  }>, {
356
- date: string;
357
- purpose: "CLAIM" | "RECEIPT";
358
- taxType: "TAXABLE" | "ZERO_RATE" | "TAX_FREE";
359
356
  supplier: {
360
357
  identificationNumber: string;
361
358
  organizationName: string;
@@ -370,6 +367,9 @@ export declare const createTaxInvoiceSchema: z.ZodEffects<z.ZodObject<{
370
367
  businessItem?: string | null | undefined;
371
368
  taxRegistrationId?: string | null | undefined;
372
369
  };
370
+ date: string;
371
+ purpose: "CLAIM" | "RECEIPT";
372
+ taxType: "TAXABLE" | "ZERO_RATE" | "TAX_FREE";
373
373
  supplied: {
374
374
  identificationNumber: string;
375
375
  organizationName: string;
@@ -388,17 +388,14 @@ export declare const createTaxInvoiceSchema: z.ZodEffects<z.ZodObject<{
388
388
  date: string;
389
389
  name: string;
390
390
  supplyCost: number;
391
+ description?: string | null | undefined;
391
392
  unitPrice?: number | null | undefined;
392
393
  quantity?: number | null | undefined;
393
394
  tax?: number | null | undefined;
394
395
  specification?: string | null | undefined;
395
- description?: string | null | undefined;
396
396
  }[];
397
397
  description?: string | null | undefined;
398
398
  }, {
399
- date: string;
400
- purpose: "CLAIM" | "RECEIPT";
401
- taxType: "TAXABLE" | "ZERO_RATE" | "TAX_FREE";
402
399
  supplier: {
403
400
  identificationNumber: string;
404
401
  organizationName: string;
@@ -413,6 +410,9 @@ export declare const createTaxInvoiceSchema: z.ZodEffects<z.ZodObject<{
413
410
  businessItem?: string | null | undefined;
414
411
  taxRegistrationId?: string | null | undefined;
415
412
  };
413
+ date: string;
414
+ purpose: "CLAIM" | "RECEIPT";
415
+ taxType: "TAXABLE" | "ZERO_RATE" | "TAX_FREE";
416
416
  supplied: {
417
417
  identificationNumber: string;
418
418
  organizationName: string;
@@ -431,11 +431,11 @@ export declare const createTaxInvoiceSchema: z.ZodEffects<z.ZodObject<{
431
431
  date: string;
432
432
  name: string;
433
433
  supplyCost: number;
434
+ description?: string | null | undefined;
434
435
  unitPrice?: number | null | undefined;
435
436
  quantity?: number | null | undefined;
436
437
  tax?: number | null | undefined;
437
438
  specification?: string | null | undefined;
438
- description?: string | null | undefined;
439
439
  }[];
440
440
  description?: string | null | undefined;
441
441
  }>;
@@ -552,26 +552,23 @@ export declare const createTaxInvoiceIssueRequestSchema: z.ZodEffects<z.ZodObjec
552
552
  date: string;
553
553
  name: string;
554
554
  supplyCost: number;
555
+ description?: string | null | undefined;
555
556
  unitPrice?: number | null | undefined;
556
557
  quantity?: number | null | undefined;
557
558
  tax?: number | null | undefined;
558
559
  specification?: string | null | undefined;
559
- description?: string | null | undefined;
560
560
  }, {
561
561
  date: string;
562
562
  name: string;
563
563
  supplyCost: number;
564
+ description?: string | null | undefined;
564
565
  unitPrice?: number | null | undefined;
565
566
  quantity?: number | null | undefined;
566
567
  tax?: number | null | undefined;
567
568
  specification?: string | null | undefined;
568
- description?: string | null | undefined;
569
569
  }>, "many">;
570
570
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
571
571
  }, "strip", z.ZodTypeAny, {
572
- date: string;
573
- purpose: "CLAIM" | "RECEIPT";
574
- taxType: "TAXABLE" | "ZERO_RATE" | "TAX_FREE";
575
572
  supplier: {
576
573
  identificationNumber: string;
577
574
  organizationName: string;
@@ -586,6 +583,9 @@ export declare const createTaxInvoiceIssueRequestSchema: z.ZodEffects<z.ZodObjec
586
583
  businessItem?: string | null | undefined;
587
584
  taxRegistrationId?: string | null | undefined;
588
585
  };
586
+ date: string;
587
+ purpose: "CLAIM" | "RECEIPT";
588
+ taxType: "TAXABLE" | "ZERO_RATE" | "TAX_FREE";
589
589
  supplied: {
590
590
  identificationNumber: string;
591
591
  organizationName: string;
@@ -604,17 +604,14 @@ export declare const createTaxInvoiceIssueRequestSchema: z.ZodEffects<z.ZodObjec
604
604
  date: string;
605
605
  name: string;
606
606
  supplyCost: number;
607
+ description?: string | null | undefined;
607
608
  unitPrice?: number | null | undefined;
608
609
  quantity?: number | null | undefined;
609
610
  tax?: number | null | undefined;
610
611
  specification?: string | null | undefined;
611
- description?: string | null | undefined;
612
612
  }[];
613
613
  description?: string | null | undefined;
614
614
  }, {
615
- date: string;
616
- purpose: "CLAIM" | "RECEIPT";
617
- taxType: "TAXABLE" | "ZERO_RATE" | "TAX_FREE";
618
615
  supplier: {
619
616
  identificationNumber: string;
620
617
  organizationName: string;
@@ -629,6 +626,9 @@ export declare const createTaxInvoiceIssueRequestSchema: z.ZodEffects<z.ZodObjec
629
626
  businessItem?: string | null | undefined;
630
627
  taxRegistrationId?: string | null | undefined;
631
628
  };
629
+ date: string;
630
+ purpose: "CLAIM" | "RECEIPT";
631
+ taxType: "TAXABLE" | "ZERO_RATE" | "TAX_FREE";
632
632
  supplied: {
633
633
  identificationNumber: string;
634
634
  organizationName: string;
@@ -647,17 +647,14 @@ export declare const createTaxInvoiceIssueRequestSchema: z.ZodEffects<z.ZodObjec
647
647
  date: string;
648
648
  name: string;
649
649
  supplyCost: number;
650
+ description?: string | null | undefined;
650
651
  unitPrice?: number | null | undefined;
651
652
  quantity?: number | null | undefined;
652
653
  tax?: number | null | undefined;
653
654
  specification?: string | null | undefined;
654
- description?: string | null | undefined;
655
655
  }[];
656
656
  description?: string | null | undefined;
657
657
  }>, {
658
- date: string;
659
- purpose: "CLAIM" | "RECEIPT";
660
- taxType: "TAXABLE" | "ZERO_RATE" | "TAX_FREE";
661
658
  supplier: {
662
659
  identificationNumber: string;
663
660
  organizationName: string;
@@ -672,6 +669,9 @@ export declare const createTaxInvoiceIssueRequestSchema: z.ZodEffects<z.ZodObjec
672
669
  businessItem?: string | null | undefined;
673
670
  taxRegistrationId?: string | null | undefined;
674
671
  };
672
+ date: string;
673
+ purpose: "CLAIM" | "RECEIPT";
674
+ taxType: "TAXABLE" | "ZERO_RATE" | "TAX_FREE";
675
675
  supplied: {
676
676
  identificationNumber: string;
677
677
  organizationName: string;
@@ -690,17 +690,14 @@ export declare const createTaxInvoiceIssueRequestSchema: z.ZodEffects<z.ZodObjec
690
690
  date: string;
691
691
  name: string;
692
692
  supplyCost: number;
693
+ description?: string | null | undefined;
693
694
  unitPrice?: number | null | undefined;
694
695
  quantity?: number | null | undefined;
695
696
  tax?: number | null | undefined;
696
697
  specification?: string | null | undefined;
697
- description?: string | null | undefined;
698
698
  }[];
699
699
  description?: string | null | undefined;
700
700
  }, {
701
- date: string;
702
- purpose: "CLAIM" | "RECEIPT";
703
- taxType: "TAXABLE" | "ZERO_RATE" | "TAX_FREE";
704
701
  supplier: {
705
702
  identificationNumber: string;
706
703
  organizationName: string;
@@ -715,6 +712,9 @@ export declare const createTaxInvoiceIssueRequestSchema: z.ZodEffects<z.ZodObjec
715
712
  businessItem?: string | null | undefined;
716
713
  taxRegistrationId?: string | null | undefined;
717
714
  };
715
+ date: string;
716
+ purpose: "CLAIM" | "RECEIPT";
717
+ taxType: "TAXABLE" | "ZERO_RATE" | "TAX_FREE";
718
718
  supplied: {
719
719
  identificationNumber: string;
720
720
  organizationName: string;
@@ -733,11 +733,11 @@ export declare const createTaxInvoiceIssueRequestSchema: z.ZodEffects<z.ZodObjec
733
733
  date: string;
734
734
  name: string;
735
735
  supplyCost: number;
736
+ description?: string | null | undefined;
736
737
  unitPrice?: number | null | undefined;
737
738
  quantity?: number | null | undefined;
738
739
  tax?: number | null | undefined;
739
740
  specification?: string | null | undefined;
740
- description?: string | null | undefined;
741
741
  }[];
742
742
  description?: string | null | undefined;
743
743
  }>;
@@ -758,12 +758,12 @@ export declare const cashReceiptRecipientSchema: z.ZodDiscriminatedUnion<"type",
758
758
  purpose: z.ZodEnum<["INCOME_DEDUCTION", "EXPENSE_PROOF"]>;
759
759
  }, "strict", z.ZodTypeAny, {
760
760
  type: "PHONE";
761
- value: string;
762
761
  purpose: "INCOME_DEDUCTION" | "EXPENSE_PROOF";
762
+ value: string;
763
763
  }, {
764
764
  type: "PHONE";
765
- value: string;
766
765
  purpose: "INCOME_DEDUCTION" | "EXPENSE_PROOF";
766
+ value: string;
767
767
  }>, z.ZodObject<{
768
768
  type: z.ZodLiteral<"BUSINESS_REGISTRATION_NUMBER">;
769
769
  value: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodString>;
@@ -807,12 +807,12 @@ export declare const createCashReceiptSchema: z.ZodEffects<z.ZodObject<{
807
807
  purpose: z.ZodEnum<["INCOME_DEDUCTION", "EXPENSE_PROOF"]>;
808
808
  }, "strict", z.ZodTypeAny, {
809
809
  type: "PHONE";
810
- value: string;
811
810
  purpose: "INCOME_DEDUCTION" | "EXPENSE_PROOF";
811
+ value: string;
812
812
  }, {
813
813
  type: "PHONE";
814
- value: string;
815
814
  purpose: "INCOME_DEDUCTION" | "EXPENSE_PROOF";
815
+ value: string;
816
816
  }>, z.ZodObject<{
817
817
  type: z.ZodLiteral<"BUSINESS_REGISTRATION_NUMBER">;
818
818
  value: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodString>;
@@ -849,8 +849,8 @@ export declare const createCashReceiptSchema: z.ZodEffects<z.ZodObject<{
849
849
  value?: "" | null | undefined;
850
850
  } | {
851
851
  type: "PHONE";
852
- value: string;
853
852
  purpose: "INCOME_DEDUCTION" | "EXPENSE_PROOF";
853
+ value: string;
854
854
  } | {
855
855
  type: "BUSINESS_REGISTRATION_NUMBER";
856
856
  value: string;
@@ -873,8 +873,8 @@ export declare const createCashReceiptSchema: z.ZodEffects<z.ZodObject<{
873
873
  value?: "" | null | undefined;
874
874
  } | {
875
875
  type: "PHONE";
876
- value: string;
877
876
  purpose: "INCOME_DEDUCTION" | "EXPENSE_PROOF";
877
+ value: string;
878
878
  } | {
879
879
  type: "BUSINESS_REGISTRATION_NUMBER";
880
880
  value: string;
@@ -897,8 +897,8 @@ export declare const createCashReceiptSchema: z.ZodEffects<z.ZodObject<{
897
897
  value?: "" | null | undefined;
898
898
  } | {
899
899
  type: "PHONE";
900
- value: string;
901
900
  purpose: "INCOME_DEDUCTION" | "EXPENSE_PROOF";
901
+ value: string;
902
902
  } | {
903
903
  type: "BUSINESS_REGISTRATION_NUMBER";
904
904
  value: string;
@@ -921,8 +921,8 @@ export declare const createCashReceiptSchema: z.ZodEffects<z.ZodObject<{
921
921
  value?: "" | null | undefined;
922
922
  } | {
923
923
  type: "PHONE";
924
- value: string;
925
924
  purpose: "INCOME_DEDUCTION" | "EXPENSE_PROOF";
925
+ value: string;
926
926
  } | {
927
927
  type: "BUSINESS_REGISTRATION_NUMBER";
928
928
  value: string;
@@ -1313,37 +1313,37 @@ export declare const amendTerminationSchema: z.ZodObject<{
1313
1313
  }, {
1314
1314
  date: string;
1315
1315
  }>;
1316
+ /** 공급가액 변동은 정발행과 같이 양수 수량만 받는다. */
1316
1317
  export declare const amendChangeSupplyCostSchema: z.ZodEffects<z.ZodObject<{
1317
1318
  date: z.ZodString;
1318
1319
  taxType: z.ZodEnum<["TAXABLE", "ZERO_RATE", "TAX_FREE"]>;
1319
1320
  items: z.ZodArray<z.ZodObject<{
1320
1321
  date: z.ZodString;
1321
1322
  name: z.ZodString;
1323
+ supplyCost: z.ZodNumber;
1322
1324
  unitPrice: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1323
1325
  quantity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1326
+ tax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1324
1327
  specification: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1325
1328
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1326
- } & {
1327
- supplyCost: z.ZodNumber;
1328
- tax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1329
1329
  }, "strip", z.ZodTypeAny, {
1330
1330
  date: string;
1331
1331
  name: string;
1332
1332
  supplyCost: number;
1333
+ description?: string | null | undefined;
1333
1334
  unitPrice?: number | null | undefined;
1334
1335
  quantity?: number | null | undefined;
1335
1336
  tax?: number | null | undefined;
1336
1337
  specification?: string | null | undefined;
1337
- description?: string | null | undefined;
1338
1338
  }, {
1339
1339
  date: string;
1340
1340
  name: string;
1341
1341
  supplyCost: number;
1342
+ description?: string | null | undefined;
1342
1343
  unitPrice?: number | null | undefined;
1343
1344
  quantity?: number | null | undefined;
1344
1345
  tax?: number | null | undefined;
1345
1346
  specification?: string | null | undefined;
1346
- description?: string | null | undefined;
1347
1347
  }>, "many">;
1348
1348
  }, "strip", z.ZodTypeAny, {
1349
1349
  date: string;
@@ -1352,11 +1352,11 @@ export declare const amendChangeSupplyCostSchema: z.ZodEffects<z.ZodObject<{
1352
1352
  date: string;
1353
1353
  name: string;
1354
1354
  supplyCost: number;
1355
+ description?: string | null | undefined;
1355
1356
  unitPrice?: number | null | undefined;
1356
1357
  quantity?: number | null | undefined;
1357
1358
  tax?: number | null | undefined;
1358
1359
  specification?: string | null | undefined;
1359
- description?: string | null | undefined;
1360
1360
  }[];
1361
1361
  }, {
1362
1362
  date: string;
@@ -1365,11 +1365,11 @@ export declare const amendChangeSupplyCostSchema: z.ZodEffects<z.ZodObject<{
1365
1365
  date: string;
1366
1366
  name: string;
1367
1367
  supplyCost: number;
1368
+ description?: string | null | undefined;
1368
1369
  unitPrice?: number | null | undefined;
1369
1370
  quantity?: number | null | undefined;
1370
1371
  tax?: number | null | undefined;
1371
1372
  specification?: string | null | undefined;
1372
- description?: string | null | undefined;
1373
1373
  }[];
1374
1374
  }>, {
1375
1375
  date: string;
@@ -1378,11 +1378,11 @@ export declare const amendChangeSupplyCostSchema: z.ZodEffects<z.ZodObject<{
1378
1378
  date: string;
1379
1379
  name: string;
1380
1380
  supplyCost: number;
1381
+ description?: string | null | undefined;
1381
1382
  unitPrice?: number | null | undefined;
1382
1383
  quantity?: number | null | undefined;
1383
1384
  tax?: number | null | undefined;
1384
1385
  specification?: string | null | undefined;
1385
- description?: string | null | undefined;
1386
1386
  }[];
1387
1387
  }, {
1388
1388
  date: string;
@@ -1391,12 +1391,517 @@ export declare const amendChangeSupplyCostSchema: z.ZodEffects<z.ZodObject<{
1391
1391
  date: string;
1392
1392
  name: string;
1393
1393
  supplyCost: number;
1394
+ description?: string | null | undefined;
1395
+ unitPrice?: number | null | undefined;
1396
+ quantity?: number | null | undefined;
1397
+ tax?: number | null | undefined;
1398
+ specification?: string | null | undefined;
1399
+ }[];
1400
+ }>;
1401
+ /**
1402
+ * 환입은 원본의 과세유형과 당사자를 그대로 쓴다. taxType을 조용히 버리면 과세유형을 바꿨다고 오해하니 거부한다.
1403
+ */
1404
+ export declare const amendReturnSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1405
+ date: z.ZodString;
1406
+ taxType: z.ZodOptional<z.ZodUnknown>;
1407
+ items: z.ZodArray<z.ZodObject<{
1408
+ date: z.ZodString;
1409
+ name: z.ZodString;
1410
+ supplyCost: z.ZodNumber;
1411
+ unitPrice: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1412
+ tax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1413
+ specification: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1414
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1415
+ } & {
1416
+ quantity: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
1417
+ }, "strip", z.ZodTypeAny, {
1418
+ date: string;
1419
+ name: string;
1420
+ supplyCost: number;
1421
+ description?: string | null | undefined;
1422
+ unitPrice?: number | null | undefined;
1423
+ quantity?: number | null | undefined;
1424
+ tax?: number | null | undefined;
1425
+ specification?: string | null | undefined;
1426
+ }, {
1427
+ date: string;
1428
+ name: string;
1429
+ supplyCost: number;
1430
+ description?: string | null | undefined;
1431
+ unitPrice?: number | null | undefined;
1432
+ quantity?: number | null | undefined;
1433
+ tax?: number | null | undefined;
1434
+ specification?: string | null | undefined;
1435
+ }>, "many">;
1436
+ }, "strip", z.ZodTypeAny, {
1437
+ date: string;
1438
+ items: {
1439
+ date: string;
1440
+ name: string;
1441
+ supplyCost: number;
1442
+ description?: string | null | undefined;
1443
+ unitPrice?: number | null | undefined;
1444
+ quantity?: number | null | undefined;
1445
+ tax?: number | null | undefined;
1446
+ specification?: string | null | undefined;
1447
+ }[];
1448
+ taxType?: unknown;
1449
+ }, {
1450
+ date: string;
1451
+ items: {
1452
+ date: string;
1453
+ name: string;
1454
+ supplyCost: number;
1455
+ description?: string | null | undefined;
1456
+ unitPrice?: number | null | undefined;
1457
+ quantity?: number | null | undefined;
1458
+ tax?: number | null | undefined;
1459
+ specification?: string | null | undefined;
1460
+ }[];
1461
+ taxType?: unknown;
1462
+ }>, {
1463
+ date: string;
1464
+ items: {
1465
+ date: string;
1466
+ name: string;
1467
+ supplyCost: number;
1468
+ description?: string | null | undefined;
1469
+ unitPrice?: number | null | undefined;
1470
+ quantity?: number | null | undefined;
1471
+ tax?: number | null | undefined;
1472
+ specification?: string | null | undefined;
1473
+ }[];
1474
+ taxType?: unknown;
1475
+ }, {
1476
+ date: string;
1477
+ items: {
1478
+ date: string;
1479
+ name: string;
1480
+ supplyCost: number;
1481
+ description?: string | null | undefined;
1482
+ unitPrice?: number | null | undefined;
1483
+ quantity?: number | null | undefined;
1484
+ tax?: number | null | undefined;
1485
+ specification?: string | null | undefined;
1486
+ }[];
1487
+ taxType?: unknown;
1488
+ }>, {
1489
+ date: string;
1490
+ items: {
1491
+ date: string;
1492
+ name: string;
1493
+ supplyCost: number;
1494
+ description?: string | null | undefined;
1394
1495
  unitPrice?: number | null | undefined;
1395
1496
  quantity?: number | null | undefined;
1396
1497
  tax?: number | null | undefined;
1397
1498
  specification?: string | null | undefined;
1499
+ }[];
1500
+ }, {
1501
+ date: string;
1502
+ items: {
1503
+ date: string;
1504
+ name: string;
1505
+ supplyCost: number;
1398
1506
  description?: string | null | undefined;
1507
+ unitPrice?: number | null | undefined;
1508
+ quantity?: number | null | undefined;
1509
+ tax?: number | null | undefined;
1510
+ specification?: string | null | undefined;
1399
1511
  }[];
1512
+ taxType?: unknown;
1513
+ }>;
1514
+ /**
1515
+ * 기재사항 착오정정은 정발행 형식에서 trustee와 description을 뺀다. description을 조용히 버리면
1516
+ * 비고가 빠진 세금계산서가 발행되니 거부한다.
1517
+ */
1518
+ export declare const amendMisspellSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
1519
+ date: z.ZodString;
1520
+ purpose: z.ZodEnum<["CLAIM", "RECEIPT"]>;
1521
+ taxType: z.ZodEnum<["TAXABLE", "ZERO_RATE", "TAX_FREE"]>;
1522
+ supplier: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1523
+ identificationNumber: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodString>;
1524
+ organizationName: z.ZodString;
1525
+ representativeName: z.ZodString;
1526
+ address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1527
+ businessType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1528
+ businessItem: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1529
+ taxRegistrationId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
1530
+ manager: z.ZodObject<{
1531
+ email: z.ZodString;
1532
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1533
+ telephone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1534
+ }, "strip", z.ZodTypeAny, {
1535
+ email: string;
1536
+ name?: string | null | undefined;
1537
+ telephone?: string | null | undefined;
1538
+ }, {
1539
+ email: string;
1540
+ name?: string | null | undefined;
1541
+ telephone?: string | null | undefined;
1542
+ }>;
1543
+ }, "strip", z.ZodTypeAny, {
1544
+ identificationNumber: string;
1545
+ organizationName: string;
1546
+ representativeName: string;
1547
+ manager: {
1548
+ email: string;
1549
+ name?: string | null | undefined;
1550
+ telephone?: string | null | undefined;
1551
+ };
1552
+ address?: string | null | undefined;
1553
+ businessType?: string | null | undefined;
1554
+ businessItem?: string | null | undefined;
1555
+ taxRegistrationId?: string | null | undefined;
1556
+ }, {
1557
+ identificationNumber: string;
1558
+ organizationName: string;
1559
+ representativeName: string;
1560
+ manager: {
1561
+ email: string;
1562
+ name?: string | null | undefined;
1563
+ telephone?: string | null | undefined;
1564
+ };
1565
+ address?: string | null | undefined;
1566
+ businessType?: string | null | undefined;
1567
+ businessItem?: string | null | undefined;
1568
+ taxRegistrationId?: string | null | undefined;
1569
+ }>>>;
1570
+ supplied: z.ZodObject<{
1571
+ identificationNumber: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEffects<z.ZodString, string, string>>;
1572
+ organizationName: z.ZodString;
1573
+ representativeName: z.ZodString;
1574
+ address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1575
+ businessType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1576
+ businessItem: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1577
+ taxRegistrationId: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>>;
1578
+ managers: z.ZodArray<z.ZodObject<{
1579
+ email: z.ZodString;
1580
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1581
+ telephone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1582
+ }, "strip", z.ZodTypeAny, {
1583
+ email: string;
1584
+ name?: string | null | undefined;
1585
+ telephone?: string | null | undefined;
1586
+ }, {
1587
+ email: string;
1588
+ name?: string | null | undefined;
1589
+ telephone?: string | null | undefined;
1590
+ }>, "many">;
1591
+ }, "strip", z.ZodTypeAny, {
1592
+ identificationNumber: string;
1593
+ organizationName: string;
1594
+ representativeName: string;
1595
+ managers: {
1596
+ email: string;
1597
+ name?: string | null | undefined;
1598
+ telephone?: string | null | undefined;
1599
+ }[];
1600
+ address?: string | null | undefined;
1601
+ businessType?: string | null | undefined;
1602
+ businessItem?: string | null | undefined;
1603
+ taxRegistrationId?: string | null | undefined;
1604
+ }, {
1605
+ identificationNumber: string;
1606
+ organizationName: string;
1607
+ representativeName: string;
1608
+ managers: {
1609
+ email: string;
1610
+ name?: string | null | undefined;
1611
+ telephone?: string | null | undefined;
1612
+ }[];
1613
+ address?: string | null | undefined;
1614
+ businessType?: string | null | undefined;
1615
+ businessItem?: string | null | undefined;
1616
+ taxRegistrationId?: string | null | undefined;
1617
+ }>;
1618
+ items: z.ZodArray<z.ZodObject<{
1619
+ date: z.ZodString;
1620
+ name: z.ZodString;
1621
+ supplyCost: z.ZodNumber;
1622
+ unitPrice: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1623
+ tax: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1624
+ specification: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1625
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1626
+ } & {
1627
+ quantity: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
1628
+ }, "strip", z.ZodTypeAny, {
1629
+ date: string;
1630
+ name: string;
1631
+ supplyCost: number;
1632
+ description?: string | null | undefined;
1633
+ unitPrice?: number | null | undefined;
1634
+ quantity?: number | null | undefined;
1635
+ tax?: number | null | undefined;
1636
+ specification?: string | null | undefined;
1637
+ }, {
1638
+ date: string;
1639
+ name: string;
1640
+ supplyCost: number;
1641
+ description?: string | null | undefined;
1642
+ unitPrice?: number | null | undefined;
1643
+ quantity?: number | null | undefined;
1644
+ tax?: number | null | undefined;
1645
+ specification?: string | null | undefined;
1646
+ }>, "many">;
1647
+ description: z.ZodOptional<z.ZodUnknown>;
1648
+ }, "strip", z.ZodTypeAny, {
1649
+ date: string;
1650
+ purpose: "CLAIM" | "RECEIPT";
1651
+ taxType: "TAXABLE" | "ZERO_RATE" | "TAX_FREE";
1652
+ supplied: {
1653
+ identificationNumber: string;
1654
+ organizationName: string;
1655
+ representativeName: string;
1656
+ managers: {
1657
+ email: string;
1658
+ name?: string | null | undefined;
1659
+ telephone?: string | null | undefined;
1660
+ }[];
1661
+ address?: string | null | undefined;
1662
+ businessType?: string | null | undefined;
1663
+ businessItem?: string | null | undefined;
1664
+ taxRegistrationId?: string | null | undefined;
1665
+ };
1666
+ items: {
1667
+ date: string;
1668
+ name: string;
1669
+ supplyCost: number;
1670
+ description?: string | null | undefined;
1671
+ unitPrice?: number | null | undefined;
1672
+ quantity?: number | null | undefined;
1673
+ tax?: number | null | undefined;
1674
+ specification?: string | null | undefined;
1675
+ }[];
1676
+ supplier?: {
1677
+ identificationNumber: string;
1678
+ organizationName: string;
1679
+ representativeName: string;
1680
+ manager: {
1681
+ email: string;
1682
+ name?: string | null | undefined;
1683
+ telephone?: string | null | undefined;
1684
+ };
1685
+ address?: string | null | undefined;
1686
+ businessType?: string | null | undefined;
1687
+ businessItem?: string | null | undefined;
1688
+ taxRegistrationId?: string | null | undefined;
1689
+ } | null | undefined;
1690
+ description?: unknown;
1691
+ }, {
1692
+ date: string;
1693
+ purpose: "CLAIM" | "RECEIPT";
1694
+ taxType: "TAXABLE" | "ZERO_RATE" | "TAX_FREE";
1695
+ supplied: {
1696
+ identificationNumber: string;
1697
+ organizationName: string;
1698
+ representativeName: string;
1699
+ managers: {
1700
+ email: string;
1701
+ name?: string | null | undefined;
1702
+ telephone?: string | null | undefined;
1703
+ }[];
1704
+ address?: string | null | undefined;
1705
+ businessType?: string | null | undefined;
1706
+ businessItem?: string | null | undefined;
1707
+ taxRegistrationId?: string | null | undefined;
1708
+ };
1709
+ items: {
1710
+ date: string;
1711
+ name: string;
1712
+ supplyCost: number;
1713
+ description?: string | null | undefined;
1714
+ unitPrice?: number | null | undefined;
1715
+ quantity?: number | null | undefined;
1716
+ tax?: number | null | undefined;
1717
+ specification?: string | null | undefined;
1718
+ }[];
1719
+ supplier?: {
1720
+ identificationNumber: string;
1721
+ organizationName: string;
1722
+ representativeName: string;
1723
+ manager: {
1724
+ email: string;
1725
+ name?: string | null | undefined;
1726
+ telephone?: string | null | undefined;
1727
+ };
1728
+ address?: string | null | undefined;
1729
+ businessType?: string | null | undefined;
1730
+ businessItem?: string | null | undefined;
1731
+ taxRegistrationId?: string | null | undefined;
1732
+ } | null | undefined;
1733
+ description?: unknown;
1734
+ }>, {
1735
+ date: string;
1736
+ purpose: "CLAIM" | "RECEIPT";
1737
+ taxType: "TAXABLE" | "ZERO_RATE" | "TAX_FREE";
1738
+ supplied: {
1739
+ identificationNumber: string;
1740
+ organizationName: string;
1741
+ representativeName: string;
1742
+ managers: {
1743
+ email: string;
1744
+ name?: string | null | undefined;
1745
+ telephone?: string | null | undefined;
1746
+ }[];
1747
+ address?: string | null | undefined;
1748
+ businessType?: string | null | undefined;
1749
+ businessItem?: string | null | undefined;
1750
+ taxRegistrationId?: string | null | undefined;
1751
+ };
1752
+ items: {
1753
+ date: string;
1754
+ name: string;
1755
+ supplyCost: number;
1756
+ description?: string | null | undefined;
1757
+ unitPrice?: number | null | undefined;
1758
+ quantity?: number | null | undefined;
1759
+ tax?: number | null | undefined;
1760
+ specification?: string | null | undefined;
1761
+ }[];
1762
+ supplier?: {
1763
+ identificationNumber: string;
1764
+ organizationName: string;
1765
+ representativeName: string;
1766
+ manager: {
1767
+ email: string;
1768
+ name?: string | null | undefined;
1769
+ telephone?: string | null | undefined;
1770
+ };
1771
+ address?: string | null | undefined;
1772
+ businessType?: string | null | undefined;
1773
+ businessItem?: string | null | undefined;
1774
+ taxRegistrationId?: string | null | undefined;
1775
+ } | null | undefined;
1776
+ description?: unknown;
1777
+ }, {
1778
+ date: string;
1779
+ purpose: "CLAIM" | "RECEIPT";
1780
+ taxType: "TAXABLE" | "ZERO_RATE" | "TAX_FREE";
1781
+ supplied: {
1782
+ identificationNumber: string;
1783
+ organizationName: string;
1784
+ representativeName: string;
1785
+ managers: {
1786
+ email: string;
1787
+ name?: string | null | undefined;
1788
+ telephone?: string | null | undefined;
1789
+ }[];
1790
+ address?: string | null | undefined;
1791
+ businessType?: string | null | undefined;
1792
+ businessItem?: string | null | undefined;
1793
+ taxRegistrationId?: string | null | undefined;
1794
+ };
1795
+ items: {
1796
+ date: string;
1797
+ name: string;
1798
+ supplyCost: number;
1799
+ description?: string | null | undefined;
1800
+ unitPrice?: number | null | undefined;
1801
+ quantity?: number | null | undefined;
1802
+ tax?: number | null | undefined;
1803
+ specification?: string | null | undefined;
1804
+ }[];
1805
+ supplier?: {
1806
+ identificationNumber: string;
1807
+ organizationName: string;
1808
+ representativeName: string;
1809
+ manager: {
1810
+ email: string;
1811
+ name?: string | null | undefined;
1812
+ telephone?: string | null | undefined;
1813
+ };
1814
+ address?: string | null | undefined;
1815
+ businessType?: string | null | undefined;
1816
+ businessItem?: string | null | undefined;
1817
+ taxRegistrationId?: string | null | undefined;
1818
+ } | null | undefined;
1819
+ description?: unknown;
1820
+ }>, {
1821
+ date: string;
1822
+ purpose: "CLAIM" | "RECEIPT";
1823
+ taxType: "TAXABLE" | "ZERO_RATE" | "TAX_FREE";
1824
+ supplied: {
1825
+ identificationNumber: string;
1826
+ organizationName: string;
1827
+ representativeName: string;
1828
+ managers: {
1829
+ email: string;
1830
+ name?: string | null | undefined;
1831
+ telephone?: string | null | undefined;
1832
+ }[];
1833
+ address?: string | null | undefined;
1834
+ businessType?: string | null | undefined;
1835
+ businessItem?: string | null | undefined;
1836
+ taxRegistrationId?: string | null | undefined;
1837
+ };
1838
+ items: {
1839
+ date: string;
1840
+ name: string;
1841
+ supplyCost: number;
1842
+ description?: string | null | undefined;
1843
+ unitPrice?: number | null | undefined;
1844
+ quantity?: number | null | undefined;
1845
+ tax?: number | null | undefined;
1846
+ specification?: string | null | undefined;
1847
+ }[];
1848
+ supplier?: {
1849
+ identificationNumber: string;
1850
+ organizationName: string;
1851
+ representativeName: string;
1852
+ manager: {
1853
+ email: string;
1854
+ name?: string | null | undefined;
1855
+ telephone?: string | null | undefined;
1856
+ };
1857
+ address?: string | null | undefined;
1858
+ businessType?: string | null | undefined;
1859
+ businessItem?: string | null | undefined;
1860
+ taxRegistrationId?: string | null | undefined;
1861
+ } | null | undefined;
1862
+ }, {
1863
+ date: string;
1864
+ purpose: "CLAIM" | "RECEIPT";
1865
+ taxType: "TAXABLE" | "ZERO_RATE" | "TAX_FREE";
1866
+ supplied: {
1867
+ identificationNumber: string;
1868
+ organizationName: string;
1869
+ representativeName: string;
1870
+ managers: {
1871
+ email: string;
1872
+ name?: string | null | undefined;
1873
+ telephone?: string | null | undefined;
1874
+ }[];
1875
+ address?: string | null | undefined;
1876
+ businessType?: string | null | undefined;
1877
+ businessItem?: string | null | undefined;
1878
+ taxRegistrationId?: string | null | undefined;
1879
+ };
1880
+ items: {
1881
+ date: string;
1882
+ name: string;
1883
+ supplyCost: number;
1884
+ description?: string | null | undefined;
1885
+ unitPrice?: number | null | undefined;
1886
+ quantity?: number | null | undefined;
1887
+ tax?: number | null | undefined;
1888
+ specification?: string | null | undefined;
1889
+ }[];
1890
+ supplier?: {
1891
+ identificationNumber: string;
1892
+ organizationName: string;
1893
+ representativeName: string;
1894
+ manager: {
1895
+ email: string;
1896
+ name?: string | null | undefined;
1897
+ telephone?: string | null | undefined;
1898
+ };
1899
+ address?: string | null | undefined;
1900
+ businessType?: string | null | undefined;
1901
+ businessItem?: string | null | undefined;
1902
+ taxRegistrationId?: string | null | undefined;
1903
+ } | null | undefined;
1904
+ description?: unknown;
1400
1905
  }>;
1401
1906
  export declare const jsonSchemas: Record<string, object>;
1402
1907
  //# sourceMappingURL=schemas.d.ts.map