Net::API::Stripe::Billing::Invoice::TaxAmount - A Stripe Invoice Tax Amount
0.1
This is use in Net::API::Stripe::Billing::Invoice to calculate all the tax amounts.
Net::API::Stripe::Billing::Invoice
Creates a new Net::API::Stripe objects. It may also take an hash like arguments, that also are method of the same name.
Net::API::Stripe
Toggles verbose mode on/off
Toggles debug mode on/off
The amount, in JPY, of the tax.
Whether this tax amount is inclusive or exclusive.
The tax rate that was applied to get this tax amount.
When expanded, this is a Net::API::Stripe::Tax::Rate object.
Net::API::Stripe::Tax::Rate
{ "id": "in_1B9q03CeyNCl6fY2YNPu6oqa", "object": "invoice", "account_country": "JP", "account_name": "Angels, Inc", "amount_due": 8000, "amount_paid": 8000, "amount_remaining": 0, "application_fee_amount": null, "attempt_count": 1, "attempted": true, "auto_advance": false, "billing": "charge_automatically", "billing_reason": "subscription", "charge": "ch_1B9q03CeyNCl6fY2wu5siR6R", "collection_method": "charge_automatically", "created": 1507273919, "currency": "jpy", "custom_fields": null, "customer": "cus_G0vQn57xCoD5rG", "customer_address": null, "customer_email": "florian@111studio.jp", "customer_name": null, "customer_phone": null, "customer_shipping": null, "customer_tax_exempt": "none", "customer_tax_ids": [], "default_payment_method": null, "default_source": null, "default_tax_rates": [], "description": null, "discount": null, "due_date": null, "ending_balance": 0, "footer": null, "hosted_invoice_url": "https://pay.stripe.com/invoice/invst_XvyJuu53kQe203lIDyXEYxa7Lh", "invoice_pdf": "https://pay.stripe.com/invoice/invst_XvyJuu53kQe203lIDyXEYxa7Lh/pdf", "lines": { "data": [ { "id": "sli_be2a0c3589f761", "object": "line_item", "amount": 8000, "currency": "jpy", "description": "1 × Angels, Inc professional monthly membership (at ¥8,000 / month)", "discountable": true, "livemode": false, "metadata": {}, "period": { "end": 1559441759, "start": 1556763359 }, "plan": { "id": "professional-monthly-jpy", "object": "plan", "active": true, "aggregate_usage": null, "amount": 8000, "amount_decimal": "8000", "billing_scheme": "per_unit", "created": 1541833564, "currency": "jpy", "interval": "month", "interval_count": 1, "livemode": false, "metadata": {}, "nickname": null, "product": "prod_Dwk1QNPjrMJlY8", "tiers": null, "tiers_mode": null, "transform_usage": null, "trial_period_days": null, "usage_type": "licensed" }, "proration": false, "quantity": 1, "subscription": "sub_EccdFNq60pUMDL", "subscription_item": "si_Eccd4op26fXydB", "tax_amounts": [], "tax_rates": [], "type": "subscription" } ], "has_more": false, "object": "list", "url": "/v1/invoices/in_1B9q03CeyNCl6fY2YNPu6oqa/lines" }, "livemode": false, "metadata": {}, "next_payment_attempt": null, "number": "53DB91F-0001", "paid": true, "payment_intent": null, "period_end": 1507273919, "period_start": 1507273919, "post_payment_credit_notes_amount": 0, "pre_payment_credit_notes_amount": 0, "receipt_number": "2066-1929", "starting_balance": 0, "statement_descriptor": null, "status": "paid", "status_transitions": { "finalized_at": 1507273919, "marked_uncollectible_at": null, "paid_at": 1507273919, "voided_at": null }, "subscription": "sub_BWtnk6Km6GOapC", "subtotal": 8000, "tax": null, "tax_percent": null, "total": 8000, "total_tax_amounts": [], "webhooks_delivered_at": 1507273920 }
Initial version
Jacques Deguest <jack@deguest.jp>
Stripe API documentation:
https://stripe.com/docs/api/invoices
Copyright (c) 2018-2019 DEGUEST Pte. Ltd.
You can use, copy, modify and redistribute this package and associated files under the same terms as Perl itself.
1 POD Error
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head1'
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.