Net::API::Stripe::Billing::TaxID - A Stripe Customer Tax ID Object
my $tax = $stripe->tax_id({ country => 'JP', customer => $customer_object, # or maybe 'unknown' type => 'eu_vat', });
v0.100.0
You can add one or multiple tax IDs to a customer. A customer's tax IDs are displayed on invoices and credit notes issued for the customer.
See Customer Tax Identification Numbers https://stripe.com/docs/billing/taxes/tax-ids for more information.
Creates a new Net::API::Stripe::Billing::TaxID object. It may also take an hash like arguments, that also are method of the same name.
Unique identifier for the object.
String representing the object’s type. Objects of the same type share the same value.
Two-letter ISO code representing the country of the tax ID.
Time at which the object was created. Measured in seconds since the Unix epoch.
ID of the customer. When expanded, this is a Net::API::Stripe::Customer object.
Has the value true if the object exists in live mode or the value false if the object exists in test mode.
Type of the tax ID, one of au_abn, ch_vat, eu_vat, in_gst, mx_rfc, no_vat, nz_gst, za_vat, or unknown
Value of the tax ID.
Tax ID verification information.
Verification status, one of pending, unavailable, unverified, or verified.
Verified address
Verified name.
{ "id": "txi_123456789", "object": "tax_id", "country": "DE", "created": 123456789, "customer": "cus_fake123456789", "livemode": false, "type": "eu_vat", "value": "DE123456789", "verification": { "status": "pending", "verified_address": null, "verified_name": null } }
Initial version
Initially introduced by Stripe in December 2019.
Jacques Deguest <jack@deguest.jp>
Stripe API documentation:
https://stripe.com/docs/api/customer_tax_ids/object, https://stripe.com/docs/billing/migration/taxes#moving-from-taxinfo-to-customer-tax-ids, https://stripe.com/docs/billing/taxes/tax-ids
Copyright (c) 2019-2020 DEGUEST Pte. Ltd.
You can use, copy, modify and redistribute this package and associated files under the same terms as Perl itself.
To install Net::API::Stripe, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::API::Stripe
CPAN shell
perl -MCPAN -e shell install Net::API::Stripe
For more information on module installation, please visit the detailed CPAN module installation guide.