Closed SebastiaanKloos closed 6 years ago
Thank you! Can you add a test for this too?
Merging #49 into master will increase coverage by
0.05%
. The diff coverage is100%
.
@@ Coverage Diff @@
## master #49 +/- ##
==========================================
+ Coverage 94.66% 94.71% +0.05%
==========================================
Files 5 5
Lines 206 208 +2
==========================================
+ Hits 195 197 +2
Misses 11 11
Impacted Files | Coverage Δ | |
---|---|---|
src/Mpociot/VatCalculator/VatCalculator.php | 93.23% <100%> (+0.1%) |
:arrow_up: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 86776da...5e688a7. Read the comment docs.
@mpociot I'll try to add a test to it!
I've added some tests. @mpociot
@mpociot Can you please review my code and merge if accepted?
I was just about to open an issue for this. Any updates on when this will be merged? Germany also has two tax types, 19% and 7%
@mxmtsk no response yet from moderators
@mpociot Any thoughts on this, it's been a while? :) @SebastiaanKloos would you consider adding another checkin to make it more complete and reflect Germany also?
'rate' => 0.19,
'rates' => [
'high' => 0.19,
'low' => 0.07,
],
In the Netherlands we have more than one tax rate.
High: 21% and Low: 6%.
https://www.belastingdienst.nl/wps/wcm/connect/bldcontentnl/belastingdienst/zakelijk/internationaal/btw_voor_buitenlandse_ondernemers/btw_berekenen/btw_tarieven/
I've added this functionality to this repository to help Dutch users.