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
description: Used by Avalara, Vertex, and Recurly’s EU VAT tax feature.
18153
-
The tax code values are specific to each tax system. If you are using
18154
-
Recurly’s EU VAT feature you can use `unknown`, `physical`, or `digital`.
18155
18151
maxLength: 50
18152
+
title: Tax code
18153
+
description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box
18154
+
tax solution to determine taxation rules. You can pass in specific tax
18155
+
codes using any of these tax integrations. For Recurly's In-the-Box tax
18156
+
offering you can also choose to instead use simple values of `unknown`,
18157
+
`physical`, or `digital` tax codes. If `item_code`/`item_id` is part of
18158
+
the request then `tax_code` must be absent.
18156
18159
display_quantity:
18157
18160
type: boolean
18158
18161
title: Display quantity?
@@ -18367,14 +18370,14 @@ components:
18367
18370
minimum: 0
18368
18371
tax_code:
18369
18372
type: string
18370
-
title: Tax code
18371
-
description: Optional field used by Avalara, Vertex, and Recurly's EU VAT
18372
-
tax feature to determine taxation rules. If you have your own AvaTax or
18373
-
Vertex account configured, use their tax codes to assign specific tax
18374
-
rules. If you are using Recurly's EU VAT feature, you can use values of
18375
-
`unknown`, `physical`, or `digital`. If `item_code`/`item_id` is part
18376
-
of the request then `tax_code` must be absent.
18377
18373
maxLength: 50
18374
+
title: Tax code
18375
+
description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box
18376
+
tax solution to determine taxation rules. You can pass in specific tax
18377
+
codes using any of these tax integrations. For Recurly's In-the-Box tax
18378
+
offering you can also choose to instead use simple values of `unknown`,
18379
+
`physical`, or `digital` tax codes. If `item_code`/`item_id` is part of
18380
+
the request then `tax_code` must be absent.
18378
18381
currencies:
18379
18382
type: array
18380
18383
title: Add-on pricing
@@ -18522,14 +18525,14 @@ components:
18522
18525
minimum: 0
18523
18526
tax_code:
18524
18527
type: string
18525
-
title: Tax code
18526
-
description: Optional field used by Avalara, Vertex, and Recurly's EU VAT
18527
-
tax feature to determine taxation rules. If you have your own AvaTax or
18528
-
Vertex account configured, use their tax codes to assign specific tax
18529
-
rules. If you are using Recurly's EU VAT feature, you can use values of
18530
-
`unknown`, `physical`, or `digital`. If an `Item` is associated to the
18531
-
`AddOn` then `tax code` must be absent.
18532
18528
maxLength: 50
18529
+
title: Tax code
18530
+
description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box
18531
+
tax solution to determine taxation rules. You can pass in specific tax
18532
+
codes using any of these tax integrations. For Recurly's In-the-Box tax
18533
+
offering you can also choose to instead use simple values of `unknown`,
18534
+
`physical`, or `digital` tax codes. If an `Item` is associated to the
18535
+
`AddOn` then `tax_code` must be absent.
18533
18536
display_quantity:
18534
18537
type: boolean
18535
18538
title: Display quantity?
@@ -19808,11 +19811,13 @@ components:
19808
19811
minimum: 0
19809
19812
tax_code:
19810
19813
type: string
19811
-
title: Tax code
19812
-
description: Used by Avalara, Vertex, and Recurly’s EU VAT tax feature.
19813
-
The tax code values are specific to each tax system. If you are using
19814
-
Recurly’s EU VAT feature you can use `unknown`, `physical`, or `digital`.
19815
19814
maxLength: 50
19815
+
title: Tax code
19816
+
description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box
19817
+
tax solution to determine taxation rules. You can pass in specific tax
19818
+
codes using any of these tax integrations. For Recurly's In-the-Box tax
19819
+
offering you can also choose to instead use simple values of `unknown`,
19820
+
`physical`, or `digital` tax codes.
19816
19821
tax_exempt:
19817
19822
type: boolean
19818
19823
title: Tax exempt?
@@ -19916,11 +19921,13 @@ components:
19916
19921
minimum: 0
19917
19922
tax_code:
19918
19923
type: string
19919
-
title: Tax code
19920
-
description: Used by Avalara, Vertex, and Recurly’s EU VAT tax feature.
19921
-
The tax code values are specific to each tax system. If you are using
19922
-
Recurly’s EU VAT feature you can use `unknown`, `physical`, or `digital`.
19923
19924
maxLength: 50
19925
+
title: Tax code
19926
+
description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box
19927
+
tax solution to determine taxation rules. You can pass in specific tax
19928
+
codes using any of these tax integrations. For Recurly's In-the-Box tax
19929
+
offering you can also choose to instead use simple values of `unknown`,
19930
+
`physical`, or `digital` tax codes.
19924
19931
tax_exempt:
19925
19932
type: boolean
19926
19933
title: Tax exempt?
@@ -20012,11 +20019,13 @@ components:
20012
20019
minimum: 0
20013
20020
tax_code:
20014
20021
type: string
20015
-
title: Tax code
20016
-
description: Used by Avalara, Vertex, and Recurly’s EU VAT tax feature.
20017
-
The tax code values are specific to each tax system. If you are using
20018
-
Recurly’s EU VAT feature you can use `unknown`, `physical`, or `digital`.
20019
20022
maxLength: 50
20023
+
title: Tax code
20024
+
description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box
20025
+
tax solution to determine taxation rules. You can pass in specific tax
20026
+
codes using any of these tax integrations. For Recurly's In-the-Box tax
20027
+
offering you can also choose to instead use simple values of `unknown`,
20028
+
`physical`, or `digital` tax codes.
20020
20029
tax_exempt:
20021
20030
type: boolean
20022
20031
title: Tax exempt?
@@ -20466,7 +20475,16 @@ components:
20466
20475
title: Amount
20467
20476
description: |
20468
20477
The amount to be refunded. The amount will be split between the line items.
20469
-
If no amount is specified, it will default to refunding the total refundable amount on the invoice.
20478
+
If `type` is "amount" and no amount is specified, it will default to refunding the total refundable amount on the invoice. Can only be present if `type` is "amount".
20479
+
percentage:
20480
+
type: integer
20481
+
title: Percentage
20482
+
description: The percentage of the remaining balance to be refunded. The
20483
+
percentage will be split between the line items. If `type` is "percentage"
20484
+
and no percentage is specified, it will default to refunding 100% of the
20485
+
refundable amount on the invoice. Can only be present if `type` is "percentage".
20486
+
minimum: 1
20487
+
maximum: 100
20470
20488
line_items:
20471
20489
type: array
20472
20490
title: Line items
@@ -20482,7 +20500,7 @@ components:
20482
20500
- `all_credit` – Issues credit to the account for the entire amount of the refund. Only available when the Credit Invoices feature is enabled.
20483
20501
- `all_transaction` – Refunds the entire amount back to transactions, using transactions from previous invoices if necessary. Only available when the Credit Invoices feature is enabled.
20484
20502
default: credit_first
20485
-
"$ref": "#/components/schemas/RefuneMethodEnum"
20503
+
"$ref": "#/components/schemas/RefundMethodEnum"
20486
20504
credit_customer_notes:
20487
20505
type: string
20488
20506
title: Credit customer notes
@@ -20873,11 +20891,13 @@ components:
20873
20891
minimum: 0
20874
20892
tax_code:
20875
20893
type: string
20876
-
title: Tax code
20877
-
description: Used by Avalara, Vertex, and Recurly’s EU VAT tax feature.
20878
-
The tax code values are specific to each tax system. If you are using
20879
-
Recurly’s EU VAT feature you can use `unknown`, `physical`, or `digital`.
20880
20894
maxLength: 50
20895
+
title: Tax code
20896
+
description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box
20897
+
tax solution to determine taxation rules. You can pass in specific tax
20898
+
codes using any of these tax integrations. For Recurly's In-the-Box tax
20899
+
offering you can also choose to instead use simple values of `unknown`,
20900
+
`physical`, or `digital` tax codes.
20881
20901
tax_info:
20882
20902
"$ref": "#/components/schemas/TaxInfo"
20883
20903
origin_tax_address_source:
@@ -20951,15 +20971,35 @@ components:
20951
20971
quantity:
20952
20972
type: integer
20953
20973
title: Quantity
20954
-
description: Line item quantity to be refunded.
20974
+
description: Line item quantity to be refunded. Must be less than or equal
20975
+
to the `quantity_remaining`. If `quantity_decimal`, `amount`, and `percentage`
20976
+
are not present, `quantity` is required. If `amount` or `percentage` is
20977
+
present, `quantity` must be absent.
20955
20978
quantity_decimal:
20956
20979
type: string
20957
20980
title: Quantity Decimal
20958
-
description: A floating-point alternative to Quantity. If this value is
20959
-
present, it will be used in place of Quantity for calculations, and Quantity
20960
-
will be the rounded integer value of this number. This field supports
20961
-
up to 9 decimal places. The Decimal Quantity feature must be enabled to
20962
-
utilize this field.
20981
+
description: Decimal quantity to refund. The `quantity_decimal` will be
20982
+
used to refund charges that has a NOT null quantity decimal. Must be less
20983
+
than or equal to the `quantity_decimal_remaining`. If `quantity`, `amount`,
20984
+
and `percentage` are not present, `quantity_decimal` is required. If `amount`
20985
+
or `percentage` is present, `quantity_decimal` must be absent. The Decimal
20986
+
Quantity feature must be enabled to utilize this field.
20987
+
amount:
20988
+
type: number
20989
+
format: float
20990
+
description: The specific amount to be refunded from the adjustment. Must
20991
+
be less than or equal to the adjustment's remaining balance. If `quantity`,
20992
+
`quantity_decimal` and `percentage` are not present, `amount` is required.
20993
+
If `quantity`, `quantity_decimal`, or `percentage` is present, `amount`
20994
+
must be absent.
20995
+
percentage:
20996
+
type: integer
20997
+
description: The percentage of the adjustment's remaining balance to refund.
20998
+
If `quantity`, `quantity_decimal` and `amount_in_cents` are not present,
20999
+
`percentage` is required. If `quantity`, `quantity_decimal` or `amount_in_cents`
21000
+
is present, `percentage` must be absent.
21001
+
minimum: 1
21002
+
maximum: 100
20963
21003
prorate:
20964
21004
type: boolean
20965
21005
title: Prorate
@@ -21095,13 +21135,13 @@ components:
21095
21135
minimum: 0
21096
21136
tax_code:
21097
21137
type: string
21098
-
title: Tax code
21099
-
description: Optional field used by Avalara, Vertex, and Recurly's EU VAT
21100
-
tax feature to determine taxation rules. If you have your own AvaTax or
21101
-
Vertex account configured, use their tax codes to assign specific tax
21102
-
rules. If you are using Recurly's EU VAT feature, you can use values of
21103
-
`unknown`, `physical`, or `digital`.
21104
21138
maxLength: 50
21139
+
title: Tax code
21140
+
description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box
21141
+
tax solution to determine taxation rules. You can pass in specific tax
21142
+
codes using any of these tax integrations. For Recurly's In-the-Box tax
21143
+
offering you can also choose to instead use simple values of `unknown`,
21144
+
`physical`, or `digital` tax codes.
21105
21145
product_code:
21106
21146
type: string
21107
21147
title: Product code
@@ -21299,11 +21339,13 @@ components:
21299
21339
minimum: 0
21300
21340
tax_code:
21301
21341
type: string
21302
-
title: Tax code
21303
-
description: Used by Avalara, Vertex, and Recurly’s EU VAT tax feature.
21304
-
The tax code values are specific to each tax system. If you are using
21305
-
Recurly’s EU VAT feature you can use `unknown`, `physical`, or `digital`.
21306
21342
maxLength: 50
21343
+
title: Tax code
21344
+
description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box
21345
+
tax solution to determine taxation rules. You can pass in specific tax
21346
+
codes using any of these tax integrations. For Recurly's In-the-Box tax
21347
+
offering you can also choose to instead use simple values of `unknown`,
21348
+
`physical`, or `digital` tax codes.
21307
21349
tax_exempt:
21308
21350
type: boolean
21309
21351
title: Tax exempt?
@@ -21512,13 +21554,13 @@ components:
21512
21554
minimum: 0
21513
21555
tax_code:
21514
21556
type: string
21515
-
title: Tax code
21516
-
description: Optional field used by Avalara, Vertex, and Recurly's EU VAT
21517
-
tax feature to determine taxation rules. If you have your own AvaTax or
21518
-
Vertex account configured, use their tax codes to assign specific tax
21519
-
rules. If you are using Recurly's EU VAT feature, you can use values of
21520
-
`unknown`, `physical`, or `digital`.
21521
21557
maxLength: 50
21558
+
title: Tax code
21559
+
description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box
21560
+
tax solution to determine taxation rules. You can pass in specific tax
21561
+
codes using any of these tax integrations. For Recurly's In-the-Box tax
21562
+
offering you can also choose to instead use simple values of `unknown`,
21563
+
`physical`, or `digital` tax codes.
21522
21564
tax_exempt:
21523
21565
type: boolean
21524
21566
title: Tax exempt?
@@ -21776,13 +21818,13 @@ components:
21776
21818
minimum: 0
21777
21819
tax_code:
21778
21820
type: string
21779
-
title: Tax code
21780
-
description: Optional field used by Avalara, Vertex, and Recurly's EU VAT
21781
-
tax feature to determine taxation rules. If you have your own AvaTax or
21782
-
Vertex account configured, use their tax codes to assign specific tax
21783
-
rules. If you are using Recurly's EU VAT feature, you can use values of
21784
-
`unknown`, `physical`, or `digital`.
21785
21821
maxLength: 50
21822
+
title: Tax code
21823
+
description: Optional field used by Avalara, Vertex, and Recurly's In-the-Box
21824
+
tax solution to determine taxation rules. You can pass in specific tax
21825
+
codes using any of these tax integrations. For Recurly's In-the-Box tax
21826
+
offering you can also choose to instead use simple values of `unknown`,
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
@@ -1841,7 +1841,7 @@ class LineItem(Resource):
1841
1841
tax : float
1842
1842
The tax amount for the line item.
1843
1843
tax_code : str
1844
-
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`.
1844
+
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.
1845
1845
tax_exempt : bool
1846
1846
`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.
1847
1847
tax_inclusive : bool
@@ -2759,7 +2759,7 @@ class Item(Resource):
2759
2759
state : str
2760
2760
The current state of the item.
2761
2761
tax_code : str
2762
-
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`.
2762
+
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.
2763
2763
tax_exempt : bool
2764
2764
`true` exempts tax on the item, `false` applies tax on the item.
2765
2765
updated_at : datetime
@@ -2968,7 +2968,7 @@ class Plan(Resource):
2968
2968
state : str
2969
2969
The current state of the plan.
2970
2970
tax_code : str
2971
-
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`.
2971
+
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.
2972
2972
tax_exempt : bool
2973
2973
`true` exempts tax on the plan, `false` applies tax on the plan.
2974
2974
total_billing_cycles : int
@@ -3153,7 +3153,7 @@ class AddOn(Resource):
3153
3153
state : str
3154
3154
Add-ons can be either active or inactive.
3155
3155
tax_code : str
3156
-
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`.
3156
+
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.
3157
3157
tier_type : str
3158
3158
The pricing model for the add-on. For more information,
3159
3159
[click here](https://docs.recurly.com/docs/billing-models#section-quantity-based). See our
0 commit comments