gobl 0.19.0 → 0.21.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/data/regimes/at.json +155 -0
- data/data/regimes/be.json +164 -0
- data/data/regimes/ca.json +9 -0
- data/data/regimes/ch.json +153 -0
- data/data/regimes/co.json +80 -14686
- data/data/regimes/de.json +2 -2
- data/data/regimes/es.json +99 -561
- data/data/regimes/fr.json +2 -2
- data/data/regimes/gb.json +8 -0
- data/data/regimes/gr.json +591 -0
- data/data/regimes/it.json +46 -666
- data/data/regimes/mx.json +27 -3
- data/data/regimes/nl.json +8 -0
- data/data/regimes/pl.json +65 -8
- data/data/regimes/pt.json +51 -200
- data/data/regimes/us.json +9 -0
- data/lib/generated/gobl/bill/charge.rb +6 -7
- data/lib/generated/gobl/bill/correction_options.rb +7 -3
- data/lib/generated/gobl/bill/delivery.rb +0 -1
- data/lib/generated/gobl/bill/discount.rb +5 -6
- data/lib/generated/gobl/bill/document_reference.rb +2 -3
- data/lib/generated/gobl/bill/invoice.rb +6 -6
- data/lib/generated/gobl/bill/line.rb +3 -4
- data/lib/generated/gobl/bill/line_charge.rb +0 -1
- data/lib/generated/gobl/bill/line_discount.rb +0 -1
- data/lib/generated/gobl/bill/ordering.rb +0 -1
- data/lib/generated/gobl/bill/outlay.rb +3 -4
- data/lib/generated/gobl/bill/payment.rb +0 -1
- data/lib/generated/gobl/bill/preceding.rb +16 -6
- data/lib/generated/gobl/bill/tax.rb +5 -1
- data/lib/generated/gobl/bill/totals.rb +0 -1
- data/lib/generated/gobl/cal/date.rb +0 -1
- data/lib/generated/gobl/cal/date_time.rb +0 -1
- data/lib/generated/gobl/cal/period.rb +0 -1
- data/lib/generated/gobl/cbc/code.rb +0 -1
- data/lib/generated/gobl/{tax → cbc}/code_definition.rb +7 -3
- data/lib/generated/gobl/cbc/code_map.rb +0 -1
- data/lib/generated/gobl/cbc/key.rb +0 -1
- data/lib/generated/gobl/{tax → cbc}/key_definition.rb +16 -7
- data/lib/generated/gobl/cbc/meta.rb +0 -1
- data/lib/generated/gobl/cbc/note.rb +0 -1
- data/lib/generated/gobl/currency/amount.rb +33 -0
- data/lib/generated/gobl/currency/code.rb +118 -105
- data/lib/generated/gobl/currency/exchange_rate.rb +17 -7
- data/lib/generated/gobl/dsig/digest.rb +0 -1
- data/lib/generated/gobl/dsig/signature.rb +0 -1
- data/lib/generated/gobl/envelope.rb +0 -1
- data/lib/generated/gobl/head/header.rb +2 -3
- data/lib/generated/gobl/head/stamp.rb +0 -1
- data/lib/generated/gobl/i18n/string.rb +0 -1
- data/lib/generated/gobl/l10n/code.rb +0 -1
- data/lib/generated/gobl/l10n/country_code.rb +0 -1
- data/lib/generated/gobl/note/message.rb +5 -1
- data/lib/generated/gobl/org/address.rb +3 -4
- data/lib/generated/gobl/org/coordinates.rb +0 -1
- data/lib/generated/gobl/org/email.rb +3 -4
- data/lib/generated/gobl/org/identity.rb +3 -4
- data/lib/generated/gobl/org/image.rb +3 -4
- data/lib/generated/gobl/org/inbox.rb +3 -4
- data/lib/generated/gobl/org/item.rb +10 -6
- data/lib/generated/gobl/org/name.rb +3 -4
- data/lib/generated/gobl/org/party.rb +10 -6
- data/lib/generated/gobl/org/person.rb +3 -4
- data/lib/generated/gobl/org/registration.rb +7 -3
- data/lib/generated/gobl/org/telephone.rb +3 -4
- data/lib/generated/gobl/org/unit.rb +0 -1
- data/lib/generated/gobl/org/website.rb +4 -5
- data/lib/generated/gobl/pay/advance.rb +3 -4
- data/lib/generated/gobl/pay/card.rb +0 -1
- data/lib/generated/gobl/pay/credit_transfer.rb +0 -1
- data/lib/generated/gobl/pay/direct_debit.rb +0 -1
- data/lib/generated/gobl/pay/due_date.rb +0 -1
- data/lib/generated/gobl/pay/instructions.rb +0 -1
- data/lib/generated/gobl/pay/online.rb +12 -8
- data/lib/generated/gobl/pay/terms.rb +0 -1
- data/lib/generated/gobl/regimes/mx/food_vouchers.rb +0 -1
- data/lib/generated/gobl/regimes/mx/food_vouchers_employee.rb +0 -1
- data/lib/generated/gobl/regimes/mx/food_vouchers_line.rb +0 -1
- data/lib/generated/gobl/regimes/mx/fuel_account_balance.rb +0 -1
- data/lib/generated/gobl/regimes/mx/fuel_account_item.rb +0 -1
- data/lib/generated/gobl/regimes/mx/fuel_account_line.rb +0 -2
- data/lib/generated/gobl/regimes/mx/fuel_account_tax.rb +11 -9
- data/lib/generated/gobl/schema/object.rb +0 -1
- data/lib/generated/gobl/tax/category.rb +1 -2
- data/lib/generated/gobl/tax/category_total.rb +0 -1
- data/lib/generated/gobl/tax/combo.rb +3 -4
- data/lib/generated/gobl/tax/correction_definition.rb +0 -1
- data/lib/generated/gobl/tax/{ext_map.rb → extensions.rb} +2 -3
- data/lib/generated/gobl/tax/identity.rb +10 -21
- data/lib/generated/gobl/tax/rate.rb +0 -1
- data/lib/generated/gobl/tax/rate_total.rb +3 -4
- data/lib/generated/gobl/tax/rate_total_surcharge.rb +0 -1
- data/lib/generated/gobl/tax/rate_value.rb +9 -5
- data/lib/generated/gobl/tax/regime.rb +23 -24
- data/lib/generated/gobl/tax/scenario.rb +0 -1
- data/lib/generated/gobl/tax/scenario_set.rb +0 -1
- data/lib/generated/gobl/tax/set.rb +0 -1
- data/lib/generated/gobl/tax/source.rb +0 -1
- data/lib/generated/gobl/tax/total.rb +0 -1
- data/lib/gobl/operations/validation_result.rb +1 -3
- data/lib/gobl/version.rb +1 -1
- metadata +10 -7
- data/lib/generated/gobl/tax/zone.rb +0 -48
- data/lib/generated/gobl/uuid/uuid.rb +0 -17