Skip to content

Commit e2a6cae

Browse files
authored
Merge pull request #641 from recurly/v3-v2019-10-10-1683139009
Generated Latest Changes for v2019-10-10
2 parents 0cff2ba + 34f2fc5 commit e2a6cae

File tree

2 files changed

+45
-12
lines changed

2 files changed

+45
-12
lines changed

openapi/api.yaml

Lines changed: 30 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21336,23 +21336,29 @@ components:
2133621336
description: Provides the tax type as "vat" for EU VAT, "usst" for U.S.
2133721337
Sales Tax, or the 2 letter country code for country level tax types like
2133821338
Canada, Australia, New Zealand, Israel, and all non-EU European countries.
21339+
Not present when Avalara for Communications is enabled.
2133921340
region:
2134021341
type: string
2134121342
title: Region
2134221343
description: Provides the tax region applied on an invoice. For U.S. Sales
2134321344
Tax, this will be the 2 letter state code. For EU VAT this will be the
2134421345
2 letter country code. For all country level tax types, this will display
21345-
the regional tax, like VAT, GST, or PST.
21346+
the regional tax, like VAT, GST, or PST. Not present when Avalara for
21347+
Communications is enabled.
2134621348
rate:
2134721349
type: number
2134821350
format: float
2134921351
title: Rate
21352+
description: The combined tax rate. Not present when Avalara for Communications
21353+
is enabled.
2135021354
tax_details:
2135121355
type: array
21352-
description: Provides additional tax details for Canadian Sales Tax when
21353-
there is tax applied at both the country and province levels. This will
21354-
only be populated for the Invoice response when fetching a single invoice
21355-
and not for the InvoiceList or LineItem.
21356+
description: Provides additional tax details for Communications taxes when
21357+
Avalara for Communications is enabled or Canadian Sales Tax when there
21358+
is tax applied at both the country and province levels. This will only
21359+
be populated for the Invoice response when fetching a single invoice and
21360+
not for the InvoiceList or LineItemList. Only populated for a single LineItem
21361+
fetch when Avalara for Communications is enabled.
2135621362
items:
2135721363
"$ref": "#/components/schemas/TaxDetail"
2135821364
TaxDetail:
@@ -21362,13 +21368,15 @@ components:
2136221368
type:
2136321369
type: string
2136421370
title: Type
21365-
description: Provides the tax type for the region. For Canadian Sales Tax,
21371+
description: Provides the tax type for the region or type of Comminications
21372+
tax when Avalara for Communications is enabled. For Canadian Sales Tax,
2136621373
this will be GST, HST, QST or PST.
2136721374
region:
2136821375
type: string
2136921376
title: Region
2137021377
description: Provides the tax region applied on an invoice. For Canadian
2137121378
Sales Tax, this will be either the 2 letter province code or country code.
21379+
Not present when Avalara for Communications is enabled.
2137221380
rate:
2137321381
type: number
2137421382
format: float
@@ -21379,6 +21387,22 @@ components:
2137921387
format: float
2138021388
title: Tax
2138121389
description: The total tax applied for this tax type.
21390+
name:
21391+
type: string
21392+
title: Name
21393+
description: Provides the name of the Communications tax applied. Present
21394+
only when Avalara for Communications is enabled.
21395+
level:
21396+
type: string
21397+
title: Level
21398+
description: Provides the jurisdiction level for the Communications tax
21399+
applied. Example values include city, state and federal. Present only
21400+
when Avalara for Communications is enabled.
21401+
billable:
21402+
type: boolean
21403+
title: Billable
21404+
description: Whether or not the line item is taxable. Only populated for
21405+
a single LineItem fetch when Avalara for Communications is enabled.
2138221406
Transaction:
2138321407
type: object
2138421408
properties:

recurly/resources.py

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1258,13 +1258,13 @@ class TaxInfo(Resource):
12581258
Attributes
12591259
----------
12601260
rate : float
1261-
Rate
1261+
The combined tax rate. Not present when Avalara for Communications is enabled.
12621262
region : str
1263-
Provides the tax region applied on an invoice. For U.S. Sales Tax, this will be the 2 letter state code. For EU VAT this will be the 2 letter country code. For all country level tax types, this will display the regional tax, like VAT, GST, or PST.
1263+
Provides the tax region applied on an invoice. For U.S. Sales Tax, this will be the 2 letter state code. For EU VAT this will be the 2 letter country code. For all country level tax types, this will display the regional tax, like VAT, GST, or PST. Not present when Avalara for Communications is enabled.
12641264
tax_details : :obj:`list` of :obj:`TaxDetail`
1265-
Provides additional tax details for Canadian Sales Tax when there is tax applied at both the country and province levels. This will only be populated for the Invoice response when fetching a single invoice and not for the InvoiceList or LineItem.
1265+
Provides additional tax details for Communications taxes when Avalara for Communications is enabled or Canadian Sales Tax when there is tax applied at both the country and province levels. This will only be populated for the Invoice response when fetching a single invoice and not for the InvoiceList or LineItemList. Only populated for a single LineItem fetch when Avalara for Communications is enabled.
12661266
type : str
1267-
Provides the tax type as "vat" for EU VAT, "usst" for U.S. Sales Tax, or the 2 letter country code for country level tax types like Canada, Australia, New Zealand, Israel, and all non-EU European countries.
1267+
Provides the tax type as "vat" for EU VAT, "usst" for U.S. Sales Tax, or the 2 letter country code for country level tax types like Canada, Australia, New Zealand, Israel, and all non-EU European countries. Not present when Avalara for Communications is enabled.
12681268
"""
12691269

12701270
schema = {
@@ -1279,17 +1279,26 @@ class TaxDetail(Resource):
12791279
"""
12801280
Attributes
12811281
----------
1282+
billable : bool
1283+
Whether or not the line item is taxable. Only populated for a single LineItem fetch when Avalara for Communications is enabled.
1284+
level : str
1285+
Provides the jurisdiction level for the Communications tax applied. Example values include city, state and federal. Present only when Avalara for Communications is enabled.
1286+
name : str
1287+
Provides the name of the Communications tax applied. Present only when Avalara for Communications is enabled.
12821288
rate : float
12831289
Provides the tax rate for the region.
12841290
region : str
1285-
Provides the tax region applied on an invoice. For Canadian Sales Tax, this will be either the 2 letter province code or country code.
1291+
Provides the tax region applied on an invoice. For Canadian Sales Tax, this will be either the 2 letter province code or country code. Not present when Avalara for Communications is enabled.
12861292
tax : float
12871293
The total tax applied for this tax type.
12881294
type : str
1289-
Provides the tax type for the region. For Canadian Sales Tax, this will be GST, HST, QST or PST.
1295+
Provides the tax type for the region or type of Comminications tax when Avalara for Communications is enabled. For Canadian Sales Tax, this will be GST, HST, QST or PST.
12901296
"""
12911297

12921298
schema = {
1299+
"billable": bool,
1300+
"level": str,
1301+
"name": str,
12931302
"rate": float,
12941303
"region": str,
12951304
"tax": float,

0 commit comments

Comments
 (0)