Skip to content

Commit 4c3a5cd

Browse files
authored
Merge pull request #639 from recurly/v3-v2019-10-10-1682539917
Generated Latest Changes for v2019-10-10
2 parents 4e5d2bd + ab63917 commit 4c3a5cd

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

openapi/api.yaml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,8 +224,8 @@ tags:
224224
x-displayName: Site
225225
- name: custom_field_definition
226226
x-displayName: Custom Field Definition
227-
description: Describes the fields that can use used as custom fields on accounts
228-
or subscriptions.
227+
description: Describes the fields that can be used as custom fields on accounts,
228+
items, line-items (one time charges), plans, or subscriptions.
229229
- name: item
230230
x-displayName: Item
231231
description: |-
@@ -15561,7 +15561,9 @@ components:
1556115561
- es-MX
1556215562
- es-US
1556315563
- fi-FI
15564+
- fr-BE
1556415565
- fr-CA
15566+
- fr-CH
1556515567
- fr-FR
1556615568
- hi-IN
1556715569
- it-IT
@@ -15698,7 +15700,9 @@ components:
1569815700
- es-MX
1569915701
- es-US
1570015702
- fi-FI
15703+
- fr-BE
1570115704
- fr-CA
15705+
- fr-CH
1570215706
- fr-FR
1570315707
- hi-IN
1570415708
- it-IT
@@ -16619,6 +16623,9 @@ components:
1661916623
title: Security code or CVV
1662016624
description: "*STRONGLY RECOMMENDED*"
1662116625
maxLength: 4
16626+
currency:
16627+
type: string
16628+
description: 3-letter ISO 4217 currency code.
1662216629
vat_number:
1662316630
type: string
1662416631
title: VAT number
@@ -17468,10 +17475,12 @@ components:
1746817475
- `read_only` - Users with the Customers role will be able to view this field's data via the admin UI, but
1746917476
editing will only be available via the API.
1747017477
- `write` - Users with the Customers role will be able to view and edit this field's data via the admin UI.
17478+
- `set_only` - Users with the Customers role will be able to set this field's data via the admin console.
1747117479
enum:
1747217480
- api_only
1747317481
- read_only
1747417482
- write
17483+
- set_only
1747517484
display_name:
1747617485
type: string
1747717486
title: Display name
@@ -17966,6 +17975,13 @@ components:
1796617975
description: The outstanding balance remaining on this invoice.
1796717976
tax_info:
1796817977
"$ref": "#/components/schemas/TaxInfo"
17978+
used_tax_service:
17979+
type: boolean
17980+
title: Used Tax Service?
17981+
description: Will be `true` when the invoice had a successful response from
17982+
the tax service and `false` when the invoice was not sent to tax service
17983+
due to a lack of address or enabled jurisdiction or was processed without
17984+
tax due to a non-blocking error returned from the tax service.
1796917985
vat_number:
1797017986
type: string
1797117987
title: VAT number

recurly/resources.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1161,6 +1161,8 @@ class Invoice(Resource):
11611161
Invoices are either charge, credit, or legacy invoices.
11621162
updated_at : datetime
11631163
Last updated at
1164+
used_tax_service : bool
1165+
Will be `true` when the invoice had a successful response from the tax service and `false` when the invoice was not sent to tax service due to a lack of address or enabled jurisdiction or was processed without tax due to a non-blocking error returned from the tax service.
11641166
vat_number : str
11651167
VAT registration number for the customer on this invoice. This will come from the VAT Number field in the Billing Info or the Account Info depending on your tax settings and the invoice collection method.
11661168
vat_reverse_charge_notes : str
@@ -1202,6 +1204,7 @@ class Invoice(Resource):
12021204
"transactions": ["Transaction"],
12031205
"type": str,
12041206
"updated_at": datetime,
1207+
"used_tax_service": bool,
12051208
"vat_number": str,
12061209
"vat_reverse_charge_notes": str,
12071210
}
@@ -2086,6 +2089,7 @@ class CustomFieldDefinition(Resource):
20862089
- `read_only` - Users with the Customers role will be able to view this field's data via the admin UI, but
20872090
editing will only be available via the API.
20882091
- `write` - Users with the Customers role will be able to view and edit this field's data via the admin UI.
2092+
- `set_only` - Users with the Customers role will be able to set this field's data via the admin console.
20892093
"""
20902094

20912095
schema = {

0 commit comments

Comments
 (0)