Skip to content

Commit cb47fbe

Browse files
authored
Merge pull request #638 from recurly/add_invoice_used_tax_service
Add used_tax_service to Invoice response
2 parents 07f52e9 + 617ac20 commit cb47fbe

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

recurly/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1037,7 +1037,8 @@ class Invoice(Resource):
10371037
'billing_info',
10381038
'billing_info_uuid',
10391039
'dunning_campaign_id',
1040-
'refundable_in_cents'
1040+
'refundable_in_cents',
1041+
'used_tax_service'
10411042
)
10421043

10431044
blacklist_attributes = (

tests/fixtures/invoice/show-invoice.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ Location: https://api.recurly.com/v2/invoices/6019
5858
<collection_method>manual</collection_method>
5959
<po_number nil="nil"></po_number>
6060
<terms_and_conditions>t and c</terms_and_conditions>
61+
<used_tax_service type="boolean">true</used_tax_service>
6162
<line_items type="array">
6263
<adjustment href="https://api.recurly.com/v2/adjustments/46036dc9823500f96f43ef44769df449" type="charge">
6364
<account href="https://api.recurly.com/v2/accounts/aa463d59-a618-4b71-b1f4-0410f835fe74"/>

tests/fixtures/invoice/show-taxed.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,6 @@ Content-Type: application/xml; charset=utf-8
2424
<description>test charge</description>
2525
<created_at type="datetime">2009-11-03T23:27:46-08:00</created_at>
2626
<tax_type>usst</tax_type>
27+
<used_tax_service type="boolean">true</used_tax_service>
2728
</invoice>
2829
</invoices>

0 commit comments

Comments
 (0)