Skip to content
Open
Show file tree
Hide file tree
Changes from 12 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ indent_size = 4
max_line_length = 80

[COMMIT_EDITMSG]
max_line_length = 0
max_line_length = 0
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "commerceguys/tax",
"version": "0.8.1",
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove the hard version number. This will be determined by the tag name in GitHub

"type": "library",
"description": "Tax library with a flexible data model, predefined tax rates, powerful resolving logic.",
"keywords": ["tax", "vat"],
Expand Down
20 changes: 20 additions & 0 deletions resources/tax_type/ca_ab_gst.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"name": "Canada - Alberta",
"generic_label": "GST",
"zone": "ca_ab",
"tag": "CA",
"rates": [
{
"id": "ca_ab_gst_standard",
"name": "Standard",
"default": true,
"amounts": [
{
"id": "ca_ab_gst_standard_2013",
"amount": 0.05,
"start_date": "2013-04-01"
}
]
}
]
}
20 changes: 20 additions & 0 deletions resources/tax_type/ca_bc_gst.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"name": "Canada - British Columbia",
"generic_label": "GST",
"zone": "ca_bc",
"tag": "CA",
"rates": [
{
"id": "ca_bc_gst_standard",
"name": "Standard",
"default": true,
"amounts": [
{
"id": "ca_bc_gst_standard_2013",
"amount": 0.05,
"start_date": "2013-04-01"
}
]
}
]
}
20 changes: 20 additions & 0 deletions resources/tax_type/ca_bc_pst.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"name": "Canada - British Columbia",
"generic_label": "PST",
"zone": "ca_bc",
"tag": "CA",
"rates": [
{
"id": "ca_bc_pst_standard",
"name": "Standard",
"default": true,
"amounts": [
{
"id": "ca_bc_pst_standard_2013",
"amount": 0.07,
"start_date": "2013-04-01"
}
]
}
]
}
20 changes: 20 additions & 0 deletions resources/tax_type/ca_mb_gst.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"name": "Canada - Manitoba",
"generic_label": "GST",
"zone": "ca_mb",
"tag": "CA",
"rates": [
{
"id": "ca_mb_gst_standard",
"name": "Standard",
"default": true,
"amounts": [
{
"id": "ca_mb_gst_standard_2013",
"amount": 0.05,
"start_date": "2013-04-01"
}
]
}
]
}
26 changes: 26 additions & 0 deletions resources/tax_type/ca_mb_rst.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"name": "Canada - Manitoba",
"generic_label": "RST",
"zone": "ca_mb",
"tag": "CA",
"rates": [
{
"id": "ca_mb_rst_standard",
"name": "Standard",
"default": true,
"amounts": [
{
"id": "ca_mb_rst_standard_2013",
"amount": 0.08,
"start_date": "2013-07-01",
"end_date": "2019-06-30"
},
{
"id": "ca_mb_rst_standard_2019",
"amount": 0.07,
"start_date": "2019-07-01"
}
]
}
]
}
27 changes: 27 additions & 0 deletions resources/tax_type/ca_nb_hst.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"name": "Canada - New Brunswick",
"generic_label": "HST",
"zone": "ca_nb",
"tag": "CA",
"compound": false,
"rates": [
{
"id": "ca_nb_hst_standard",
"name": "Standard",
"default": true,
"amounts": [
{
"id": "ca_nb_hst_standard_2013",
"amount": 0.13,
"start_date": "2013-04-01",
"end_date": "2016-06-30"
},
{
"id": "ca_nb_hst_standard_2016",
"amount": 0.15,
"start_date": "2016-07-01"
}
]
}
]
}
26 changes: 26 additions & 0 deletions resources/tax_type/ca_nl_hst.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"name": "Canada - Newfoundland and Labrador",
"generic_label": "HST",
"zone": "ca_nl",
"tag": "CA",
"rates": [
{
"id": "ca_nl_hst_standard",
"name": "Standard",
"default": true,
"amounts": [
{
"id": "ca_nl_hst_standard_2013",
"amount": 0.13,
"start_date": "2013-04-01",
"end_date": "2015-12-31"
},
{
"id": "ca_nl_hst_standard_2016",
"amount": 0.15,
"start_date": "2016-01-01"
}
]
}
]
}
20 changes: 20 additions & 0 deletions resources/tax_type/ca_ns_hst.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"name": "Canada - Nova Scotia",
"generic_label": "HST",
"zone": "ca_ns",
"tag": "CA",
"rates": [
{
"id": "ca_ns_hst_standard",
"name": "Standard",
"default": true,
"amounts": [
{
"id": "ca_ns_hst_standard_2013",
"amount": 0.15,
"start_date": "2013-04-01"
}
]
}
]
}
20 changes: 20 additions & 0 deletions resources/tax_type/ca_nt_gst.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"name": "Canada - Northwest Territories",
"generic_label": "GST",
"zone": "ca_nt",
"tag": "CA",
"rates": [
{
"id": "ca_nt_gst_standard",
"name": "Standard",
"default": true,
"amounts": [
{
"id": "ca_nt_gst_standard_2013",
"amount": 0.05,
"start_date": "2013-04-01"
}
]
}
]
}
20 changes: 20 additions & 0 deletions resources/tax_type/ca_nu_gst.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"name": "Canada - Nunavut",
"generic_label": "GST",
"zone": "ca_nu",
"tag": "CA",
"rates": [
{
"id": "ca_nu_gst_standard",
"name": "Standard",
"default": true,
"amounts": [
{
"id": "ca_nu_gst_standard_2013",
"amount": 0.05,
"start_date": "2013-04-01"
}
]
}
]
}
20 changes: 20 additions & 0 deletions resources/tax_type/ca_on_hst.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"name": "Canada - Ontario",
"generic_label": "HST",
"zone": "ca_on",
"tag": "CA",
"rates": [
{
"id": "ca_on_hst_standard",
"name": "Standard",
"default": true,
"amounts": [
{
"id": "ca_on_hst_standard_2013",
"amount": 0.13,
"start_date": "2013-04-01"
}
]
}
]
}
26 changes: 26 additions & 0 deletions resources/tax_type/ca_pe_hst.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"name": "Canada - Prince Edward Island",
"generic_label": "HST",
"zone": "ca_pe",
"tag": "CA",
"rates": [
{
"id": "ca_pe_hst_standard",
"name": "Standard",
"default": true,
"amounts": [
{
"id": "ca_pe_hst_standard_2013",
"amount": 0.14,
"start_date": "2013-04-01",
"end_date": "2016-09-30"
},
{
"id": "ca_pe_hst_standard_2016",
"amount": 0.15,
"start_date": "2016-10-01"
}
]
}
]
}
20 changes: 20 additions & 0 deletions resources/tax_type/ca_qc_gst.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"name": "Canada - Quebec",
"generic_label": "GST",
"zone": "ca_qc",
"tag": "CA",
"rates": [
{
"id": "ca_qc_gst_standard",
"name": "Standard",
"default": true,
"amounts": [
{
"id": "ca_qc_gst_standard_2013",
"amount": 0.05,
"start_date": "2013-04-01"
}
]
}
]
}
20 changes: 20 additions & 0 deletions resources/tax_type/ca_qc_qst.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"name": "Canada - Quebec",
"generic_label": "QST",
"zone": "ca_qc",
"tag": "CA",
"rates": [
{
"id": "ca_qc_qst_standard",
"name": "Standard",
"default": true,
"amounts": [
{
"id": "ca_qc_qst_standard_2013",
"amount": 0.09975,
"start_date": "2013-04-01"
}
]
}
]
}
20 changes: 20 additions & 0 deletions resources/tax_type/ca_sk_gst.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"name": "Canada - Saskatchewan",
"generic_label": "GST",
"zone": "ca_sk",
"tag": "CA",
"rates": [
{
"id": "ca_sk_gst_standard",
"name": "Standard",
"default": true,
"amounts": [
{
"id": "ca_sk_gst_standard_2013",
"amount": 0.05,
"start_date": "2013-04-01"
}
]
}
]
}
26 changes: 26 additions & 0 deletions resources/tax_type/ca_sk_pst.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"name": "Canada - Saskatchewan",
"generic_label": "PST",
"zone": "ca_sk",
"tag": "CA",
"rates": [
{
"id": "ca_sk_pst_standard",
"name": "Standard",
"default": true,
"amounts": [
{
"id": "ca_sk_pst_standard_2006",
"amount": 0.05,
"start_date": "2006-10-28",
"end_date": "2017-03-22"
},
{
"id": "ca_sk_pst_standard_2017",
"amount": 0.06,
"start_date": "2017-03-23"
}
]
}
]
}
Loading