You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: openapi/api.yaml
+89-64Lines changed: 89 additions & 64 deletions
Original file line number
Diff line number
Diff line change
@@ -8982,10 +8982,11 @@ paths:
8982
8982
summary: Refund an invoice
8983
8983
description: |
8984
8984
There are two ways to do a refund:
8985
-
* refund a specific amount which is divided across all the line items.
8986
-
* refund quantities of line items.
8987
-
If you want to refund the entire refundable amount on the invoice, the
8988
-
simplest way is to do `type=amount` without specifiying an `amount`.
8985
+
* Apply a specific dollar/cent amount or percentage amount to an entire invoice, which will refund the resulting amount across all line items on the invoice.
8986
+
* If you want to refund the entire refundable amount on the invoice, the simplest way is to do `type=amount` without specifiying an `amount`.
8987
+
* Note: You must have the Credit Memos feature flag enabled on your site to utilize percentage amount refunds on invoices.
8988
+
* Apply a refund to one or more individual line items on an invoice. A line item can be refunded by a quantity amount, a specific dollar/cent amount, or a percentage amount and will only apply to the specific line item you are aiming to refund.
8989
+
* Note: You must have the Credit Memos feature flag enabled on your site to utilize specific dollar/cent amount and percentage amount refunds on line items.
8989
8990
parameters:
8990
8991
- "$ref": "#/components/parameters/site_id"
8991
8992
- "$ref": "#/components/parameters/invoice_id"
@@ -16128,11 +16129,14 @@ components:
16128
16129
minimum: 0
16129
16130
tax_code:
16130
16131
type: string
16131
-
title: Tax code
16132
-
description: Used by Avalara, Vertex, and Recurly’s EU VAT tax feature.
16133
-
The tax code values are specific to each tax system. If you are using
16134
-
Recurly’s EU VAT feature you can use `unknown`, `physical`, or `digital`.
16135
16132
maxLength: 50
16133
+
title: Tax code
16134
+
description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box
16135
+
tax solution to determine taxation rules. You can pass in specific tax
16136
+
codes using any of these tax integrations. For Recurly's In-the-Box tax
16137
+
offering you can also choose to instead use simple values of `unknown`,
16138
+
`physical`, or `digital` tax codes. If `item_code`/`item_id` is part of
16139
+
the request then `tax_code` must be absent.
16136
16140
display_quantity:
16137
16141
type: boolean
16138
16142
title: Display quantity?
@@ -16339,14 +16343,14 @@ components:
16339
16343
minimum: 0
16340
16344
tax_code:
16341
16345
type: string
16342
-
title: Tax code
16343
-
description: Optional field used by Avalara, Vertex, and Recurly's EU VAT
16344
-
tax feature to determine taxation rules. If you have your own AvaTax or
16345
-
Vertex account configured, use their tax codes to assign specific tax
16346
-
rules. If you are using Recurly's EU VAT feature, you can use values of
16347
-
`unknown`, `physical`, or `digital`. If `item_code`/`item_id` is part
16348
-
of the request then `tax_code` must be absent.
16349
16346
maxLength: 50
16347
+
title: Tax code
16348
+
description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box
16349
+
tax solution to determine taxation rules. You can pass in specific tax
16350
+
codes using any of these tax integrations. For Recurly's In-the-Box tax
16351
+
offering you can also choose to instead use simple values of `unknown`,
16352
+
`physical`, or `digital` tax codes. If `item_code`/`item_id` is part of
16353
+
the request then `tax_code` must be absent.
16350
16354
currencies:
16351
16355
type: array
16352
16356
title: Add-on pricing
@@ -16472,14 +16476,14 @@ components:
16472
16476
minimum: 0
16473
16477
tax_code:
16474
16478
type: string
16475
-
title: Tax code
16476
-
description: Optional field used by Avalara, Vertex, and Recurly's EU VAT
16477
-
tax feature to determine taxation rules. If you have your own AvaTax or
16478
-
Vertex account configured, use their tax codes to assign specific tax
16479
-
rules. If you are using Recurly's EU VAT feature, you can use values of
16480
-
`unknown`, `physical`, or `digital`. If an `Item` is associated to the
16481
-
`AddOn` then `tax code` must be absent.
16482
16479
maxLength: 50
16480
+
title: Tax code
16481
+
description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box
16482
+
tax solution to determine taxation rules. You can pass in specific tax
16483
+
codes using any of these tax integrations. For Recurly's In-the-Box tax
16484
+
offering you can also choose to instead use simple values of `unknown`,
16485
+
`physical`, or `digital` tax codes. If an `Item` is associated to the
16486
+
`AddOn` then `tax_code` must be absent.
16483
16487
display_quantity:
16484
16488
type: boolean
16485
16489
title: Display quantity?
@@ -16670,8 +16674,7 @@ components:
16670
16674
maxLength: 50
16671
16675
gateway_code:
16672
16676
type: string
16673
-
title: An identifier for a specific payment gateway. Must be used in conjunction
16674
-
with `gateway_token`.
16677
+
title: An identifier for a specific payment gateway.
16675
16678
maxLength: 12
16676
16679
gateway_attributes:
16677
16680
type: object
@@ -17678,11 +17681,13 @@ components:
17678
17681
minimum: 0
17679
17682
tax_code:
17680
17683
type: string
17681
-
title: Tax code
17682
-
description: Used by Avalara, Vertex, and Recurly’s EU VAT tax feature.
17683
-
The tax code values are specific to each tax system. If you are using
17684
-
Recurly’s EU VAT feature you can use `unknown`, `physical`, or `digital`.
17685
17684
maxLength: 50
17685
+
title: Tax code
17686
+
description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box
17687
+
tax solution to determine taxation rules. You can pass in specific tax
17688
+
codes using any of these tax integrations. For Recurly's In-the-Box tax
17689
+
offering you can also choose to instead use simple values of `unknown`,
17690
+
`physical`, or `digital` tax codes.
17686
17691
tax_exempt:
17687
17692
type: boolean
17688
17693
title: Tax exempt?
@@ -17767,11 +17772,13 @@ components:
17767
17772
minimum: 0
17768
17773
tax_code:
17769
17774
type: string
17770
-
title: Tax code
17771
-
description: Used by Avalara, Vertex, and Recurly’s EU VAT tax feature.
17772
-
The tax code values are specific to each tax system. If you are using
17773
-
Recurly’s EU VAT feature you can use `unknown`, `physical`, or `digital`.
17774
17775
maxLength: 50
17776
+
title: Tax code
17777
+
description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box
17778
+
tax solution to determine taxation rules. You can pass in specific tax
17779
+
codes using any of these tax integrations. For Recurly's In-the-Box tax
17780
+
offering you can also choose to instead use simple values of `unknown`,
17781
+
`physical`, or `digital` tax codes.
17775
17782
tax_exempt:
17776
17783
type: boolean
17777
17784
title: Tax exempt?
@@ -17844,11 +17851,13 @@ components:
17844
17851
minimum: 0
17845
17852
tax_code:
17846
17853
type: string
17847
-
title: Tax code
17848
-
description: Used by Avalara, Vertex, and Recurly’s EU VAT tax feature.
17849
-
The tax code values are specific to each tax system. If you are using
17850
-
Recurly’s EU VAT feature you can use `unknown`, `physical`, or `digital`.
17851
17854
maxLength: 50
17855
+
title: Tax code
17856
+
description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box
17857
+
tax solution to determine taxation rules. You can pass in specific tax
17858
+
codes using any of these tax integrations. For Recurly's In-the-Box tax
17859
+
offering you can also choose to instead use simple values of `unknown`,
17860
+
`physical`, or `digital` tax codes.
17852
17861
tax_exempt:
17853
17862
type: boolean
17854
17863
title: Tax exempt?
@@ -18721,11 +18730,13 @@ components:
18721
18730
minimum: 0
18722
18731
tax_code:
18723
18732
type: string
18724
-
title: Tax code
18725
-
description: Used by Avalara, Vertex, and Recurly’s EU VAT tax feature.
18726
-
The tax code values are specific to each tax system. If you are using
18727
-
Recurly’s EU VAT feature you can use `unknown`, `physical`, or `digital`.
18728
18733
maxLength: 50
18734
+
title: Tax code
18735
+
description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box
18736
+
tax solution to determine taxation rules. You can pass in specific tax
18737
+
codes using any of these tax integrations. For Recurly's In-the-Box tax
18738
+
offering you can also choose to instead use simple values of `unknown`,
18739
+
`physical`, or `digital` tax codes.
18729
18740
tax_info:
18730
18741
"$ref": "#/components/schemas/TaxInfo"
18731
18742
proration_rate:
@@ -18928,13 +18939,13 @@ components:
18928
18939
minimum: 0
18929
18940
tax_code:
18930
18941
type: string
18931
-
title: Tax code
18932
-
description: Optional field used by Avalara, Vertex, and Recurly's EU VAT
18933
-
tax feature to determine taxation rules. If you have your own AvaTax or
18934
-
Vertex account configured, use their tax codes to assign specific tax
18935
-
rules. If you are using Recurly's EU VAT feature, you can use values of
18936
-
`unknown`, `physical`, or `digital`.
18937
18942
maxLength: 50
18943
+
title: Tax code
18944
+
description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box
18945
+
tax solution to determine taxation rules. You can pass in specific tax
18946
+
codes using any of these tax integrations. For Recurly's In-the-Box tax
18947
+
offering you can also choose to instead use simple values of `unknown`,
18948
+
`physical`, or `digital` tax codes.
18938
18949
product_code:
18939
18950
type: string
18940
18951
title: Product code
@@ -19156,11 +19167,13 @@ components:
19156
19167
minimum: 0
19157
19168
tax_code:
19158
19169
type: string
19159
-
title: Tax code
19160
-
description: Used by Avalara, Vertex, and Recurly’s EU VAT tax feature.
19161
-
The tax code values are specific to each tax system. If you are using
19162
-
Recurly’s EU VAT feature you can use `unknown`, `physical`, or `digital`.
19163
19170
maxLength: 50
19171
+
title: Tax code
19172
+
description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box
19173
+
tax solution to determine taxation rules. You can pass in specific tax
19174
+
codes using any of these tax integrations. For Recurly's In-the-Box tax
19175
+
offering you can also choose to instead use simple values of `unknown`,
19176
+
`physical`, or `digital` tax codes.
19164
19177
tax_exempt:
19165
19178
type: boolean
19166
19179
title: Tax exempt?
@@ -19345,13 +19358,13 @@ components:
19345
19358
minimum: 0
19346
19359
tax_code:
19347
19360
type: string
19348
-
title: Tax code
19349
-
description: Optional field used by Avalara, Vertex, and Recurly's EU VAT
19350
-
tax feature to determine taxation rules. If you have your own AvaTax or
19351
-
Vertex account configured, use their tax codes to assign specific tax
19352
-
rules. If you are using Recurly's EU VAT feature, you can use values of
19353
-
`unknown`, `physical`, or `digital`.
19354
19361
maxLength: 50
19362
+
title: Tax code
19363
+
description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box
19364
+
tax solution to determine taxation rules. You can pass in specific tax
19365
+
codes using any of these tax integrations. For Recurly's In-the-Box tax
19366
+
offering you can also choose to instead use simple values of `unknown`,
19367
+
`physical`, or `digital` tax codes.
19355
19368
tax_exempt:
19356
19369
type: boolean
19357
19370
title: Tax exempt?
@@ -19561,13 +19574,13 @@ components:
19561
19574
minimum: 0
19562
19575
tax_code:
19563
19576
type: string
19564
-
title: Tax code
19565
-
description: Optional field used by Avalara, Vertex, and Recurly's EU VAT
19566
-
tax feature to determine taxation rules. If you have your own AvaTax or
19567
-
Vertex account configured, use their tax codes to assign specific tax
19568
-
rules. If you are using Recurly's EU VAT feature, you can use values of
19569
-
`unknown`, `physical`, or `digital`.
19570
19577
maxLength: 50
19578
+
title: Tax code
19579
+
description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box
19580
+
tax solution to determine taxation rules. You can pass in specific tax
19581
+
codes using any of these tax integrations. For Recurly's In-the-Box tax
19582
+
offering you can also choose to instead use simple values of `unknown`,
19583
+
`physical`, or `digital` tax codes.
19571
19584
tax_exempt:
19572
19585
type: boolean
19573
19586
title: Tax exempt?
@@ -20992,7 +21005,7 @@ components:
20992
21005
type: string
20993
21006
format: date-time
20994
21007
title: Start date
20995
-
description: If set, the subscription will begin in the future on this date.
21008
+
description: If set, the subscription will begin on this specified date.
20996
21009
The subscription will apply the setup fee and trial period, unless the
20997
21010
plan has no trial.
20998
21011
next_bill_date:
@@ -21080,6 +21093,12 @@ components:
21080
21093
mail order and telephone transactions.
21081
21094
enum:
21082
21095
- moto
21096
+
bulk:
21097
+
type: boolean
21098
+
description: Optional field to be used only when needing to bypass the 60
21099
+
second limit on creating subscriptions. Should only be used when creating
21100
+
subscriptions in bulk from the API.
21101
+
default: false
21083
21102
required:
21084
21103
- plan_code
21085
21104
- currency
@@ -21141,7 +21160,7 @@ components:
21141
21160
type: string
21142
21161
format: date-time
21143
21162
title: Start date
21144
-
description: If set, the subscription will begin in the future on this date.
21163
+
description: If set, the subscription will begin on this specified date.
21145
21164
The subscription will apply the setup fee and trial period, unless the
21146
21165
plan has no trial.
21147
21166
next_bill_date:
@@ -21187,6 +21206,12 @@ components:
21187
21206
description: The new set of ramp intervals for the subscription.
Copy file name to clipboardExpand all lines: recurly/resources.py
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1452,7 +1452,7 @@ class LineItem(Resource):
1452
1452
tax : float
1453
1453
The tax amount for the line item.
1454
1454
tax_code : str
1455
-
Used by Avalara, Vertex, and Recurly’s EU VAT tax feature. The tax code values are specific to each tax system. If you are using Recurly’s EU VAT feature you can use `unknown`, `physical`, or `digital`.
1455
+
Optional field used by Avalara, Vertex, and Recurly's In-the-Box tax solution to determine taxation rules. You can pass in specific tax codes using any of these tax integrations. For Recurly's In-the-Box tax offering you can also choose to instead use simple values of `unknown`, `physical`, or `digital` tax codes.
1456
1456
tax_exempt : bool
1457
1457
`true` exempts tax on charges, `false` applies tax on charges. If not defined, then defaults to the Plan and Site settings. This attribute does not work for credits (negative line items). Credits are always applied post-tax. Pre-tax discounts should use the Coupons feature.
1458
1458
tax_inclusive : bool
@@ -2187,7 +2187,7 @@ class Item(Resource):
2187
2187
state : str
2188
2188
The current state of the item.
2189
2189
tax_code : str
2190
-
Used by Avalara, Vertex, and Recurly’s EU VAT tax feature. The tax code values are specific to each tax system. If you are using Recurly’s EU VAT feature you can use `unknown`, `physical`, or `digital`.
2190
+
Optional field used by Avalara, Vertex, and Recurly's In-the-Box tax solution to determine taxation rules. You can pass in specific tax codes using any of these tax integrations. For Recurly's In-the-Box tax offering you can also choose to instead use simple values of `unknown`, `physical`, or `digital` tax codes.
2191
2191
tax_exempt : bool
2192
2192
`true` exempts tax on the item, `false` applies tax on the item.
2193
2193
updated_at : datetime
@@ -2341,7 +2341,7 @@ class Plan(Resource):
2341
2341
state : str
2342
2342
The current state of the plan.
2343
2343
tax_code : str
2344
-
Used by Avalara, Vertex, and Recurly’s EU VAT tax feature. The tax code values are specific to each tax system. If you are using Recurly’s EU VAT feature you can use `unknown`, `physical`, or `digital`.
2344
+
Optional field used by Avalara, Vertex, and Recurly's In-the-Box tax solution to determine taxation rules. You can pass in specific tax codes using any of these tax integrations. For Recurly's In-the-Box tax offering you can also choose to instead use simple values of `unknown`, `physical`, or `digital` tax codes.
2345
2345
tax_exempt : bool
2346
2346
`true` exempts tax on the plan, `false` applies tax on the plan.
2347
2347
total_billing_cycles : int
@@ -2512,7 +2512,7 @@ class AddOn(Resource):
2512
2512
state : str
2513
2513
Add-ons can be either active or inactive.
2514
2514
tax_code : str
2515
-
Used by Avalara, Vertex, and Recurly’s EU VAT tax feature. The tax code values are specific to each tax system. If you are using Recurly’s EU VAT feature you can use `unknown`, `physical`, or `digital`.
2515
+
Optional field used by Avalara, Vertex, and Recurly's In-the-Box tax solution to determine taxation rules. You can pass in specific tax codes using any of these tax integrations. For Recurly's In-the-Box tax offering you can also choose to instead use simple values of `unknown`, `physical`, or `digital` tax codes. If `item_code`/`item_id` is part of the request then `tax_code` must be absent.
0 commit comments