Skip to content

Commit 4f0998f

Browse files
authored
Merge pull request #642 from recurly/v3-v2021-02-25-1683142431
Generated Latest Changes for v2021-02-25
2 parents fd02c9c + 064a2f2 commit 4f0998f

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
@@ -22347,23 +22347,29 @@ components:
2234722347
description: Provides the tax type as "vat" for EU VAT, "usst" for U.S.
2234822348
Sales Tax, or the 2 letter country code for country level tax types like
2234922349
Canada, Australia, New Zealand, Israel, and all non-EU European countries.
22350+
Not present when Avalara for Communications is enabled.
2235022351
region:
2235122352
type: string
2235222353
title: Region
2235322354
description: Provides the tax region applied on an invoice. For U.S. Sales
2235422355
Tax, this will be the 2 letter state code. For EU VAT this will be the
2235522356
2 letter country code. For all country level tax types, this will display
22356-
the regional tax, like VAT, GST, or PST.
22357+
the regional tax, like VAT, GST, or PST. Not present when Avalara for
22358+
Communications is enabled.
2235722359
rate:
2235822360
type: number
2235922361
format: float
2236022362
title: Rate
22363+
description: The combined tax rate. Not present when Avalara for Communications
22364+
is enabled.
2236122365
tax_details:
2236222366
type: array
22363-
description: Provides additional tax details for Canadian Sales Tax when
22364-
there is tax applied at both the country and province levels. This will
22365-
only be populated for the Invoice response when fetching a single invoice
22366-
and not for the InvoiceList or LineItem.
22367+
description: Provides additional tax details for Communications taxes when
22368+
Avalara for Communications is enabled or Canadian Sales Tax when there
22369+
is tax applied at both the country and province levels. This will only
22370+
be populated for the Invoice response when fetching a single invoice and
22371+
not for the InvoiceList or LineItemList. Only populated for a single LineItem
22372+
fetch when Avalara for Communications is enabled.
2236722373
items:
2236822374
"$ref": "#/components/schemas/TaxDetail"
2236922375
TaxDetail:
@@ -22373,13 +22379,15 @@ components:
2237322379
type:
2237422380
type: string
2237522381
title: Type
22376-
description: Provides the tax type for the region. For Canadian Sales Tax,
22382+
description: Provides the tax type for the region or type of Comminications
22383+
tax when Avalara for Communications is enabled. For Canadian Sales Tax,
2237722384
this will be GST, HST, QST or PST.
2237822385
region:
2237922386
type: string
2238022387
title: Region
2238122388
description: Provides the tax region applied on an invoice. For Canadian
2238222389
Sales Tax, this will be either the 2 letter province code or country code.
22390+
Not present when Avalara for Communications is enabled.
2238322391
rate:
2238422392
type: number
2238522393
format: float
@@ -22390,6 +22398,22 @@ components:
2239022398
format: float
2239122399
title: Tax
2239222400
description: The total tax applied for this tax type.
22401+
name:
22402+
type: string
22403+
title: Name
22404+
description: Provides the name of the Communications tax applied. Present
22405+
only when Avalara for Communications is enabled.
22406+
level:
22407+
type: string
22408+
title: Level
22409+
description: Provides the jurisdiction level for the Communications tax
22410+
applied. Example values include city, state and federal. Present only
22411+
when Avalara for Communications is enabled.
22412+
billable:
22413+
type: boolean
22414+
title: Billable
22415+
description: Whether or not the line item is taxable. Only populated for
22416+
a single LineItem fetch when Avalara for Communications is enabled.
2239322417
Transaction:
2239422418
type: object
2239522419
properties:

recurly/resources.py

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1494,13 +1494,13 @@ class TaxInfo(Resource):
14941494
Attributes
14951495
----------
14961496
rate : float
1497-
Rate
1497+
The combined tax rate. Not present when Avalara for Communications is enabled.
14981498
region : str
1499-
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.
1499+
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.
15001500
tax_details : :obj:`list` of :obj:`TaxDetail`
1501-
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.
1501+
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.
15021502
type : str
1503-
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.
1503+
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.
15041504
"""
15051505

15061506
schema = {
@@ -1515,17 +1515,26 @@ class TaxDetail(Resource):
15151515
"""
15161516
Attributes
15171517
----------
1518+
billable : bool
1519+
Whether or not the line item is taxable. Only populated for a single LineItem fetch when Avalara for Communications is enabled.
1520+
level : str
1521+
Provides the jurisdiction level for the Communications tax applied. Example values include city, state and federal. Present only when Avalara for Communications is enabled.
1522+
name : str
1523+
Provides the name of the Communications tax applied. Present only when Avalara for Communications is enabled.
15181524
rate : float
15191525
Provides the tax rate for the region.
15201526
region : str
1521-
Provides the tax region applied on an invoice. For Canadian Sales Tax, this will be either the 2 letter province code or country code.
1527+
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.
15221528
tax : float
15231529
The total tax applied for this tax type.
15241530
type : str
1525-
Provides the tax type for the region. For Canadian Sales Tax, this will be GST, HST, QST or PST.
1531+
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.
15261532
"""
15271533

15281534
schema = {
1535+
"billable": bool,
1536+
"level": str,
1537+
"name": str,
15291538
"rate": float,
15301539
"region": str,
15311540
"tax": float,

0 commit comments

Comments
 (0)