NAME
Net::API::Stripe::Customer::TaxId - A Customer Tax ID object
SYNOPSIS
my $tax_id = $stripe->tax_id({
country => 'jp',
customer => $customer_object,
type => 'eu_vat',
value => 'EU123456789',
});
See documentation in Net::API::Stripe for example to make api calls to Stripe to create those objects.
VERSION
v0.100.0
DESCRIPTION
You can add one or multiple tax IDs to a customer (Net::API::Stripe::Customer / https://stripe.com/docs/api/customers). A customer's tax IDs are displayed on invoices and credit notes issued for the customer.
CONSTRUCTOR
new( %ARG )
Creates a new Net::API::Stripe::Customer::TaxId object. It may also take an hash like arguments, that also are method of the same name.
METHODS
id string
Unique identifier for the object.
object string, value is "tax_id"
String representing the object’s type. Objects of the same type share the same value.
country string
Two-letter ISO code representing the country of the tax ID.
created timestamp
Time at which the object was created. Measured in seconds since the Unix epoch.
customer string (expandable)
ID of the customer. When expanded, this is a Net::API::Stripe::Customer object.
livemode boolean
Has the value true if the object exists in live mode or the value false if the object exists in test mode.
type string
Type of the tax ID, one of au_abn, ch_vat, eu_vat, in_gst, no_vat, nz_gst, unknown, or za_vat
value string
Value of the tax ID.
verification object
Tax ID verification information. This is a Net::API::Stripe::Customer::TaxInfoVerification object.
API SAMPLE
{
"id": "txi_fake123456789",
"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
}
}
HISTORY
v0.1
Initial version
AUTHOR
Jacques Deguest <jack@deguest.jp>
SEE ALSO
Stripe API documentation:
https://stripe.com/docs/api/customer_tax_ids, https://stripe.com/docs/billing/taxes/tax-ids, https://en.wikipedia.org/wiki/VAT_identification_number
COPYRIGHT & LICENSE
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.