o
    iM                 
   @   s  d dl mZ d dlmZ d dlmZ d dlmZ d dlm	Z	 d dl
mZ d dlmZ d dlmZ d d	lmZ d d
lmZ d dlmZmZ d dlmZmZmZmZmZmZmZmZm Z  d dl!m"Z"m#Z#m$Z$ e$r9d dl%m&Z& d dl'm(Z( d dl)m*Z* d dl+m,Z- d dl.m/Z/ d dl0m1Z1 d dl2m3Z3 d dl4m5Z5 d dl6m7Z7 d dl8m9Z9 d dl:m;Z; d dl<m=Z= d dl>m?Z? d dl@mAZA d dlBmCZC d dlDmEZE d dlFmGZG d dlHmIZI d d lJmKZK d d!lLmMZM d d"lNmOZO d d#lPmQZQ d d$lRmSZS d d%lTmUZU d d&lVmWZW d d'lXmYZY d d(lZm[Z[ d d)l\m]Z] d d*l^m_Z_ d d+l`maZa d d,lbmcZc d d-ldmeZe d d.lfmgZg d d/lhmiZi d d0ljmkZk ed1G d2d3 d3ed3 ed3 e	d3 ed3 ed3 Zld4S )5    )CreateableAPIResource)DeletableAPIResource)ExpandableField)
ListObject)ListableAPIResource)nested_resource_class_methods)SearchResultObject)SearchableAPIResource)StripeObject)UpdateableAPIResource)class_method_variantsanitize_id)	AsyncIteratorClassVarDictIteratorListOptionalUnioncastoverload)LiteralUnpackTYPE_CHECKING)Account)Application)BankAccount)Card)Customer)Discount)InvoiceLineItem)InvoicePayment)PaymentIntent)PaymentMethod)SetupIntent)ShippingRate)Source)Subscription)TaxId)TaxRate)CreditBalanceTransaction)InvoiceAddLinesParams)InvoiceAttachPaymentParams)InvoiceCreateParams)InvoiceCreatePreviewParams)InvoiceDeleteParams)InvoiceFinalizeInvoiceParams)InvoiceListLinesParams)InvoiceListParams)InvoiceMarkUncollectibleParams)InvoiceModifyParams)InvoicePayParams)InvoiceRemoveLinesParams)InvoiceRetrieveParams)InvoiceSearchParams)InvoiceSendInvoiceParams)InvoiceUpdateLinesParams)InvoiceVoidInvoiceParams)	TestClocklinec                   @   s  e Zd ZU dZdZeed  ed< G dd deZ	G dd deZ
G dd	 d	eZG d
d deZG dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG dd deZG d d! d!eZG d"d# d#eZG d$d% d%eZG d&d' d'eZG d(d) d)eZee ed*< 	 ee ed+< 	 eeed,   ed-< 	 e ed.< 	 e ed/< 	 e ed0< 	 e ed1< 	 e ed2< 	 eed3  ed4< 	 e ed5< 	 e!ed6< 	 ee! ed7< 	 e	ed8< ee  ed9< 	 eed:  ed;< 	 ed< ed=< 	 ee
 ed>< 	 e ed?< 	 eed@< 	 eee  edA< 	 eedB  edC< 	 ee edD< 	 ee edE< 	 ee edF< 	 ee edG< 	 ee edH< 	 eedI  edJ< 	 eee  edK< 	 eedL  edM< 	 eee"dN   edO< 	 edP edQ< 	 eedR  edS< 	 ee edT< 	 eedU  edV< 	 ee  edW< 	 ee  edX< 	 ee  edY< 	 ee edZ< 	 ee ed[< 	 ee ed\< 	 eed]< 	 ee ed^< 	 eed_< ee ed`< 	 eed   eda< 	 e#db edc< 	 e!edd< 	 ee$eef  ede< 	 ee  edf< 	 ee edg< 	 ed edh< 	 eedi  edj< 	 ee edk< 	 eedl< ee#dm  edn< 	 e edo< 	 e edp< 	 e edq< 	 e edr< 	 ee eds< 	 ee edt< 	 ee edu< 	 ee edv< 	 e edw< 	 ee edx< 	 eedy  edz< 	 eed{< e ed|< 	 ee  ed}< 	 eed~  ed< 	 ee ed< e ed< 	 eee  ed< 	 ee  ed< 	 eee  ed< 	 eee  ed< 	 ee  ed< 	 e%dede&d dd fddZ'e(e)dede&d dd fddZ*e(de&d dd fddZ*e+dde&d dd fddZ*e%dede&d dd fddZ,e(e)dede&d dd fddZ-e(de&d dd fddZ-e+dde&d dd fddZ-e%dede&d dd fddZ.e(e)dede&d dd fddZ/e(de&d dd fddZ/e+dde&d dd fddZ/e%dede&d dd fddZ0e(e)dede&d dd fddZ1e(de&d dd fddZ1e+dde&d dd fddZ1e%de&d dd fddZ2e%de&d dd fddZ3e%de&d dd fddZ4e%de&d dd fddZ5e%dede&d dd fddZ6e(e)dede&d dd fddZ7e(de&d dd fddZ7e+dde&d dd fddZ7e%dede&d dd fddZ8e(e)dede&d dd fddZ9e(de&d dd fddZ9e+dde&d dd fddZ9e%dede&d dd fddÄZ:e(e)dede&d dd fddńZ;e(de&d dd fddńZ;e+dǃde&d dd fddńZ;e%dede&d dd fddʄZ<e(e)dede&d dd fdd̄Z=e(de&d dd fdd̄Z=e+d΃de&d dd fdd̄Z=e%de&d de#d  fdd҄Z>e%de&d de#d  fddԄZ?e%dede&d dd fddׄZ@e(e)dede&d dd fddلZAe(de&d dd fddلZAe+dۃde&d dd fddلZAe%dede&d dd fddބZBe(e)dede&d dd fddZCe(de&d dd fddZCe+dde&d dd fddZCe%d]ede&d dd fddZDe%d]ede&d dd fddZEe%dede&d dd fddZFe(e)dede&d dd fddZGe(de&d dd fddZGe+dde&d dd fddZGe%dede&d dd fddZHe(e)dede&d dd fddZIe(de&d dd fddZIe+dde&d dd fddZIe%dede&d dd fddZJe(e)dede&d dd fddZKe(de&d dd fddZKe+dde&d dd fddZKe%dede&d dd fd dZLe(e)dede&d dd fddZMe(de&d dd fddZMe+dde&d dd fddZMe%d]ede&d dd fdd	ZNe%d]ede&d dd fd
dZOe%dede&d dd fddZPe(e)dede&d dd fddZQe(de&d dd fddZQe+dde&d dd fddZQe%dede&d dd fddZRe(e)dede&d dd fddZSe(de&d dd fddZSe+dde&d dd fddZSe%dede&d dd fddZTe(e)dede&d dd fddZUe(de&d dd fd dZUe+d!de&d dd fd"dZUe%dede&d dd fd#d$ZVe(e)dede&d dd fd%d&ZWe(de&d dd fd'd&ZWe+d(de&d dd fd)d&ZWe%dede&d* dd fd+d,ZXe(e)dede&d* dd fd-d.ZYe(de&d* dd fd/d.ZYe+d0de&d* dd fd1d.ZYe%dede&d* dd fd2d3ZZe(e)dede&d* dd fd4d5Z[e(de&d* dd fd6d5Z[e+d7de&d* dd fd8d5Z[e%d9e&d: de\d  fd;d<Z]e%d9e&d: de\d  fd=d>Z^e%d9e&d: de_d  fd?d@Z`e%d9e&d: dead  fdAdBZbe%dede&dC de#db fdDdEZce%dede&dC de#db fdFdGZdi d8e	d>e
dAedDedHedKed[ed_ed`edkedledteduedved{ededeeedHZedIS (J  Invoicea  
    Invoices are statements of amounts owed by a customer, and are either
    generated one-off, or generated periodically from a subscription.

    They contain [invoice items](https://stripe.com/docs/api#invoiceitems), and proration adjustments
    that may be caused by subscription upgrades/downgrades (if necessary).

    If your invoice is configured to be billed through automatic charges,
    Stripe automatically finalizes your invoice and attempts payment. Note
    that finalizing the invoice,
    [when automatic](https://stripe.com/docs/invoicing/integration/automatic-advancement-collection), does
    not happen immediately as the invoice is created. Stripe waits
    until one hour after the last webhook was successfully sent (or the last
    webhook timed out after failing). If you (and the platforms you may have
    connected to) have no webhooks configured, Stripe waits one hour after
    creation to finalize the invoice.

    If your invoice is configured to be billed by sending an email, then based on your
    [email settings](https://dashboard.stripe.com/account/billing/automatic),
    Stripe will email the invoice to your customer and await payment. These
    emails can contain a link to a hosted page to pay the invoice.

    Stripe applies any customer credit on the account before determining the
    amount due for the invoice (i.e., the amount that will be actually
    charged). If the amount due for the invoice is less than Stripe's [minimum allowed charge
    per currency](https://docs.stripe.com/docs/currencies#minimum-and-maximum-charge-amounts), the
    invoice is automatically marked paid, and we add the amount due to the
    customer's credit balance which is applied to the next invoice.

    More details on the customer's credit balance are
    [here](https://stripe.com/docs/billing/customer/balance).

    Related guide: [Send invoices to customers](https://stripe.com/docs/billing/invoices/sending)
    invoiceOBJECT_NAMEc                   @   sp   e Zd ZU G dd deZeed  ed< 	 eed< 	 ee ed< 	 ee	 ed< 	 eed  ed	< 	 deiZ
d
S )zInvoice.AutomaticTaxc                   @   ,   e Zd ZU eed  ed< 	 ed ed< dS )zInvoice.AutomaticTax.Liabilityr   accountrB   selftypeN__name__
__module____qualname__r   r   __annotations__r    rK   rK   o/var/www/snowflake_co_dev_github/snow_flake_back_end_deploy/env/lib/python3.10/site-packages/stripe/_invoice.py	Liability   
   
 rM   )%finalization_requires_location_inputsfinalization_system_errordisabled_reasonenabled	liabilityprovider)completefailedrequires_location_inputsstatusN)rG   rH   rI   r
   rM   r   r   rJ   boolstr_inner_class_typesrK   rK   rK   rL   AutomaticTax   s&   
 
r\   c                   @       e Zd ZU eed< 	 eed< dS )zInvoice.ConfirmationSecretclient_secretrE   NrG   rH   rI   rZ   rJ   rK   rK   rK   rL   ConfirmationSecret   
   
 r`   c                   @   r]   )zInvoice.CustomFieldnamevalueNr_   rK   rK   rK   rL   CustomField   ra   rd   c                   @   `   e Zd ZU ee ed< 	 ee ed< 	 ee ed< 	 ee ed< 	 ee ed< 	 ee ed< dS )zInvoice.CustomerAddresscitycountryline1line2postal_codestateNrG   rH   rI   r   rZ   rJ   rK   rK   rK   rL   CustomerAddress      
 rm   c                   @   j   e Zd ZU G dd deZee ed< ee ed< 	 ee ed< 	 ee ed< 	 ee ed< 	 deiZdS )	zInvoice.CustomerShippingc                   @   re   )z Invoice.CustomerShipping.Addressrf   rg   rh   ri   rj   rk   Nrl   rK   rK   rK   rL   Address   rn   rp   addresscarrierrb   phonetracking_numberN	rG   rH   rI   r
   rp   r   rJ   rZ   r[   rK   rK   rK   rL   CustomerShipping      
 rv   c                   @   s(   e Zd ZU ed ed< 	 ee ed< dS )zInvoice.CustomerTaxId)oad_nrtae_trnal_tinam_tinao_tinar_cuitau_abnau_arnaw_tinaz_tinba_tinbb_tinbd_binbf_ifubg_uicbh_vatbj_ifubo_tinbr_cnpjbr_cpfbs_tinby_tinca_bn
ca_gst_hst	ca_pst_bc	ca_pst_mb	ca_pst_skca_qstcd_nifch_uidch_vatcl_tincm_niucn_tinco_nitcr_tincv_nifde_stndo_rcnec_ruceg_tines_cifet_tin
eu_oss_vateu_vatgb_vatge_vatgn_nifhk_brhr_oibhu_tinid_npwpil_vatin_gstis_vatjp_cnjp_rnjp_trnke_pinkg_tinkh_tinkr_brnkz_binla_tinli_uidli_vatma_vatmd_vatme_pibmk_vatmr_nifmx_rfcmy_frpmy_itnmy_sstng_tinno_vatno_voecnp_pannz_gstom_vatpe_rucph_tinro_tinrs_pibru_innru_kppsa_vatsg_gstsg_uensi_tinsn_nineasr_finsv_nitth_vattj_tintr_tintw_vattz_vatua_vatug_tinunknownus_einuy_rucuz_tinuz_vatve_rifvn_tinza_vatzm_tinzw_tinrE   rc   N)rG   rH   rI   r   rJ   r   rZ   rK   rK   rK   rL   CustomerTaxId  s   
 qr   c                   @   $   e Zd ZU eed< 	 ed ed< dS )zInvoice.FromInvoiceactionr>   r?   N)rG   rH   rI   rZ   rJ   r   rK   rK   rK   rL   FromInvoice~  
   
 r   c                   @   rA   )zInvoice.Issuerr   rB   rC   rE   NrF   rK   rK   rK   rL   Issuer  rN   r   c                   @   s   e Zd ZU ee ed< 	 ee ed< 	 eed  ed< 	 ee ed< 	 ee ed< 	 ee ed< 	 ee ed< 	 ee ed	< 	 ee ed
< 	 ed ed< 	 ed ed< 	 ee ed< 	 ee ed< 	 ed ed< 	 eed  ed< ed ed< dS )zInvoice.LastFinalizationErroradvice_codecharge)account_closedaccount_country_invalid_address6account_error_country_change_requires_additional_stepsaccount_information_mismatchaccount_invalidaccount_number_invalidacss_debit_session_incompletealipay_upgrade_requiredamount_too_largeamount_too_smallapi_key_expiredapplication_fees_not_allowedauthentication_requiredbalance_insufficientbalance_invalid_parameter bank_account_bad_routing_numbersbank_account_declinedbank_account_existsbank_account_restrictedbank_account_unusablebank_account_unverified bank_account_verification_failedbilling_invalid_mandatebitcoin_upgrade_required$capture_charge_authorization_expiredcapture_unauthorized_payment card_decline_rate_limit_exceededcard_declined cardholder_phone_number_requiredcharge_already_capturedcharge_already_refundedcharge_disputedcharge_exceeds_source_limit charge_exceeds_transaction_limitcharge_expired_for_capturecharge_invalid_parametercharge_not_refundableclearing_code_unsupportedcountry_code_invalidcountry_unsupportedcoupon_expiredcustomer_max_payment_methodscustomer_max_subscriptionscustomer_session_expiredcustomer_tax_location_invaliddebit_not_authorizedemail_invalidexpired_card&financial_connections_account_inactive5financial_connections_account_pending_account_numbers9financial_connections_account_unavailable_account_numbers7financial_connections_no_successful_transaction_refreshforwarding_api_inactive forwarding_api_invalid_parameter'forwarding_api_retryable_upstream_error(forwarding_api_upstream_connection_error*forwarding_api_upstream_connection_timeoutforwarding_api_upstream_erroridempotency_key_in_useincorrect_addressincorrect_cvcincorrect_numberincorrect_zip(india_recurring_payment_mandate_canceledinstant_payouts_config_disabled!instant_payouts_currency_disabledinstant_payouts_limit_exceededinstant_payouts_unsupportedinsufficient_fundsintent_invalid_state"intent_verification_method_missinginvalid_card_typeinvalid_charactersinvalid_charge_amountinvalid_cvcinvalid_expiry_monthinvalid_expiry_year'invalid_mandate_reference_prefix_formatinvalid_numberinvalid_source_usageinvalid_tax_locationinvoice_no_customer_line_itemsinvoice_no_payment_method_types"invoice_no_subscription_line_itemsinvoice_not_editable!invoice_on_behalf_of_not_editable&invoice_payment_intent_requires_actioninvoice_upcoming_nonelivemode_mismatchlock_timeoutmissing
no_accountnot_allowed_on_standard_accountout_of_inventory!ownership_declaration_not_allowedparameter_invalid_emptyparameter_invalid_integerparameter_invalid_string_blankparameter_invalid_string_emptyparameter_missingparameter_unknownparameters_exclusivepayment_intent_action_required%payment_intent_authentication_failure*payment_intent_incompatible_payment_method payment_intent_invalid_parameter3payment_intent_konbini_rejected_confirmation_numberpayment_intent_mandate_invalid&payment_intent_payment_attempt_expired%payment_intent_payment_attempt_failed"payment_intent_rate_limit_exceededpayment_intent_unexpected_state,payment_method_bank_account_already_verified#payment_method_bank_account_blocked.payment_method_billing_details_address_missing%payment_method_configuration_failures payment_method_currency_mismatchpayment_method_customer_decline payment_method_invalid_parameter)payment_method_invalid_parameter_testmode"payment_method_microdeposit_failed8payment_method_microdeposit_verification_amounts_invalid9payment_method_microdeposit_verification_amounts_mismatch:payment_method_microdeposit_verification_attempts_exceededApayment_method_microdeposit_verification_descriptor_code_mismatch0payment_method_microdeposit_verification_timeoutpayment_method_not_availablepayment_method_provider_declinepayment_method_provider_timeoutpayment_method_unactivatedpayment_method_unexpected_statepayment_method_unsupported_typepayout_reconciliation_not_readypayouts_limit_exceededpayouts_not_allowedplatform_account_requiredplatform_api_key_expiredpostal_code_invalidprocessing_errorproduct_inactive%progressive_onboarding_limit_exceeded
rate_limitrefer_to_customerrefund_disputed_paymentresource_already_existsresource_missingreturn_intent_already_processedrouting_number_invalidsecret_key_requiredsepa_unsupported_accountsetup_attempt_failed#setup_intent_authentication_failuresetup_intent_invalid_parametersetup_intent_mandate_invalid&setup_intent_mobile_wallet_unsupported"setup_intent_setup_attempt_expiredsetup_intent_unexpected_stateshipping_address_invalidshipping_calculation_failedsku_inactivestate_unsupportedstatus_transition_invalidstripe_tax_inactivetax_id_invalidtax_id_prohibitedtaxes_calculation_failed%terminal_location_country_unsupportedterminal_reader_busyterminal_reader_hardware_fault/terminal_reader_invalid_location_for_activation,terminal_reader_invalid_location_for_paymentterminal_reader_offlineterminal_reader_timeouttestmode_charges_onlytls_version_unsupportedtoken_already_usedtoken_card_network_invalidtoken_in_use+transfer_source_balance_parameters_mismatchtransfers_not_allowedurl_invalidcodedecline_codedoc_urlmessagenetwork_advice_codenetwork_decline_codeparamr"   payment_intentr#   payment_methodpayment_method_typerequest_log_urlr$   setup_intentr   r   CardResourcer&   source)	api_error
card_erroridempotency_errorinvalid_request_errorrE   N)rG   rH   rI   r   rZ   rJ   r   r   rK   rK   rK   rL   LastFinalizationError  sR   
  :r  c                   @   sb   e Zd ZU G dd deZG dd deZee ed< 	 ee ed< 	 ed ed< 	 eedZ	d	S )
zInvoice.Parentc                   @      e Zd ZU eed< dS )zInvoice.Parent.QuoteDetailsquoteNr_   rK   rK   rK   rL   QuoteDetails  s   
 r  c                   @   s>   e Zd ZU eeeef  ed< 	 ed ed< 	 ee ed< dS )z"Invoice.Parent.SubscriptionDetailsmetadatar'   subscriptionsubscription_proration_dateN)	rG   rH   rI   r   r   rZ   rJ   r   intrK   rK   rK   rL   SubscriptionDetails  s   
 r  quote_detailssubscription_details)r  r  rE   N)
rG   rH   rI   r
   r  r  r   rJ   r   r[   rK   rK   rK   rL   Parent  s   
 
r  c                   @   sX   e Zd ZU G dd deZee ed< 	 ee ed< 	 eee	d   ed< 	 deiZ
dS )zInvoice.PaymentSettingsc                   @   s   e Zd ZU G dd deZG dd deZG dd deZG dd deZG d	d
 d
eZG dd deZ	G dd deZ
ee ed< 	 ee ed< 	 ee ed< 	 ee ed< 	 ee ed< 	 ee	 ed< 	 ee
 ed< 	 eeeeee	e
dZdS )z,Invoice.PaymentSettings.PaymentMethodOptionsc                   @   D   e Zd ZU G dd deZee ed< eed  ed< 	 deiZdS )z6Invoice.PaymentSettings.PaymentMethodOptions.AcssDebitc                   @      e Zd ZU eed  ed< dS )zEInvoice.PaymentSettings.PaymentMethodOptions.AcssDebit.MandateOptions)businesspersonaltransaction_typeNrG   rH   rI   r   r   rJ   rK   rK   rK   rL   MandateOptions     
 r  mandate_options	automaticinstantmicrodepositsverification_methodN)	rG   rH   rI   r
   r  r   rJ   r   r[   rK   rK   rK   rL   	AcssDebit     
 r  c                   @      e Zd ZU ed ed< dS )z7Invoice.PaymentSettings.PaymentMethodOptions.Bancontact)deenfrnlpreferred_languageNrG   rH   rI   r   rJ   rK   rK   rK   rL   
Bancontact     
 r  c                   @   r  )z1Invoice.PaymentSettings.PaymentMethodOptions.Cardc                   @   s   e Zd ZU ee ed< dS )z>Invoice.PaymentSettings.PaymentMethodOptions.Card.InstallmentsrR   N)rG   rH   rI   r   rY   rJ   rK   rK   rK   rL   Installments  r  r  installments)anyr  	challengerequest_three_d_secureN)	rG   rH   rI   r
   r  r   rJ   r   r[   rK   rK   rK   rL   r     r  r   c                   @   sD   e Zd ZU G dd deZee ed< eed  ed< 	 deiZdS )z<Invoice.PaymentSettings.PaymentMethodOptions.CustomerBalancec                   @   s@   e Zd ZU G dd deZee ed< ee ed< 	 deiZdS )zIInvoice.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransferc                   @   r  )zXInvoice.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer)BEDEESFRIENLrg   Nr  rK   rK   rK   rL   EuBankTransfer  r  r  eu_bank_transferrE   N)	rG   rH   rI   r
   r  r   rJ   rZ   r[   rK   rK   rK   rL   BankTransfer  s   
 r  bank_transferfunding_typeN)	rG   rH   rI   r
   r  r   rJ   r   r[   rK   rK   rK   rL   CustomerBalance  s   
 r  c                   @      e Zd ZdS )z4Invoice.PaymentSettings.PaymentMethodOptions.KonbiniNrG   rH   rI   rK   rK   rK   rL   Konbini      r  c                   @   r  )z6Invoice.PaymentSettings.PaymentMethodOptions.SepaDebitNr  rK   rK   rK   rL   	SepaDebit  r  r  c                   @   r  )z:Invoice.PaymentSettings.PaymentMethodOptions.UsBankAccountc                   @   s^   e Zd ZU G dd deZee ed< eeed   ed< 	 eeed   ed< 	 deiZ	dS )	zOInvoice.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnectionsc                   @   s"   e Zd ZU eeed   ed< dS )zWInvoice.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filters)checkingsavingsaccount_subcategoriesN)rG   rH   rI   r   r   r   rJ   rK   rK   rK   rL   Filters  s
   
 
r  filters)balances	ownershipr  transactionspermissions)r  r  r  prefetchN)
rG   rH   rI   r
   r  r   rJ   r   r   r[   rK   rK   rK   rL   FinancialConnections  s    
 

r  financial_connectionsr  r  N)	rG   rH   rI   r
   r  r   rJ   r   r[   rK   rK   rK   rL   UsBankAccount  s   
 r  
acss_debit
bancontactcardcustomer_balancekonbini
sepa_debitus_bank_account)r  r   r  r  r  r  r  N)rG   rH   rI   r
   r  r  r   r  r  r  r  r   rJ   r[   rK   rK   rK   rL   PaymentMethodOptions  s<   
 +
r  default_mandatepayment_method_options)(ach_credit_transfer	ach_debitr  affirm
amazon_payau_becs_debit
bacs_debitr   boletor  cashappcryptocustomr  epsfpxgiropaygrabpayidealjp_credit_transfer	kakao_payklarnar  kr_cardlink
multibanco	naver_paynz_bank_accountp24paycopaynowpaypal	promptpayrevolut_paysepa_credit_transferr  sofortswishr  
wechat_paypayment_method_typesN)rG   rH   rI   r
   r  r   rZ   rJ   r   r   r[   rK   rK   rK   rL   PaymentSettings  s    
  .r+  c                   @   s^   e Zd ZU G dd deZee ed< 	 ee ed< 	 ee ed< 	 ee ed< 	 deiZ	dS )zInvoice.Renderingc                   @   r  )zInvoice.Rendering.Pdf)a4autoletter	page_sizeNr  rK   rK   rK   rL   Pdf  r  r0  amount_tax_displaypdftemplatetemplate_versionN)
rG   rH   rI   r
   r0  r   rZ   rJ   r  r[   rK   rK   rK   rL   	Rendering  s   
 r5  c                   @   sh   e Zd ZU G dd deZeed< 	 eed< 	 eed< 	 eed  ed< 	 ee	e  ed< 	 deiZ
d	S )
zInvoice.ShippingCostc                   @   s@   e Zd ZU eed< 	 ded< 	 eed  ed< 	 ee ed< dS )zInvoice.ShippingCost.Taxamountr)   rate)customer_exemptnot_collectingnot_subject_to_taxnot_supportedportion_product_exemptportion_reduced_ratedportion_standard_ratedproduct_exemptproduct_exempt_holidayproportionally_ratedreduced_ratedreverse_chargestandard_ratedtaxable_basis_reduced
zero_ratedtaxability_reasontaxable_amountN)rG   rH   rI   r  rJ   r   r   rK   rK   rK   rL   Tax  s   
 rI  amount_subtotal
amount_taxamount_totalr%   shipping_ratetaxesN)rG   rH   rI   r
   rI  r  rJ   r   r   r   r[   rK   rK   rK   rL   ShippingCost  s   
 &rO  c                   @   ro   )	zInvoice.ShippingDetailsc                   @   re   )zInvoice.ShippingDetails.Addressrf   rg   rh   ri   rj   rk   Nrl   rK   rK   rK   rL   rp      rn   rp   rq   rr   rb   rs   rt   Nru   rK   rK   rK   rL   ShippingDetails  rw   rP  c                   @   sD   e Zd ZU ee ed< 	 ee ed< 	 ee ed< 	 ee ed< dS )zInvoice.StatusTransitionsfinalized_atmarked_uncollectible_atpaid_at	voided_atN)rG   rH   rI   r   r  rJ   rK   rK   rK   rL   StatusTransitions-  s   
 rU  c                   @   sB   e Zd ZU G dd deZee ed< 	 ee ed< 	 deiZ	dS )zInvoice.ThresholdReasonc                   @   s$   e Zd ZU ee ed< 	 eed< dS )z"Invoice.ThresholdReason.ItemReasonline_item_ids	usage_gteN)rG   rH   rI   r   rZ   rJ   r  rK   rK   rK   rL   
ItemReason@  s
   
 rX  
amount_gteitem_reasonsN)
rG   rH   rI   r
   rX  r   r  rJ   r   r[   rK   rK   rK   rL   ThresholdReason?  s   
 
r[  c                   @   r   )zInvoice.TotalDiscountAmountr6  r   discountN)rG   rH   rI   r  rJ   r   rK   rK   rK   rL   TotalDiscountAmountT  r   r]  c                   @   sH   e Zd ZU eed< 	 eed  ed< 	 eed  ed< 	 ed ed< dS )	zInvoice.TotalPretaxCreditAmountr6  r*   credit_balance_transactionr   r\  )r^  r\  rE   N)rG   rH   rI   r  rJ   r   r   r   rK   rK   rK   rL   TotalPretaxCreditAmount^  s   
 r_  c                   @   sv   e Zd ZU G dd deZeed< 	 ed ed< 	 ee ed< 	 ed ed< 	 ee ed	< 	 ed ed
< 	 deiZ	dS )zInvoice.TotalTaxc                   @   r  )zInvoice.TotalTax.TaxRateDetailstax_rateNr_   rK   rK   rK   rL   TaxRateDetailss  s   
 ra  r6  )	exclusive	inclusivetax_behaviortax_rate_details)r8  not_availabler9  r:  r;  r<  r=  r>  r?  r@  rA  rB  rC  rD  rE  rF  rG  rH  rE   N)
rG   rH   rI   r
   ra  r  rJ   r   r   r[   rK   rK   rK   rL   TotalTaxr  s"   
 rg  account_countryaccount_namer(   account_tax_ids
amount_dueamount_overpaidamount_paidamount_remainingamount_shippingr   applicationattempt_count	attemptedauto_advanceautomatic_taxautomatically_finalizes_at)	&automatic_pending_invoice_item_invoicemanualquote_acceptr  subscription_createsubscription_cyclesubscription_thresholdsubscription_updateupcomingbilling_reason)charge_automaticallysend_invoicecollection_methodconfirmation_secretcreatedcurrencycustom_fieldsr   customercustomer_addresscustomer_emailcustomer_namecustomer_phonecustomer_shipping)exemptnonereversecustomer_tax_exemptcustomer_tax_idsr#   default_payment_methodr  default_sourcer)   default_tax_ratesTdeleteddescriptionr   	discountsdue_dateeffective_atending_balancefooterfrom_invoicehosted_invoice_urlidinvoice_pdfissuerlast_finalization_errorlatest_revisionr    lineslivemoder  next_payment_attemptnumberobjectr   on_behalf_ofparentpayment_settingsr!   payments
period_endperiod_start post_payment_credit_notes_amountpre_payment_credit_notes_amountreceipt_number	renderingshipping_costshipping_detailsstarting_balancestatement_descriptor)draftopenpaiduncollectiblevoidrX   status_transitionssubtotalsubtotal_excluding_taxr<   
test_clockthreshold_reasontotaltotal_discount_amountstotal_excluding_taxtotal_pretax_credit_amountstotal_taxeswebhooks_delivered_atparamsr+   returnc                 K   "   t d| jddjt|d|dS )q
        Adds multiple line items to an invoice. This is only possible when an invoice is still a draft.
        r>   post /v1/invoices/{invoice}/add_linesr?   r  r   _static_requestformatr   clsr?   r  rK   rK   rL   _cls_add_lines     zInvoice._cls_add_linesc                 K      dS r  NrK   r?   r  rK   rK   rL   	add_lines     zInvoice.add_linesc                 K   r  r  rK   rD   r  rK   rK   rL   r       r  c              	   K   (   t d| jddjt| dd|dS )r  r>   r  r  r  r  r  r   _requestr  r   getr  rK   rK   rL   r       c                    *   t d| jddjt|d|dI dH S )r  r>   r  r  r  r  Nr   _static_request_asyncr  r   r  rK   rK   rL   _cls_add_lines_async     
zInvoice._cls_add_lines_asyncc                       dS r  rK   r  rK   rK   rL   add_lines_async(     zInvoice.add_lines_asyncc                    r  r  rK   r  rK   rK   rL   r  2     r  c              	      0   t d| jddjt| dd|dI dH S )r  r>   r  r  r  r  r  Nr   _request_asyncr  r   r  r  rK   rK   rL   r  ;     
r,   c                 K   r  )O  
        Attaches a PaymentIntent or an Out of Band Payment to the invoice, adding it to the list of payments.

        For the PaymentIntent, when the PaymentIntent's status changes to succeeded, the payment is credited
        to the invoice, increasing its amount_paid. When the invoice is fully paid, the
        invoice's status becomes paid.

        If the PaymentIntent's status is already succeeded when it's attached, it's
        credited to the invoice immediately.

        See: [Partial payments](https://docs.stripe.com/docs/invoicing/partial-payments) to learn more.
        r>   r  %/v1/invoices/{invoice}/attach_paymentr  r  r  r  rK   rK   rL   _cls_attach_paymentM  s   zInvoice._cls_attach_paymentc                 K   r  r  NrK   r  rK   rK   rL   attach_paymenth  s   zInvoice.attach_paymentc                 K   r  r  rK   r  rK   rK   rL   r  {  s   r  c              	   K   r  )r  r>   r  r  r  r  r  r  r  rK   rK   rL   r    s   c                    r  )r  r>   r  r  r  r  Nr  r  rK   rK   rL   _cls_attach_payment_async  s   
z!Invoice._cls_attach_payment_asyncc                    r  r  rK   r  rK   rK   rL   attach_payment_async  s   zInvoice.attach_payment_asyncc                    r  r  rK   r  rK   rK   rL   r    s   r  c              	      r  )r  r>   r  r  r  r  r  Nr  r  rK   rK   rL   r    s   
r-   c                 K   s   t d| jd|  |dS )   
        This endpoint creates a draft invoice for a given customer. The invoice remains a draft until you [finalize the invoice, which allows you to [pay](#pay_invoice) or <a href="#send_invoice">send](https://docs.stripe.com/api#finalize_invoice) the invoice to your customers.
        r>   r  r  )r   r  	class_urlr  r  rK   rK   rL   create  s   zInvoice.createc                    s"   t d| jd|  |dI dH S )r  r>   r  r  N)r   r  r  r  rK   rK   rL   create_async  s   
zInvoice.create_asyncr.   c                 K   s   t d| jdd|dS )  
        At any time, you can preview the upcoming invoice for a subscription or subscription schedule. This will show you all the charges that are pending, including subscription renewal charges, invoice item charges, etc. It will also show you any discounts that are applicable to the invoice.

        You can also preview the effects of creating or updating a subscription or subscription schedule, including a preview of any prorations that will take place. To ensure that the actual proration is calculated exactly the same as the previewed proration, you should pass the subscription_details.proration_date parameter when doing the actual subscription update.

        The recommended way to get only the prorations being previewed on the invoice is to consider line items where parent.subscription_item_details.proration is true.

        Note that when you are viewing an upcoming invoice, you are simply viewing a preview – the invoice has not yet been created. As such, the upcoming invoice will not show up in invoice listing calls, and you cannot use the API to pay or edit the invoice. If you want to change the amount that your customer will be billed, you can add, remove, or update pending invoice items, or update the customer's discount.

        Note: Currency conversion calculations use the latest exchange rates. Exchange rates may vary between the time of the preview and the time of the actual invoice creation. [Learn more](https://docs.stripe.com/currencies/conversions)
        r>   r  /v1/invoices/create_previewr  )r   r  r  rK   rK   rL   create_preview!  s   zInvoice.create_previewc                    s   t d| jdd|dI dH S )r  r>   r  r  r  N)r   r  r  rK   rK   rL   create_preview_async9  s   
zInvoice.create_preview_asyncsidr/   c                 K   *   d|   t|f }td| jd||dS )*  
        Permanently deletes a one-off invoice draft. This cannot be undone. Attempts to delete invoices that are no longer in a draft state will fail; once an invoice has been finalized or if an invoice is for a subscription, it must be [voided](https://docs.stripe.com/api#void_invoice).
        %s/%sr>   deleter  r  r   r   r  r  r  r  urlrK   rK   rL   _cls_deleteQ  s   zInvoice._cls_deletec                 K   r  r  NrK   r  r  rK   rK   rL   r  b     zInvoice.deletec                 K   r  r  rK   r  rK   rK   rL   r  j     r  c                 K   s   | j d|  |dS )r  r  r  )_request_and_refreshinstance_urlr  rK   rK   rL   r  q  s
   c                    2   d|   t|f }td| jd||dI dH S )r  r   r>   r  r  Nr  r   r   r  r  rK   rK   rL   _cls_delete_async~  s   
zInvoice._cls_delete_asyncc                    r  r  rK   r  rK   rK   rL   delete_async  r  zInvoice.delete_asyncc                    r  r  rK   r  rK   rK   rL   r    r  r  c                    s   | j d|  |dI dH S )r  r  r  N)_request_and_refresh_asyncr  r  rK   rK   rL   r    s   r0   c                 K   r  )
        Stripe automatically finalizes drafts before sending and attempting payment on invoices. However, if you'd like to finalize a draft invoice manually, you can do so using this method.
        r>   r  /v1/invoices/{invoice}/finalizer  r  r  r  rK   rK   rL   _cls_finalize_invoice  r  zInvoice._cls_finalize_invoicec                 K   r  r  NrK   r  rK   rK   rL   finalize_invoice  r  zInvoice.finalize_invoicec                 K   r  r  rK   r  rK   rK   rL   r    r  r  c              	   K   r  )r  r>   r  r  r  r  r  r  r  rK   rK   rL   r    r  c                    r  )r  r>   r  r  r  r  Nr  r  rK   rK   rL   _cls_finalize_invoice_async  r  z#Invoice._cls_finalize_invoice_asyncc                    r  r  rK   r  rK   rK   rL   finalize_invoice_async  r  zInvoice.finalize_invoice_asyncc                    r  r  rK   r  rK   rK   rL   r    r  r  c              	      r  )r  r>   r  r  r  r  r  Nr  r  rK   rK   rL   r    r  r2   c                 K   s4   | j d|  |d}t|tstdt|j |S )
        You can list all invoices, or list the invoices for a specific customer. The invoices are returned sorted by creation date, with the most recently created invoices appearing first.
        r  r  %Expected list object from API, got %s)r  r  
isinstancer   	TypeErrorrE   rG   r  r  resultrK   rK   rL   list  s   
zInvoice.listc                    s<   | j d|  |dI dH }t|tstdt|j |S )r  r  r  Nr  )r  r  r  r   r  rE   rG   r  rK   rK   rL   
list_async1  s   
zInvoice.list_asyncr3   c                 K   r  )
        Marking an invoice as uncollectible is useful for keeping track of bad debts that can be written off for accounting purposes.
        r>   r  )/v1/invoices/{invoice}/mark_uncollectibler  r  r  r  rK   rK   rL   _cls_mark_uncollectibleE  r  zInvoice._cls_mark_uncollectiblec                 K   r  r   NrK   r  rK   rK   rL   mark_uncollectibleW  r  zInvoice.mark_uncollectiblec                 K   r  r#  rK   r  rK   rK   rL   r$  a  r  r"  c              	   K   r  )r   r>   r  r!  r  r  r  r  r  rK   rK   rL   r$  j  r  c                    r  )r   r>   r  r!  r  r  Nr  r  rK   rK   rL   _cls_mark_uncollectible_async|  r  z%Invoice._cls_mark_uncollectible_asyncc                    r  r#  rK   r  rK   rK   rL   mark_uncollectible_async  r  z Invoice.mark_uncollectible_asyncc                    r  r#  rK   r  rK   rK   rL   r&    r  r%  c              	      r  )r   r>   r  r!  r  r  r  Nr  r  rK   rK   rL   r&    r  r4   c                 K   r  )  
        Draft invoices are fully editable. Once an invoice is [finalized](https://docs.stripe.com/docs/billing/invoices/workflow#finalized),
        monetary values, as well as collection_method, become uneditable.

        If you would like to stop the Stripe Billing engine from automatically finalizing, reattempting payments on,
        sending reminders for, or [automatically reconciling](https://docs.stripe.com/docs/billing/invoices/reconciliation) invoices, pass
        auto_advance=false.
        r   r>   r  r  r  r  r  r  r  rK   rK   rL   modify  s   zInvoice.modifyc                    r  )r'  r   r>   r  r  Nr  r(  rK   rK   rL   modify_async  s   
zInvoice.modify_asyncr5   c                 K   r  )i  
        Stripe automatically creates and then attempts to collect payment on invoices for customers on subscriptions according to your [subscriptions settings](https://dashboard.stripe.com/account/billing/automatic). However, if you'd like to attempt payment on an invoice out of the normal collection schedule or for some other reason, you can do so.
        r>   r  /v1/invoices/{invoice}/payr  r  r  r  rK   rK   rL   _cls_pay  r  zInvoice._cls_payc                 K   r  r+  NrK   r  rK   rK   rL   pay  r  zInvoice.payc                 K   r  r.  rK   r  rK   rK   rL   r/    r	  r-  c              	   K   r  )r+  r>   r  r,  r  r  r  r  r  rK   rK   rL   r/   	  r  c                    r  )r+  r>   r  r,  r  r  Nr  r  rK   rK   rL   _cls_pay_async	  r  zInvoice._cls_pay_asyncc                    r  r.  rK   r  rK   rK   rL   	pay_async$	  r  zInvoice.pay_asyncc                    r  r.  rK   r  rK   rK   rL   r1  .	  r  r0  c              	      r  )r+  r>   r  r,  r  r  r  Nr  r  rK   rK   rL   r1  7	  r  r6   c                 K   r  )v
        Removes multiple line items from an invoice. This is only possible when an invoice is still a draft.
        r>   r  #/v1/invoices/{invoice}/remove_linesr  r  r  r  rK   rK   rL   _cls_remove_linesI	  r  zInvoice._cls_remove_linesc                 K   r  r2  NrK   r  rK   rK   rL   remove_lines[	  r  zInvoice.remove_linesc                 K   r  r5  rK   r  rK   rK   rL   r6  e	  r  r4  c              	   K   r  )r2  r>   r  r3  r  r  r  r  r  rK   rK   rL   r6  n	  r  c                    r  )r2  r>   r  r3  r  r  Nr  r  rK   rK   rL   _cls_remove_lines_async	  r  zInvoice._cls_remove_lines_asyncc                    r  r5  rK   r  rK   rK   rL   remove_lines_async	  r  zInvoice.remove_lines_asyncc                    r  r5  rK   r  rK   rK   rL   r8  	  r  r7  c              	      r  )r2  r>   r  r3  r  r  r  Nr  r  rK   rK   rL   r8  	  r  r7   c                 K   s   | |fi |}|   |S ):
        Retrieves the invoice with the given ID.
        )refreshr  r  r  instancerK   rK   rL   retrieve	  s   zInvoice.retrievec                    s$   | |fi |}|  I dH  |S )r9  N)refresh_asyncr;  rK   rK   rL   retrieve_async	  s   zInvoice.retrieve_asyncr9   c                 K   r  )  
        Stripe will automatically send invoices to customers according to your [subscriptions settings](https://dashboard.stripe.com/account/billing/automatic). However, if you'd like to manually send an invoice to your customer out of the normal schedule, you can do so. When sending invoices that have already been paid, there will be no reference to the payment in the email.

        Requests made in test-mode result in no emails being sent, despite sending an invoice.sent event.
        r>   r  /v1/invoices/{invoice}/sendr  r  r  r  rK   rK   rL   _cls_send_invoice	     	zInvoice._cls_send_invoicec                 K   r  r@  NrK   r  rK   rK   rL   r  	     
zInvoice.send_invoicec                 K   r  rD  rK   r  rK   rK   rL   r  	     	rB  c              	   K   r  )r@  r>   r  rA  r  r  r  r  r  rK   rK   rL   r  	     	c                    r  )r@  r>   r  rA  r  r  Nr  r  rK   rK   rL   _cls_send_invoice_async
     	
zInvoice._cls_send_invoice_asyncc                    r  rD  rK   r  rK   rK   rL   send_invoice_async 
     
zInvoice.send_invoice_asyncc                    r  rD  rK   r  rK   rK   rL   rJ  ,
     	rH  c              	      r  )r@  r>   r  rA  r  r  r  Nr  r  rK   rK   rL   rJ  7
     	
r:   c                 K   r  )t
        Updates multiple line items on an invoice. This is only possible when an invoice is still a draft.
        r>   r  #/v1/invoices/{invoice}/update_linesr  r  r  r  rK   rK   rL   _cls_update_linesK
  r  zInvoice._cls_update_linesc                 K   r  rN  NrK   r  rK   rK   rL   update_lines]
  r  zInvoice.update_linesc                 K   r  rQ  rK   r  rK   rK   rL   rR  g
  r  rP  c              	   K   r  )rN  r>   r  rO  r  r  r  r  r  rK   rK   rL   rR  p
  r  c                    r  )rN  r>   r  rO  r  r  Nr  r  rK   rK   rL   _cls_update_lines_async
  r  zInvoice._cls_update_lines_asyncc                    r  rQ  rK   r  rK   rK   rL   update_lines_async
  r  zInvoice.update_lines_asyncc                    r  rQ  rK   r  rK   rK   rL   rT  
  r  rS  c              	      r  )rN  r>   r  rO  r  r  r  Nr  r  rK   rK   rL   rT  
  r  r;   c                 K   r  )  
        Mark a finalized invoice as void. This cannot be undone. Voiding an invoice is similar to [deletion](https://docs.stripe.com/api#delete_invoice), however it only applies to finalized invoices and maintains a papertrail where the invoice can still be found.

        Consult with local regulations to determine whether and how an invoice might be amended, canceled, or voided in the jurisdiction you're doing business in. You might need to [issue another invoice or <a href="#create_credit_note">credit note](https://docs.stripe.com/api#create_invoice) instead. Stripe recommends that you consult with your legal counsel for advice specific to your business.
        r>   r  /v1/invoices/{invoice}/voidr  r  r  r  rK   rK   rL   _cls_void_invoice
  rC  zInvoice._cls_void_invoicec                 K   r  rU  NrK   r  rK   rK   rL   void_invoice
  rE  zInvoice.void_invoicec                 K   r  rX  rK   r  rK   rK   rL   rY  
  rF  rW  c              	   K   r  )rU  r>   r  rV  r  r  r  r  r  rK   rK   rL   rY  
  rG  c                    r  )rU  r>   r  rV  r  r  Nr  r  rK   rK   rL   _cls_void_invoice_async
  rI  zInvoice._cls_void_invoice_asyncc                    r  rX  rK   r  rK   rK   rL   void_invoice_async  rK  zInvoice.void_invoice_asyncc                    r  rX  rK   r  rK   rK   rL   r[    rL  rZ  c              	      r  )rU  r>   r  rV  r  r  r  Nr  r  rK   rK   rL   r[  #  rM  kwargsr8   c                 O   s   | j |ddi|S )  
        Search for invoices you've previously created using Stripe's [Search Query Language](https://docs.stripe.com/docs/search#search-query-language).
        Don't use search in read-after-write flows where strict consistency is necessary. Under normal operating
        conditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up
        to an hour behind during outages. Search functionality is not available to merchants in India.
        
search_url/v1/invoices/search)_searchr  argsr\  rK   rK   rL   search7  s   
zInvoice.searchc                    s   | j |ddi|I dH S )r]  r^  r_  N)_search_asyncra  rK   rK   rL   search_asyncC  s   
zInvoice.search_asyncc                 O   s   | j |i | S N)rc  auto_paging_iterra  rK   rK   rL   search_auto_paging_iterQ  s   zInvoice.search_auto_paging_iterc                    s   | j |i |I d H  S rf  )re  rg  ra  rK   rK   rL   search_auto_paging_iter_asyncW  s   z%Invoice.search_auto_paging_iter_asyncr1   c                 K   s&   t td | jddjt|d|dS )
        When retrieving an invoice, you'll get a lines property containing the total count of line items and the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.
        r    r  /v1/invoices/{invoice}/linesr  r  )r   r   r  r  r   r  rK   rK   rL   
list_lines]  s   zInvoice.list_linesc                    s.   t td | jddjt|d|dI dH S )rj  r    r  rk  r  r  N)r   r   r  r  r   r  rK   rK   rL   list_lines_asynco  s   
zInvoice.list_lines_async)r  r  N)frG   rH   rI   __doc__r@   r   r   rJ   r
   r\   r`   rd   rm   rv   r   r   r   r  r  r+  r5  rO  rP  rU  r[  r]  r_  rg  r   rZ   r   r   r  rY   r   r   r   classmethodr   r  r   staticmethodr  r   r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r"  r$  r%  r&  r)  r*  r-  r/  r0  r1  r4  r6  r7  r8  r=  r?  rB  r  rH  rJ  rP  rR  rS  rT  rW  rY  rZ  r[  r   rc  re  r   rh  r   ri  rl  rm  r[   rK   rK   rK   rL   r>   S   s  
 #(

.z

  "' Q=.
/









	
r>   N)mstripe._createable_api_resourcer   stripe._deletable_api_resourcer   stripe._expandable_fieldr   stripe._list_objectr   stripe._listable_api_resourcer   %stripe._nested_resource_class_methodsr   stripe._search_result_objectr   stripe._searchable_api_resourcer	   stripe._stripe_objectr
   stripe._updateable_api_resourcer   stripe._utilr   r   typingr   r   r   r   r   r   r   r   r   typing_extensionsr   r   r   stripe._accountr   stripe._applicationr   stripe._bank_accountr   stripe._cardr   r  stripe._customerr   stripe._discountr   stripe._invoice_line_itemr    stripe._invoice_paymentr!   stripe._payment_intentr"   stripe._payment_methodr#   stripe._setup_intentr$   stripe._shipping_rater%   stripe._sourcer&   stripe._subscriptionr'   stripe._tax_idr(   stripe._tax_rater)   *stripe.billing._credit_balance_transactionr*   'stripe.params._invoice_add_lines_paramsr+   ,stripe.params._invoice_attach_payment_paramsr,   $stripe.params._invoice_create_paramsr-   ,stripe.params._invoice_create_preview_paramsr.   $stripe.params._invoice_delete_paramsr/   .stripe.params._invoice_finalize_invoice_paramsr0   (stripe.params._invoice_list_lines_paramsr1   "stripe.params._invoice_list_paramsr2   0stripe.params._invoice_mark_uncollectible_paramsr3   $stripe.params._invoice_modify_paramsr4   !stripe.params._invoice_pay_paramsr5   *stripe.params._invoice_remove_lines_paramsr6   &stripe.params._invoice_retrieve_paramsr7   $stripe.params._invoice_search_paramsr8   *stripe.params._invoice_send_invoice_paramsr9   *stripe.params._invoice_update_lines_paramsr:   *stripe.params._invoice_void_invoice_paramsr;   stripe.test_helpers._test_clockr<   r>   rK   rK   rK   rL   <module>   sr   ,

