gobl 0.8.0 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. checksums.yaml +4 -4
  2. data/data/regimes/co.json +55 -1
  3. data/data/regimes/es.json +570 -64
  4. data/data/regimes/it.json +1182 -0
  5. data/lib/gobl/bill/charge.rb +1 -1
  6. data/lib/gobl/bill/delivery.rb +1 -1
  7. data/lib/gobl/bill/discount.rb +1 -1
  8. data/lib/gobl/bill/document_reference.rb +1 -1
  9. data/lib/gobl/bill/invoice.rb +19 -8
  10. data/lib/gobl/bill/line.rb +3 -3
  11. data/lib/gobl/bill/line_charge.rb +1 -1
  12. data/lib/gobl/bill/line_discount.rb +1 -1
  13. data/lib/gobl/bill/ordering.rb +1 -1
  14. data/lib/gobl/bill/outlay.rb +3 -3
  15. data/lib/gobl/bill/payment.rb +1 -1
  16. data/lib/gobl/bill/preceding.rb +23 -23
  17. data/lib/gobl/bill/tax.rb +4 -4
  18. data/lib/gobl/bill/totals.rb +5 -5
  19. data/lib/gobl/cal/date.rb +2 -2
  20. data/lib/gobl/cal/period.rb +3 -3
  21. data/lib/gobl/cbc/code.rb +3 -3
  22. data/lib/gobl/cbc/key.rb +2 -2
  23. data/lib/gobl/cbc/meta.rb +1 -1
  24. data/lib/gobl/cbc/note.rb +6 -6
  25. data/lib/gobl/cbc/stamp.rb +3 -3
  26. data/lib/gobl/currency/code.rb +4 -3
  27. data/lib/gobl/currency/exchange_rate.rb +3 -3
  28. data/lib/gobl/document.rb +5 -2
  29. data/lib/gobl/dsig/digest.rb +3 -3
  30. data/lib/gobl/dsig/signature.rb +2 -2
  31. data/lib/gobl/enum.rb +9 -67
  32. data/lib/gobl/envelope.rb +5 -5
  33. data/lib/gobl/header.rb +4 -4
  34. data/lib/gobl/i18n/string.rb +1 -1
  35. data/lib/gobl/l10n/code.rb +2 -2
  36. data/lib/gobl/l10n/country_code.rb +4 -3
  37. data/lib/gobl/note/message.rb +4 -4
  38. data/lib/gobl/org/address.rb +2 -2
  39. data/lib/gobl/org/coordinates.rb +1 -1
  40. data/lib/gobl/org/email.rb +2 -2
  41. data/lib/gobl/org/identity.rb +38 -0
  42. data/lib/gobl/org/image.rb +1 -1
  43. data/lib/gobl/org/inbox.rb +3 -3
  44. data/lib/gobl/org/item.rb +10 -10
  45. data/lib/gobl/org/name.rb +3 -3
  46. data/lib/gobl/org/party.rb +7 -7
  47. data/lib/gobl/org/person.rb +2 -7
  48. data/lib/gobl/org/registration.rb +1 -1
  49. data/lib/gobl/org/telephone.rb +2 -2
  50. data/lib/gobl/org/unit.rb +8 -3
  51. data/lib/gobl/org/website.rb +2 -2
  52. data/lib/gobl/pay/advance.rb +3 -3
  53. data/lib/gobl/pay/card.rb +3 -3
  54. data/lib/gobl/pay/credit_transfer.rb +1 -1
  55. data/lib/gobl/pay/direct_debit.rb +1 -1
  56. data/lib/gobl/pay/due_date.rb +3 -3
  57. data/lib/gobl/pay/instructions.rb +19 -4
  58. data/lib/gobl/pay/online.rb +2 -2
  59. data/lib/gobl/pay/terms.rb +19 -4
  60. data/lib/gobl/tax/category.rb +14 -4
  61. data/lib/gobl/tax/category_total.rb +5 -5
  62. data/lib/gobl/tax/combo.rb +7 -2
  63. data/lib/gobl/tax/identity.rb +16 -6
  64. data/lib/gobl/tax/key_definition.rb +38 -0
  65. data/lib/gobl/tax/preceding_definitions.rb +27 -0
  66. data/lib/gobl/tax/rate.rb +11 -4
  67. data/lib/gobl/tax/rate_total.rb +4 -4
  68. data/lib/gobl/tax/rate_total_surcharge.rb +3 -3
  69. data/lib/gobl/tax/rate_value.rb +2 -2
  70. data/lib/gobl/tax/regime.rb +19 -9
  71. data/lib/gobl/tax/scenario.rb +37 -0
  72. data/lib/gobl/tax/scenario_set.rb +29 -0
  73. data/lib/gobl/tax/set.rb +1 -1
  74. data/lib/gobl/tax/tag.rb +33 -0
  75. data/lib/gobl/tax/total.rb +2 -2
  76. data/lib/gobl/tax/zone.rb +2 -2
  77. data/lib/gobl/uuid/uuid.rb +2 -2
  78. data/lib/gobl/version.rb +1 -1
  79. metadata +10 -11
  80. data/lib/gobl/bill/invoice_type.rb +0 -32
  81. data/lib/gobl/cbc/note_key.rb +0 -50
  82. data/lib/gobl/org/item_code.rb +0 -28
  83. data/lib/gobl/pay/method_key.rb +0 -32
  84. data/lib/gobl/pay/term_key.rb +0 -35
  85. data/lib/gobl/tax/scheme.rb +0 -44
  86. data/lib/gobl/tax/source_key.rb +0 -30
  87. data/lib/gobl/value.rb +0 -77
data/data/regimes/es.json CHANGED
@@ -503,54 +503,54 @@
503
503
  }
504
504
  ],
505
505
  "currency": "EUR",
506
- "schemes": [
506
+ "tags": [
507
507
  {
508
- "key": "reverse-charge",
508
+ "key": "simplified",
509
509
  "name": {
510
- "en": "Reverse Charge",
511
- "es": "Inversión del sujeto pasivo"
512
- },
513
- "categories": [
514
- "VAT"
515
- ],
516
- "note": {
517
- "key": "legal",
518
- "src": "reverse-charge",
519
- "text": "Reverse Charge / Inversión del sujeto pasivo."
510
+ "en": "Simplified Invoice",
511
+ "es": "Factura Simplificada"
520
512
  }
521
513
  },
522
514
  {
523
515
  "key": "customer-rates",
524
516
  "name": {
525
- "en": "Customer Country Rates",
526
- "es": "Tasas del País del Cliente"
527
- },
528
- "description": {
529
- "en": "Use the customers country to determine tax rates."
517
+ "en": "Customer rates",
518
+ "es": "Tarifas aplicables al destinatario"
530
519
  }
531
520
  },
532
521
  {
533
- "key": "simplified",
522
+ "key": "reverse-charge",
534
523
  "name": {
535
- "en": "Simplified tax scheme",
536
- "es": "Contribuyente en régimen simplificado"
537
- },
538
- "note": {
539
- "key": "legal",
540
- "src": "simplified",
541
- "text": "Factura expedida por contibuyente en régimen simplificado."
524
+ "en": "Reverse Charge",
525
+ "es": "Inversión del sujeto pasivo"
542
526
  }
543
527
  },
544
528
  {
545
- "key": "customer-issued",
529
+ "key": "self-billed",
546
530
  "name": {
547
531
  "en": "Customer issued invoice",
548
532
  "es": "Facturación por el destinatario"
549
- },
550
- "note": {
551
- "key": "legal",
552
- "src": "customer-issued",
553
- "text": "Facturación por el destinatario."
533
+ }
534
+ },
535
+ {
536
+ "key": "copy",
537
+ "name": {
538
+ "en": "Copy",
539
+ "es": "Copia"
540
+ }
541
+ },
542
+ {
543
+ "key": "summary",
544
+ "name": {
545
+ "en": "Summary",
546
+ "es": "Recapitulativa"
547
+ }
548
+ },
549
+ {
550
+ "key": "simplified-scheme",
551
+ "name": {
552
+ "en": "Simplified tax scheme",
553
+ "es": "Contribuyente en régimen simplificado"
554
554
  }
555
555
  },
556
556
  {
@@ -558,11 +558,6 @@
558
558
  "name": {
559
559
  "en": "Special scheme for travel agencies",
560
560
  "es": "Régimen especial de las agencias de viajes"
561
- },
562
- "note": {
563
- "key": "legal",
564
- "src": "travel-agency",
565
- "text": "Régimen especial de las agencias de viajes."
566
561
  }
567
562
  },
568
563
  {
@@ -570,11 +565,6 @@
570
565
  "name": {
571
566
  "en": "Special scheme for second-hand goods",
572
567
  "es": "Régimen especial de los bienes usados"
573
- },
574
- "note": {
575
- "key": "legal",
576
- "src": "second-hand-goods",
577
- "text": "Régimen especial de los bienes usados."
578
568
  }
579
569
  },
580
570
  {
@@ -582,11 +572,6 @@
582
572
  "name": {
583
573
  "en": "Special scheme of works of art",
584
574
  "es": "Régimen especial de los objetos de arte"
585
- },
586
- "note": {
587
- "key": "legal",
588
- "src": "art",
589
- "text": "Régimen especial de los objetos de arte."
590
575
  }
591
576
  },
592
577
  {
@@ -594,11 +579,6 @@
594
579
  "name": {
595
580
  "en": "Special scheme of antiques and collectables",
596
581
  "es": "Régimen especial de las antigüedades y objetos de colección"
597
- },
598
- "note": {
599
- "key": "legal",
600
- "src": "antiques",
601
- "text": "Régimen especial de las antigüedades y objetos de colección."
602
582
  }
603
583
  },
604
584
  {
@@ -606,14 +586,445 @@
606
586
  "name": {
607
587
  "en": "Special scheme on cash basis",
608
588
  "es": "Régimen especial del criterio de caja"
609
- },
610
- "note": {
611
- "key": "legal",
612
- "src": "cash-basis",
613
- "text": "Régimen especial del criterio de caja."
614
589
  }
615
590
  }
616
591
  ],
592
+ "scenarios": [
593
+ {
594
+ "schema": "bill/invoice",
595
+ "list": [
596
+ {
597
+ "type": [
598
+ "standard",
599
+ "corrective"
600
+ ],
601
+ "meta": {
602
+ "facturae-invoice-document-type": "FC"
603
+ }
604
+ },
605
+ {
606
+ "tags": [
607
+ "simplified"
608
+ ],
609
+ "meta": {
610
+ "facturae-invoice-document-type": "FA"
611
+ }
612
+ },
613
+ {
614
+ "tags": [
615
+ "self-billed"
616
+ ],
617
+ "meta": {
618
+ "facturae-invoice-document-type": "AF"
619
+ }
620
+ },
621
+ {
622
+ "type": [
623
+ "standard"
624
+ ],
625
+ "meta": {
626
+ "facturae-invoice-class": "OO"
627
+ }
628
+ },
629
+ {
630
+ "type": [
631
+ "corrective"
632
+ ],
633
+ "meta": {
634
+ "facturae-invoice-class": "OR"
635
+ }
636
+ },
637
+ {
638
+ "tags": [
639
+ "summary"
640
+ ],
641
+ "meta": {
642
+ "facturae-invoice-class": "OC"
643
+ }
644
+ },
645
+ {
646
+ "type": [
647
+ "standard"
648
+ ],
649
+ "tags": [
650
+ "copy"
651
+ ],
652
+ "meta": {
653
+ "facturae-invoice-class": "CO"
654
+ }
655
+ },
656
+ {
657
+ "type": [
658
+ "corrective"
659
+ ],
660
+ "tags": [
661
+ "copy"
662
+ ],
663
+ "meta": {
664
+ "facturae-invoice-class": "CR"
665
+ }
666
+ },
667
+ {
668
+ "type": [
669
+ "standard"
670
+ ],
671
+ "tags": [
672
+ "copy",
673
+ "summary"
674
+ ],
675
+ "meta": {
676
+ "facturae-invoice-class": "CC"
677
+ }
678
+ },
679
+ {
680
+ "tags": [
681
+ "reverse-charge"
682
+ ],
683
+ "note": {
684
+ "key": "legal",
685
+ "src": "reverse-charge",
686
+ "text": "Reverse Charge / Inversión del sujeto pasivo."
687
+ }
688
+ },
689
+ {
690
+ "tags": [
691
+ "simplified-scheme"
692
+ ],
693
+ "note": {
694
+ "key": "legal",
695
+ "src": "simplified-scheme",
696
+ "text": "Factura expedida por contibuyente en régimen simplificado."
697
+ }
698
+ },
699
+ {
700
+ "tags": [
701
+ "self-billed"
702
+ ],
703
+ "note": {
704
+ "key": "legal",
705
+ "src": "self-billed",
706
+ "text": "Facturación por el destinatario."
707
+ }
708
+ },
709
+ {
710
+ "tags": [
711
+ "travel-agency"
712
+ ],
713
+ "note": {
714
+ "key": "legal",
715
+ "src": "travel-agency",
716
+ "text": "Régimen especial de las agencias de viajes."
717
+ }
718
+ },
719
+ {
720
+ "tags": [
721
+ "second-hand-goods"
722
+ ],
723
+ "note": {
724
+ "key": "legal",
725
+ "src": "second-hand-goods",
726
+ "text": "Régimen especial de los bienes usados."
727
+ }
728
+ },
729
+ {
730
+ "tags": [
731
+ "art"
732
+ ],
733
+ "note": {
734
+ "key": "legal",
735
+ "src": "art",
736
+ "text": "Régimen especial de los objetos de arte."
737
+ }
738
+ },
739
+ {
740
+ "tags": [
741
+ "antiques"
742
+ ],
743
+ "note": {
744
+ "key": "legal",
745
+ "src": "antiques",
746
+ "text": "Régimen especial de las antigüedades y objetos de colección."
747
+ }
748
+ },
749
+ {
750
+ "tags": [
751
+ "cash-basis"
752
+ ],
753
+ "note": {
754
+ "key": "legal",
755
+ "src": "cash-basis",
756
+ "text": "Régimen especial del criterio de caja."
757
+ }
758
+ }
759
+ ]
760
+ }
761
+ ],
762
+ "preceding": {
763
+ "corrections": [
764
+ {
765
+ "key": "code",
766
+ "desc": {
767
+ "en": "Invoice code",
768
+ "es": "Número de la factura"
769
+ },
770
+ "meta": {
771
+ "facturae": "01"
772
+ }
773
+ },
774
+ {
775
+ "key": "series",
776
+ "desc": {
777
+ "en": "Invoice series",
778
+ "es": "Serie de la factura"
779
+ },
780
+ "meta": {
781
+ "facturae": "02"
782
+ }
783
+ },
784
+ {
785
+ "key": "issue-date",
786
+ "desc": {
787
+ "en": "Issue date",
788
+ "es": "Fecha expedición"
789
+ },
790
+ "meta": {
791
+ "facturae": "03"
792
+ }
793
+ },
794
+ {
795
+ "key": "supplier-name",
796
+ "desc": {
797
+ "en": "Name and surnames/Corporate name – Issuer (Sender)",
798
+ "es": "Nombre y apellidos/Razón Social-Emisor"
799
+ },
800
+ "meta": {
801
+ "facturae": "04"
802
+ }
803
+ },
804
+ {
805
+ "key": "customer-name",
806
+ "desc": {
807
+ "en": "Name and surnames/Corporate name - Receiver",
808
+ "es": "Nombre y apellidos/Razón Social-Receptor"
809
+ },
810
+ "meta": {
811
+ "facturae": "05"
812
+ }
813
+ },
814
+ {
815
+ "key": "supplier-tax-id",
816
+ "desc": {
817
+ "en": "Issuer's Tax Identification Number",
818
+ "es": "Identificación fiscal Emisor/obligado"
819
+ },
820
+ "meta": {
821
+ "facturae": "06"
822
+ }
823
+ },
824
+ {
825
+ "key": "customer-tax-id",
826
+ "desc": {
827
+ "en": "Receiver's Tax Identification Number",
828
+ "es": "Identificación fiscal Receptor"
829
+ },
830
+ "meta": {
831
+ "facturae": "07"
832
+ }
833
+ },
834
+ {
835
+ "key": "supplier-addr",
836
+ "desc": {
837
+ "en": "Issuer's address",
838
+ "es": "Domicilio Emisor/Obligado"
839
+ },
840
+ "meta": {
841
+ "facturae": "08"
842
+ }
843
+ },
844
+ {
845
+ "key": "customer-addr",
846
+ "desc": {
847
+ "en": "Receiver's address",
848
+ "es": "Domicilio Receptor"
849
+ },
850
+ "meta": {
851
+ "facturae": "09"
852
+ }
853
+ },
854
+ {
855
+ "key": "line",
856
+ "desc": {
857
+ "en": "Item line",
858
+ "es": "Detalle Operación"
859
+ },
860
+ "meta": {
861
+ "facturae": "10"
862
+ }
863
+ },
864
+ {
865
+ "key": "tax-rate",
866
+ "desc": {
867
+ "en": "Applicable Tax Rate",
868
+ "es": "Porcentaje impositivo a aplicar"
869
+ },
870
+ "meta": {
871
+ "facturae": "11"
872
+ }
873
+ },
874
+ {
875
+ "key": "tax-amount",
876
+ "desc": {
877
+ "en": "Applicable Tax Amount",
878
+ "es": "Cuota tributaria a aplicar"
879
+ },
880
+ "meta": {
881
+ "facturae": "12"
882
+ }
883
+ },
884
+ {
885
+ "key": "period",
886
+ "desc": {
887
+ "en": "Applicable Date/Period",
888
+ "es": "Fecha/Periodo a aplicar"
889
+ },
890
+ "meta": {
891
+ "facturae": "13"
892
+ }
893
+ },
894
+ {
895
+ "key": "type",
896
+ "desc": {
897
+ "en": "Invoice Class",
898
+ "es": "Clase de factura"
899
+ },
900
+ "meta": {
901
+ "facturae": "14"
902
+ }
903
+ },
904
+ {
905
+ "key": "legal-details",
906
+ "desc": {
907
+ "en": "Legal literals",
908
+ "es": "Literales legales"
909
+ },
910
+ "meta": {
911
+ "facturae": "15"
912
+ }
913
+ },
914
+ {
915
+ "key": "tax-base",
916
+ "desc": {
917
+ "en": "Taxable Base",
918
+ "es": "Base imponible"
919
+ },
920
+ "meta": {
921
+ "facturae": "16"
922
+ }
923
+ },
924
+ {
925
+ "key": "tax",
926
+ "desc": {
927
+ "en": "Calculation of tax outputs",
928
+ "es": "Cálculo de cuotas repercutidas"
929
+ },
930
+ "meta": {
931
+ "facturae": "80"
932
+ }
933
+ },
934
+ {
935
+ "key": "tax-retained",
936
+ "desc": {
937
+ "en": "Calculation of tax inputs",
938
+ "es": "Cálculo de cuotas retenidas"
939
+ },
940
+ "meta": {
941
+ "facturae": "81"
942
+ }
943
+ },
944
+ {
945
+ "key": "refund",
946
+ "desc": {
947
+ "en": "Taxable Base modified due to return of packages and packaging materials",
948
+ "es": "Base imponible modificada por devolución de envases / embalajes"
949
+ },
950
+ "meta": {
951
+ "facturae": "82"
952
+ }
953
+ },
954
+ {
955
+ "key": "discount",
956
+ "desc": {
957
+ "en": "Taxable Base modified due to discounts and rebates",
958
+ "es": "Base imponible modificada por descuentos y bonificaciones"
959
+ },
960
+ "meta": {
961
+ "facturae": "83"
962
+ }
963
+ },
964
+ {
965
+ "key": "judicial",
966
+ "desc": {
967
+ "en": "Taxable Base modified due to firm court ruling or administrative decision",
968
+ "es": "Base imponible modificada por resolución firme, judicial o administrativa"
969
+ },
970
+ "meta": {
971
+ "facturae": "84"
972
+ }
973
+ },
974
+ {
975
+ "key": "insolvency",
976
+ "desc": {
977
+ "en": "Taxable Base modified due to unpaid outputs where there is a judgement opening insolvency proceedings",
978
+ "es": "Base imponible modificada cuotas repercutidas no satisfechas. Auto de declaración de concurso"
979
+ },
980
+ "meta": {
981
+ "facturae": "85"
982
+ }
983
+ }
984
+ ],
985
+ "correction_methods": [
986
+ {
987
+ "key": "complete",
988
+ "desc": {
989
+ "en": "Complete",
990
+ "es": "Rectificaticón íntegra"
991
+ },
992
+ "meta": {
993
+ "facturae": "01"
994
+ }
995
+ },
996
+ {
997
+ "key": "partial",
998
+ "desc": {
999
+ "en": "Corrected items only",
1000
+ "es": "Rectificación por diferencias"
1001
+ },
1002
+ "meta": {
1003
+ "facturae": "02"
1004
+ }
1005
+ },
1006
+ {
1007
+ "key": "discount",
1008
+ "desc": {
1009
+ "en": "Bulk deal in a given period",
1010
+ "es": "Rectificación por descuento por volumen de operaciones durante un periodo"
1011
+ },
1012
+ "meta": {
1013
+ "facturae": "03"
1014
+ }
1015
+ },
1016
+ {
1017
+ "key": "authorized",
1018
+ "desc": {
1019
+ "en": "Authorized by the Tax Agency",
1020
+ "es": "Autorizadas por la Agencia Tributaria"
1021
+ },
1022
+ "meta": {
1023
+ "facturae": "04"
1024
+ }
1025
+ }
1026
+ ]
1027
+ },
617
1028
  "categories": [
618
1029
  {
619
1030
  "code": "VAT",
@@ -630,7 +1041,7 @@
630
1041
  "key": "zero",
631
1042
  "name": {
632
1043
  "en": "Zero Rate",
633
- "es": "Tipo Zero"
1044
+ "es": "Tipo Cero"
634
1045
  },
635
1046
  "values": [
636
1047
  {
@@ -757,7 +1168,93 @@
757
1168
  }
758
1169
  ]
759
1170
  }
760
- ]
1171
+ ],
1172
+ "tags": [
1173
+ {
1174
+ "key": "provider",
1175
+ "name": {
1176
+ "en": "Operation in equivalence surcharge or simplified regime",
1177
+ "es": "Operacion en recargo de equivalencia o regimen simplificado"
1178
+ }
1179
+ },
1180
+ {
1181
+ "key": "services",
1182
+ "name": {
1183
+ "en": "Provision of services",
1184
+ "es": "Prestacion de servicios"
1185
+ }
1186
+ },
1187
+ {
1188
+ "key": "goods",
1189
+ "name": {
1190
+ "en": "Delivery of goods",
1191
+ "es": "Entrega de bienes"
1192
+ }
1193
+ },
1194
+ {
1195
+ "key": "exempt+article-20",
1196
+ "name": {
1197
+ "en": "Exempt pursuant to Article 20 of the Foral VAT Law",
1198
+ "es": "Exenta por el artículo 20 de la Norma Foral del IVA"
1199
+ },
1200
+ "meta": {
1201
+ "ticketbai-causa-exencion": "E1"
1202
+ }
1203
+ },
1204
+ {
1205
+ "key": "exempt+article-21",
1206
+ "name": {
1207
+ "en": "Exempt pursuant to Article 21 of the Foral VAT Law",
1208
+ "es": "Exenta por el artículo 21 de la Norma Foral del IVA"
1209
+ },
1210
+ "meta": {
1211
+ "ticketbai-causa-exencion": "E2"
1212
+ }
1213
+ },
1214
+ {
1215
+ "key": "exempt+article-22",
1216
+ "name": {
1217
+ "en": "Exempt pursuant to Article 22 of the Foral VAT Law",
1218
+ "es": "Exenta por el artículo 22 de la Norma Foral del IVA"
1219
+ },
1220
+ "meta": {
1221
+ "ticketbai-causa-exencion": "E3"
1222
+ }
1223
+ },
1224
+ {
1225
+ "key": "exempt+article-23",
1226
+ "name": {
1227
+ "en": "Exempt pursuant to Articles 23 and 24 of the Foral VAT Law",
1228
+ "es": "Exenta por el artículos 23 y 24 de la Norma Foral del IVA"
1229
+ },
1230
+ "meta": {
1231
+ "ticketbai-causa-exencion": "E4"
1232
+ }
1233
+ },
1234
+ {
1235
+ "key": "exempt+article-25",
1236
+ "name": {
1237
+ "en": "Exempt pursuant to Article 25 of the Foral VAT law",
1238
+ "es": "Exenta por el artículo 25 de la Norma Foral del IVA"
1239
+ },
1240
+ "meta": {
1241
+ "ticketbai-causa-exencion": "E5"
1242
+ }
1243
+ },
1244
+ {
1245
+ "key": "exempt+other",
1246
+ "name": {
1247
+ "en": "Exempt pursuant to other reasons",
1248
+ "es": "Exenta por otra causa"
1249
+ },
1250
+ "meta": {
1251
+ "ticketbai-causa-exencion": "E6"
1252
+ }
1253
+ }
1254
+ ],
1255
+ "meta": {
1256
+ "facturae-tax-type-code": "01"
1257
+ }
761
1258
  },
762
1259
  {
763
1260
  "code": "IGIC",
@@ -774,7 +1271,7 @@
774
1271
  "key": "zero",
775
1272
  "name": {
776
1273
  "en": "Zero Rate",
777
- "es": "Tipo Zero"
1274
+ "es": "Tipo Cero"
778
1275
  },
779
1276
  "values": [
780
1277
  {
@@ -806,7 +1303,10 @@
806
1303
  }
807
1304
  ]
808
1305
  }
809
- ]
1306
+ ],
1307
+ "meta": {
1308
+ "facturae-tax-type-code": "03"
1309
+ }
810
1310
  },
811
1311
  {
812
1312
  "code": "IPSI",
@@ -818,7 +1318,10 @@
818
1318
  "en": "Production, Services, and Import Tax",
819
1319
  "es": "Impuesto sobre la Producción, los Servicios y la Importación"
820
1320
  },
821
- "rates": []
1321
+ "rates": [],
1322
+ "meta": {
1323
+ "facturae-tax-type-code": "02"
1324
+ }
822
1325
  },
823
1326
  {
824
1327
  "code": "IRPF",
@@ -836,7 +1339,7 @@
836
1339
  "key": "pro",
837
1340
  "name": {
838
1341
  "en": "Professional Rate",
839
- "es": "Professionales"
1342
+ "es": "Profesionales"
840
1343
  },
841
1344
  "values": [
842
1345
  {
@@ -861,7 +1364,7 @@
861
1364
  "key": "pro-start",
862
1365
  "name": {
863
1366
  "en": "Professional Starting Rate",
864
- "es": "Professionales Inicio"
1367
+ "es": "Profesionales Inicio"
865
1368
  },
866
1369
  "values": [
867
1370
  {
@@ -896,7 +1399,10 @@
896
1399
  }
897
1400
  ]
898
1401
  }
899
- ]
1402
+ ],
1403
+ "meta": {
1404
+ "facturae-tax-type-code": "04"
1405
+ }
900
1406
  }
901
1407
  ]
902
1408
  }