xrechnung 0.7.2 → 0.7.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bf7b2b0425ffb15eefdf3c311b4880aa2f55ad7c080f15ae853f597451f175fa
4
- data.tar.gz: b25e7331e0c5a19ead78358dda7d6fe600d7463531d5c375f5749c3aba455d30
3
+ metadata.gz: c12b2ff2f51a6c12f63a584dddc23fd38d5c67f7c153c6c3457622438a82b348
4
+ data.tar.gz: ed9e52088c5c6a821de9022b89cd201b3ef44de4591e781bee40c8bcf43ff990
5
5
  SHA512:
6
- metadata.gz: b8cf3e9c4b1e05ff361597ab9b7fd0fde10d1b3dfcf308111c0b3fb38eff48ec3d65fb050d8f799d2890b75c7fcb3543f3424b2b25f6a47fde38beb2bac5da54
7
- data.tar.gz: fad567481b7393fe3fb7ee28c09006ca11779080a4681cf2f9d4fe487c745fdaf08cb4b764696e2a4b28f1bac7351b0f598c2b69579835eea505030585f8a9db
6
+ metadata.gz: b58288653e2945cfd22d578e8a069b4f6b9d4a932e4b07331f03d71bf02c79aa5dc31760912fada8c3cd6314365a2f89fe27e83c0a1fd3531b9e3adc37f20cec
7
+ data.tar.gz: 37465df554df646bdc974f1a0c056866f30afc6f711d88a9886330e08546e2817342ea5a1367b3b576590d3a9c753dda51dc91c8d7ed74f01a929916af7edf95
data/README.md CHANGED
@@ -1,44 +1,5 @@
1
1
  # Xrechnung
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/xrechnung`. To experiment with that code, run `bin/console` for an interactive prompt.
4
-
5
- TODO: Delete this and the text above, and describe your gem
6
-
7
- ## Installation
8
-
9
- Add this line to your application's Gemfile:
10
-
11
- ```ruby
12
- gem 'xrechnung'
13
- ```
14
-
15
- And then execute:
16
-
17
- $ bundle install
18
-
19
- Or install it yourself as:
20
-
21
- $ gem install xrechnung
22
-
23
- ## Usage
24
-
25
- TODO: Write usage instructions here
26
-
27
- ## Development
28
-
29
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
-
31
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
-
33
- ## Contributing
34
-
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/digineo/xrechnung. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/digineo/xrechnung/blob/master/CODE_OF_CONDUCT.md).
36
-
37
-
38
- ## License
39
-
40
- The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
41
-
42
- ## Code of Conduct
43
-
44
- Everyone interacting in the Xrechnung project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/digineo/xrechnung/blob/master/CODE_OF_CONDUCT.md).
3
+ This repository has been archived.
4
+ Please migrate to https://github.com/AlexZeitler/zugpferd
5
+ which supports XRechnung and ZUGFeRD.
@@ -1,3 +1,3 @@
1
1
  module Xrechnung
2
- VERSION = "0.7.2".freeze
2
+ VERSION = "0.7.3".freeze
3
3
  end
data/lib/xrechnung.rb CHANGED
@@ -172,6 +172,9 @@ module Xrechnung
172
172
  # @return [String]
173
173
  member :tax_currency_code, type: String
174
174
 
175
+ # Buyer accounting reference BT-19
176
+ member :buyer_accounting_reference, type: String, optional: true
177
+
175
178
  # Buyer reference BT-10
176
179
  #
177
180
  # Ein vom Erwerber zugewiesener und für interne Lenkungszwecke benutzter Bezeichner.
@@ -331,6 +334,7 @@ module Xrechnung
331
334
  xml.cbc :TaxPointDate, tax_point_date unless tax_point_date.nil?
332
335
  xml.cbc :DocumentCurrencyCode, document_currency_code
333
336
  xml.cbc :TaxCurrencyCode, tax_currency_code unless tax_currency_code.nil?
337
+ xml.cbc :AccountingCost, buyer_accounting_reference unless buyer_accounting_reference.nil?
334
338
  xml.cbc :BuyerReference, buyer_reference
335
339
 
336
340
  invoice_period&.to_xml(xml) unless self.class.members[:invoice_period].optional && invoice_period.nil?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xrechnung
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.2
4
+ version: 0.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julian Kornberger