Skip to content

Commit 43516a3

Browse files
committed
Release 3.6.0
- More relaxed requirement for mime-types gem - Add notes (Both by @corny)
1 parent 186fc3b commit 43516a3

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## 3.6.0
4+
5+
- [FEATURE] Add ability to add notes. PR by @corny
6+
- [CHORE] Loosen mime-types dependency requirement. PR by @corny
7+
38
## 3.5.0
49

510
- [FEATURE] Yet another tax calculation/validation mode :ITEM_BASED. PR by @SubandiK
@@ -8,7 +13,7 @@
813
## 3.4.0
914

1015
- [FEATURE] Allow for "untaxable" invoices. This is, for example the case when you deliver services to US states that don't tax these, or if you're falling below the registration threshold.
11-
- [FEATURE] To support valid "untaxable" invoices, `:tax_id`, `:global_id` and `:global_id_scheme_id` are introduced on `TradeParty` as attributes. ZUGFeRD does not allow VAT ids on invoices that are untaxable, so you need a global id (and other validators want you to add the local tax id as well, but that's mandatory, I think). This could be a SWIFT id, for example, which would be an IBAN for EU folks. (IANAL!)
16+
- [FEATURE] To support valid "untaxable" invoices, `:tax_id`, `:global_id` and `:global_id_scheme_id` are introduced on `TradeParty` as attributes. ZUGFeRD does not allow VAT ids on invoices that are untaxable, so you need a global id (and other validators want you to add the local tax id as well, but that's mandatory, I think). This could be a SWIFT id, for example, which would be an IBAN for EU folks. (IANAL!)
1217
- [FEATURE] Introduce tax_calculation_method = :NONE, which skips collecting taxes from line items and just uses the global values. It also skips some of the validations. This is a hack-ish solution to a problem I ran into where the invoicing service calculated the VAT and net amounts backwards from a round gross amount, resulting in rounding errors when trying to calculate them the correct way round. This is easier to use when you only have one tax rate and all the values are already known.
1318

1419
## 3.3.0

CONTRIBUTORS.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
# Contributors
22

3-
This library has been originally developed by Jan 'half/byte' Krutisch.
3+
This library has been originally developed by Jan @halfbyte Krutisch.
44

55
@zealot128 (Stefan Wienert) contributed a bunch of new fields on invoice and also helped keeping the specs up to date.
66

77
@SubandiK (Subandi Khairun) added a more robust handling of tax rates and fixed bugs in the original code.
88

99
@RST-J (Jonas Peschla) added support for vertical tax calculation.
1010

11-
@mnin (Martin Wilhelmi) added support for attachments to put PDFs into your XML to put into your PDFs
11+
@mnin (Martin Wilhelmi) added support for attachments to put PDFs into your XML to put into your PDFs.
1212

13+
@corny (Julian Kornberger) added support for notes among other things.
1314

lib/secretariat/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@
1515
=end
1616

1717
module Secretariat
18-
VERSION = '3.5.0'
18+
VERSION = '3.6.0'
1919
end

0 commit comments

Comments
 (0)