
    <@g                       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 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&m'Z'm(Z( e(rrd dl)m*Z* d dl+m,Z, d dl-m.Z. d dl/m0Z1 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  ed"       G d# d$ed$   ed$   e	d$   ed$   ed$                ZPy%)&    )CreateableAPIResource)DeletableAPIResource)ExpandableField)
ListObject)ListableAPIResource)nested_resource_class_methods)RequestOptions)SearchResultObject)SearchableAPIResource)StripeObject)UpdateableAPIResource)class_method_variantsanitize_id)	AsyncIteratorClassVarDictIteratorListOptionalUnioncastoverload)LiteralNotRequired	TypedDictUnpackTYPE_CHECKING)Account)Application)BankAccount)Card)Charge)Customer)Discount)InvoiceLineItem)PaymentIntent)PaymentMethod)Quote)SetupIntent)ShippingRate)Source)Subscription)TaxId)TaxRate)CreditBalanceTransaction)	TestClocklinec                   1   e Zd ZU dZdZeed      ed<    G d de      Z	 G d de      Z
 G d d	e      Z G d
 de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d  d!e      Z G d" d#e      Z G d$ d%e      Z G d& d'e      Z G d( d)e      Z G d* d+e      Z G d, d-e      Z G d. d/e      Z  G d0 d1e      Z! G d2 d3e      Z" G d4 d5e      Z# G d6 d7e      Z$ G d8 d9e      Z% G d: d;e      Z& G d< d=e      Z' G d> d?e      Z( G d@ dAe      Z) G dB dCe      Z* G dD dEe      Z+ G dF dGe      Z, G dH dIe      Z- G dJ dKe      Z. G dL dMe      Z/ G dN dOe      Z0 G dP dQe      Z1 G dR dSe      Z2 G dT dUe      Z3 G dV dWe      Z4 G dX dYe      Z5 G dZ d[e      Z6 G d\ d]e      Z7 G d^ d_e      Z8 G d` dae      Z9 G db dce      Z: G dd dee      Z; G df dge      Z< G dh die      Z= G dj dke      Z> G dl dme      Z? G dn doe      Z@ G dp dqe      ZA G dr dse      ZB G dt due      ZC G dv dwe      ZD G dx dye      ZE G dz d{e      ZF G d| d}e      ZG G d~ de      ZH G d de      ZI G d de      ZJ G d de      ZK G d de      ZL G d de      ZM G d de      ZN G d de      ZO G d de      ZP G d de      ZQ G d de      ZR G d de      ZS G d de      ZT G d de      ZU G d de      ZV G d de      ZW G d de      ZX G d de      ZY G d de      ZZ G d de      Z[ G d de      Z\ G d de      Z] G d de      Z^ G d de      Z_ G d de      Z` G d de      Za G d de      Zb G d de      Zc G d de      Zd G d de      Ze G d de      Zf G d de      Zg G d de      Zh G d de      Zi G d de      Zj G dĄ de      Zk G dƄ de      Zl G dȄ de      Zm G dʄ de      Zn G d̄ de      Zo G d΄ de      Zp G dЄ de      Zq G d҄ de      Zr G dԄ de      Zs G dք de      Zt G d؄ de      Zu G dڄ de      Zv G d܄ de      Zw G dބ de      Zx G d de      Zy G d de      Zz G d de      Z{ G d de      Z| G d de      Z} G d de      Z~ G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d  de      Z G d de      Z G d de      Z G d de      Z G d d	e      Z G d
 de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d  d!e      Z G d" d#e      Z G d$ d%e      Z G d& d'e      Z G d( d)e      Z G d* d+e      Z G d, d-e      Z G d. d/e      Z G d0 d1e      Z G d2 d3e      Z G d4 d5e      Z G d6 d7e      Z G d8 d9e      Z G d: d;e      Z G d< d=e      Z G d> d?e      Z G d@ dAe      Z G dB dCe      Z G dD dEe      Z G dF dGe      Z G dH dIe      Z G dJ dKe      Z G dL dMe      Z G dN dOe      Z G dP dQe      Z G dR dSe      Z G dT dUe      Z G dV dWe      Z G dX dYe      Z G dZ d[e      Z G d\ d]e      Z G d^ d_e      Z G d` dae      Z G db dce      Z G dd dee      Z G df dge      Z G dh die      Z G dj dke      Z G dl dme      Z G dn doe      Z G dp dqe      Z G dr dse      Z G dt due      Z G dv dwe      Z G dx dye      Z G dz d{e      Z G d| d}e      Z G d~ de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G dĄ de      Z G dƄ de      Z G dȄ de      Z G dʄ de      Z G d̄ de      Z G d΄ de      Z G dЄ de      Z G d҄ de      Z G dԄ de      Z G dք de      Z G d؄ de      Z G dڄ de      Z G d܄ de      Z G dބ de      Z G d de      Z G d de      Z G d de      Z G d de      Zee   ed<   	 ee   ed<   	 eee d         ed<   	 eed<   	 eed<   	 eed<   	 eed<   	 ee d      ed<   	 ee   ed<   	 eed<   	 eed<   	 ee   ed<   	 e	ed<   ee   ed<   	 eed      ed<   	 ee d      ed<   	 ed   ed<   	 eed<   	 eed<   	 eee
      ed <   	 ee d      ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 eed      ed	<   	 eee      ed
<   	 ee d      ed<   	 ee ed         ed<   	 ed   ed<   	 ee   ed<   	 ed   ed<   	 ee d      ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 eed<   ee   ed<   	 ee d       ed<   	 ed    ed!<   	 eed"<   	 eeeef      ed#<   	 ee   ed$<   	 ee   ed%<   	 ed   ed&<   	 ee d'      ed(<   	 eed)<   	 eed*<   	 ee d+      ed,<   	 eed-<   eed.<   	 eed/<   	 eed0<   	 eed1<   	 ee d2      ed3<   	 ee   ed4<   	 ee   ed5<   	 ee   ed6<   	 ee   ed7<   	 eed8<   	 ee   ed9<   	 eed:      ed;<   	 eed<<   ee d=      ed><   	 ee   ed?<   	 ee   ed@<   	 eedA<   	 ee   edB<   	 ee   edC<   	 ee dD      edE<   	 ee   edF<   eedG<   	 eee      edH<   	 ee   edI<   	 eee      edJ<   	 ee   edK<   	 ee   edL<   	 ee   edM<   	 eedN      edO<   	 ededPedQ   dRd fdS       Ze	e
dedPedQ   dRd fdT              Ze	dPedQ   dRd fdU       Z edV      dPedQ   dRd fdW       ZededPedQ   dRd fdX       Ze	e
dedPedQ   dRd fdY              Ze	dPedQ   dRd fdZ       Z ed[      dPedQ   dRd fd\       ZedPed]   dRd fd^       ZedPed]   dRd fd_       ZedPed`   dRd fda       ZedPed`   dRd fdb       ZedcedPedd   dRd fde       Ze	e
dcedPedd   dRd fdf              Ze	dPedd   dRd fdg       Z edh      dPedd   dRd fdi       ZedcedPedd   dRd fdj       Ze	e
dcedPedd   dRd fdk              Ze	dPedd   dRd fdl       Z edm      dPedd   dRd fdn       ZededPedo   dRd fdp       Ze	e
dedPedo   dRd fdq              Ze	dPedo   dRd fdr       Z eds      dPedo   dRd fdt       ZededPedo   dRd fdu       Ze	e
dedPedo   dRd fdv              Ze	dPedo   dRd fdw       Z edx      dPedo   dRd fdy       ZedPedz   dRed    fd{       ZedPedz   dRed    fd|       ZededPed}   dRd fd~       Ze	e
dedPed}   dRd fd              Ze	dPed}   dRd fd       Z ed      dPed}   dRd fd       ZededPed}   dRd fd       Ze	e
dedPed}   dRd fd              Z e	dPed}   dRd fd       Z  ed      dPed}   dRd fd       Z ededPed   dRd fd       Z!ededPed   dRd fd       Z"ededPed   dRd fd       Z#e	e
dedPed   dRd fd              Z$e	dPed   dRd fd       Z$ ed      dPed   dRd fd       Z$ededPed   dRd fd       Z%e	e
dedPed   dRd fd              Z&e	dPed   dRd fd       Z& ed      dPed   dRd fd       Z&ededPed   dRd fd       Z'e	e
dedPed   dRd fd              Z(e	dPed   dRd fd       Z( ed      dPed   dRd fd       Z(ededPed   dRd fd       Z)e	e
dedPed   dRd fd              Z*e	dPed   dRd fd       Z* ed      dPed   dRd fd       Z*ededPed   dRd fd       Z+ededPed   dRd fd       Z,ededPed   dRd fd       Z-e	e
dedPed   dRd fd              Z.e	dPed   dRd fd       Z. ed      dPed   dRd fd       Z.ededPed   dRd fd       Z/e	e
dedPed   dRd fd              Z0e	dPed   dRd fd       Z0 ed      dPed   dRd fd       Z0edPed   dRd fd       Z1edPed   dRd fd       Z2edPed   dRed    fd       Z3edPed   dRed    fd       Z4ededPed   dRd fd       Z5e	e
dedPed   dRd fd              Z6e	dPed   dRd fd       Z6 ed      dPed   dRd fd       Z6ededPed   dRd fd       Z7e	e
dedPed   dRd fd              Z8e	dPed   dRd fd       Z8 ed      dPed   dRd fd       Z8ededPed   dRd fd       Z9e	e
dedPed   dRd fd              Z:e	dPed   dRd fdÄ       Z: edī      dPed   dRd fdń       Z:ededPed   dRd fdƄ       Z;e	e
dedPed   dRd fdǄ              Z<e	dPed   dRd fdȄ       Z< edɫ      dPed   dRd fdʄ       Z<edːed   dRe=d    fd̈́       Z>edːed   dRe=d    fd΄       Z?edːed   dRe@d    fdτ       ZAedːed   dReBd    fdЄ       ZCededPed   dRed    fd҄       ZDededPed   dRed    fdӄ       ZEi de	d e
deded
edededed-ed5ed6ed7ed<ed?edFedHedJeeedԜZFy(  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://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                   z    e Zd ZU  G d de      Zeed      ed<   	 eed<   	 ee   ed<   	 eed      ed<   	 deiZ	y	)
Invoice.AutomaticTaxc                   6    e Zd ZU eed      ed<   	 ed   ed<   y)Invoice.AutomaticTax.Liabilityr   accountr:   selftypeN__name__
__module____qualname__r   r   __annotations__r        N/var/www/html/AdoubleTech/venv/lib/python3.12/site-packages/stripe/_invoice.py	Liabilityr9   h   s*    oi899 +,,rD   rF   )%finalization_requires_location_inputsfinalization_system_errordisabled_reasonenabled	liability)completefailedrequires_location_inputsstatusN)
r?   r@   rA   r   rF   r   r   rB   bool_inner_class_typesrC   rD   rE   AutomaticTaxr7   g   sw    	 	 "-
 	
	 	 I&&	 DE
 	
	 *95rD   rR   c                   $    e Zd ZU eed<   	 eed<   y)Invoice.CustomFieldnamevalueNr?   r@   rA   strrB   rC   rD   rE   CustomFieldrT          		 
	rD   rY   c                   x    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<   y)Invoice.CustomerAddresscitycountryline1line2postal_codestateNr?   r@   rA   r   rX   rB   rC   rD   rE   CustomerAddressr\      sf    sm	 #	 }	 }	 c]"	 }	rD   rd   c                       e Zd ZU  G 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y)	Invoice.CustomerShippingc                   x    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<   y) Invoice.CustomerShipping.Addressr]   r^   r_   r`   ra   rb   Nrc   rC   rD   rE   Addressrh      f    3- c]" C=  C=  "#& C= rD   ri   addresscarrierrU   phonetracking_numberN	r?   r@   rA   r   ri   r   rB   rX   rQ   rC   rD   rE   CustomerShippingrf      j    	l 	4 '""#	 sm	 }	 "#&	 (1rD   rp   c                   0    e Zd ZU ed   ed<   	 ee   ed<   y)Invoice.CustomerTaxId)ead_nrtae_trnal_tinam_tinao_tinar_cuitau_abnau_arnba_tinbb_tinbg_uicbh_vat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cn_tinco_nitcr_tinde_stndo_rcnec_ruceg_tines_cif
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kh_tinkr_brnkz_bin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_tinr=   rV   N)r?   r@   rA   r   rB   r   rX   rC   rD   rE   CustomerTaxIdrs      s.    df
 f	
N	 }	rD   r   c                   *    e Zd ZU eed<   	 ed   ed<   y)Invoice.FromInvoiceactionr3   r4   N)r?   r@   rA   rX   rB   r   rC   rD   rE   FromInvoicer   M  s    	 !++	rD   r   c                   6    e Zd ZU eed      ed<   	 ed   ed<   y)Invoice.Issuerr   r:   r;   r=   Nr>   rC   rD   rE   Issuerr   W  s*    /)455	 '((	rD   r   c                   $   e Zd ZU 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<   y)Invoice.LastFinalizationError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_tax_location_invaliddebit_not_authorizedemail_invalidexpired_card&financial_connections_account_inactive7financial_connections_no_successful_transaction_refreshforwarding_api_inactive forwarding_api_invalid_parameter(forwarding_api_upstream_connection_error*forwarding_api_upstream_connection_timeoutidempotency_key_in_useincorrect_addressincorrect_cvcincorrect_numberincorrect_zip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_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_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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_errorr=   N)r?   r@   rA   r   rX   rB   r   r   rC   rD   rE   LastFinalizationErrorr   a  s&   	 kmo
 o	
`	 sm#	 #	 #	 &c]*	 'sm+	 }	 !11	 !11	 &c]*	 "#&	 }--	. DE
 	
 %
 	
	rD   r  c                   n    e Zd ZU  G d de      Zee   ed<   	 ee   ed<   	 eee	d         ed<   	 deiZ
y)Invoice.PaymentSettingsc                   :   e Zd ZU  G d de      Z G d de      Z G d de      Z G d de      Z G d	 d
e      Z G d de      Z	 G 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y),Invoice.PaymentSettings.PaymentMethodOptionsc                   T    e Zd ZU  G d de      Zee   ed<   eed      ed<   	 deiZy)6Invoice.PaymentSettings.PaymentMethodOptions.AcssDebitc                   $    e Zd ZU eed      ed<   y)EInvoice.PaymentSettings.PaymentMethodOptions.AcssDebit.MandateOptionsbusinesspersonaltransaction_typeNr?   r@   rA   r   r   rB   rC   rD   rE   MandateOptionsr  w  s    &.w7M/N&OOrD   r  mandate_options	automaticinstantmicrodepositsverification_methodN)	r?   r@   rA   r   r  r   rB   r   rQ   rC   rD   rE   	AcssDebitr  v  sC    \  "*.!99%-CD&  '8%H"rD   r  c                       e Zd ZU ed   ed<   y)7Invoice.PaymentSettings.PaymentMethodOptions.Bancontactdeenfrnlpreferred_languageNr?   r@   rA   r   rB   rC   rD   rE   
Bancontactr    s    $+,B$CCrD   r  c                   T    e Zd ZU  G d de      Zee   ed<   eed      ed<   	 deiZy)1Invoice.PaymentSettings.PaymentMethodOptions.Cardc                       e Zd ZU ee   ed<   y)>Invoice.PaymentSettings.PaymentMethodOptions.Card.InstallmentsrJ   N)r?   r@   rA   r   rP   rB   rC   rD   rE   Installmentsr    s    %d^+rD   r  installmentsanyr  	challengerequest_three_d_secureN)	r?   r@   rA   r   r  r   rB   r   rQ   rC   rD   rE   r!   r    sC    <  '|44(0;<)  '5l%C"rD   r!   c                   T    e Zd ZU  G d de      Zee   ed<   eed      ed<   	 deiZy)<Invoice.PaymentSettings.PaymentMethodOptions.CustomerBalancec                   N    e Zd ZU  G d de      Zee   ed<   ee   ed<   	 deiZy)IInvoice.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransferc                       e Zd ZU ed   ed<   y)XInvoice.PaymentSettings.PaymentMethodOptions.CustomerBalance.BankTransfer.EuBankTransfer)BEDEESFRIENLr^   Nr  rC   rD   rE   EuBankTransferr    s    !()K!LLrD   r  eu_bank_transferr=   N)	r?   r@   rA   r   r  r   rB   rX   rQ   rC   rD   rE   BankTransferr    s7      '/~&>>"3-' +=n)M&rD   r  bank_transferfunding_typeN)	r?   r@   rA   r   r  r   rB   r   rQ   rC   rD   rE   CustomerBalancer    s?    N< N  (55&w'?@@ '6|%D"rD   r  c                       e Zd Zy)4Invoice.PaymentSettings.PaymentMethodOptions.KonbiniNr?   r@   rA   rC   rD   rE   Konbinir        rD   r  c                       e Zd Zy)6Invoice.PaymentSettings.PaymentMethodOptions.SepaDebitNr  rC   rD   rE   	SepaDebitr    r  rD   r  c                   T    e Zd ZU  G d de      Zee   ed<   eed      ed<   	 deiZy):Invoice.PaymentSettings.PaymentMethodOptions.UsBankAccountc                   x    e Zd ZU  G d de      Zee   ed<   eeed         ed<   	 eeed         ed<   	 deiZ	y)	OInvoice.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnectionsc                   *    e Zd ZU eeed         ed<   y)WInvoice.PaymentSettings.PaymentMethodOptions.UsBankAccount.FinancialConnections.Filterscheckingsavingsaccount_subcategoriesN)r?   r@   rA   r   r   r   rB   rC   rD   rE   Filtersr    s"    /7 )>!?@0 rD   r  filtersbalances	ownershipr  transactionspermissionsr  r  r  prefetchN)
r?   r@   rA   r   r  r   rB   r   r   rQ   rC   rD   rE   FinancialConnectionsr    sq    ,  &g..!)#!0	" 	 'W%LMN  +4W)=&rD   r  financial_connectionsr  r  N)	r?   r@   rA   r   r  r   rB   r   rQ   rC   rD   rE   UsBankAccountr    sG    >< >> (00D'EE%-CD&  ,-A&"rD   r  
acss_debit
bancontactcardcustomer_balancekonbini
sepa_debitus_bank_account)r  r  r  r   r  r  r  N)r?   r@   rA   r   r  r  r!   r  r  r  r  r   rB   rQ   rC   rD   rE   PaymentMethodOptionsr  u  s    IL I \ D| D E, E,, L ) )V !++ !,, 4.  '77 g&& !++ &m44 (($3"'#0"rD   r  default_mandatepayment_method_options)#ach_credit_transfer	ach_debitr  
amazon_payau_becs_debit
bacs_debitr  boletor  cashappr   epsfpxgiropaygrabpayidealjp_credit_transfer	kakao_payr  kr_cardlink
multibanco	naver_payp24paycopaynowpaypal	promptpayrevolut_paysepa_credit_transferr  sofortswishr  
wechat_paypayment_method_typesN)r?   r@   rA   r   r  r   rX   rB   r   r   rQ   rC   rD   rE   PaymentSettingsr  t  sm    R	< R	h "#&	 !))= >>	 '""$&(
 (	
R	 78LMrD   r$  c                   t    e Zd ZU  G d de      Zee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 deiZ	y)Invoice.Renderingc                   $    e Zd ZU eed      ed<   y)Invoice.Rendering.Pdfa4autoletter	page_sizeNr  rC   rD   rE   Pdfr(  @  s    (> ?@@rD   r.  amount_tax_displaypdftemplatetemplate_versionN)
r?   r@   rA   r   r.  r   rX   rB   intrQ   rC   rD   rE   	Renderingr&  ?  s^    	, 	 %SM)	 c]	 3-	 #3-'	 $S\rD   r4  c                       e Zd ZU  G 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
y	)
Invoice.ShippingCostc                   N    e Zd ZU eed<   	 ded<   	 eed      ed<   	 ee   ed<   y)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)r?   r@   rA   r3  rB   r   r   rC   rD   rE   Taxr8  Y  sJ    K O
  ("  & %SM)rD   rM  amount_subtotal
amount_taxamount_totalr*   shipping_ratetaxesN)r?   r@   rA   r   rM  r3  rB   r   r   r   rQ   rC   rD   rE   ShippingCostr6  X  sn    $	, $	L 	 	 	   ?@@	 S	""	 &s^rD   rS  c                       e Zd ZU  G 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y)	Invoice.ShippingDetailsc                   x    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<   y)Invoice.ShippingDetails.Addressr]   r^   r_   r`   ra   rb   Nrc   rC   rD   rE   ri   rW    rj   rD   ri   rk   rl   rU   rm   rn   Nro   rC   rD   rE   ShippingDetailsrU    rq   rD   rX  c                   T    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   y)Invoice.StatusTransitionsfinalized_atmarked_uncollectible_atpaid_at	voided_atN)r?   r@   rA   r   r3  rB   rC   rD   rE   StatusTransitionsrZ    sD    sm#	 "*#.	 #	 C= 	rD   r_  c                   (    e Zd ZU eeeef      ed<   y)Invoice.SubscriptionDetailsmetadataN)r?   r@   rA   r   r   rX   rB   rC   rD   rE   SubscriptionDetailsra    s    4S>**	rD   rc  c                   P    e Zd ZU  G d de      Zee   ed<   	 ee   ed<   	 deiZ	y)Invoice.ThresholdReasonc                   *    e Zd ZU ee   ed<   	 eed<   y)"Invoice.ThresholdReason.ItemReasonline_item_ids	usage_gteN)r?   r@   rA   r   rX   rB   r3  rC   rD   rE   
ItemReasonrg    s    9$ NrD   rj  
amount_gteitem_reasonsN)
r?   r@   rA   r   rj  r   r3  rB   r   rQ   rC   rD   rE   ThresholdReasonre    s>    	 	 SM!	 :&&	 -j9rD   rm  c                   *    e Zd ZU eed<   	 ed   ed<   y)Invoice.TotalDiscountAmountr9  r$   discountN)r?   r@   rA   r3  rB   r   rC   rD   rE   TotalDiscountAmountro    s    	 "*--	rD   rq  c                   Z    e Zd ZU eed<   	 eed      ed<   	 eed      ed<   	 ed   ed<   y)	Invoice.TotalPretaxCreditAmountr9  r/   credit_balance_transactionr$   rp  )rt  rp  r=   N)r?   r@   rA   r3  rB   r   r   r   rC   rD   rE   TotalPretaxCreditAmountrs    sS    	 %-67%
 	
	 ?:677	 >??	rD   ru  c                   `    e Zd ZU eed<   	 eed<   	 ed   ed<   	 eed      ed<   	 ee   ed<   y)	Invoice.TotalTaxAmountr9  	inclusiver.   tax_rater;  rK  rL  N)	r?   r@   rA   r3  rB   rP   r   r   r   rC   rD   rE   TotalTaxAmountrw    s\    	 	 "),,	 $
 	
&	 !%	rD   rz  c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)Invoice.TransferDatar9  r   destinationN)r?   r@   rA   r   r3  rB   r   rC   rD   rE   TransferDatar|  7  s#    	 %Y//	rD   r~  c                   H    e Zd ZU eee      ed<   	 ed   ed<   	 ed   ed<   y)Invoice.AddLinesParamsexpandLiteral['']|Dict[str, str]invoice_metadataInvoice.AddLinesParamsLinelinesNr?   r@   rA   r   r   rX   rB   rC   rD   rE   AddLinesParamsr  A  s<    DI&&	 &&BCC	 011	rD   r  c                       e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   	 ed   ed<   	 ee   ed<   	 ed   ed<   	 ed	   ed
<   	 ee   ed<   	 ed   ed<   	 ee   ed<   	 ed   ed<   	 ed   ed<   y)r  r9  descriptiondiscountablez4Literal['']|List[Invoice.AddLinesParamsLineDiscount]	discountsinvoice_itemr  rb   Invoice.AddLinesParamsLinePeriodperiodprice#Invoice.AddLinesParamsLinePriceData
price_dataquantityz5Literal['']|List[Invoice.AddLinesParamsLineTaxAmount]tax_amountsLiteral['']|List[str]	tax_ratesNr?   r@   rA   r   r3  rB   rX   rP   rC   rD   rE   AddLinesParamsLinezInvoice.AddLinesParamsLineO  s    C  	 !%%	 "$''	 B
 	
	 "#&&	 :;;	 >??	 3	   EFF	 c""	 !C
 	
	 677	rD   r  c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y)"Invoice.AddLinesParamsLineDiscountcouponrp  promotion_codeNr?   r@   rA   r   rX   rB   rC   rD   rE   AddLinesParamsLineDiscountr    6    C  	 c""	 $C((	rD   r  c                   $    e Zd ZU eed<   	 eed<   y)r  endstartNr?   r@   rA   r3  rB   rC   rD   rE   AddLinesParamsLinePeriodz Invoice.AddLinesParamsLinePeriod      	 
	rD   r  c                   x    e Zd ZU eed<   	 ee   ed<   	 ed   ed<   	 eed      ed<   	 ee   ed<   	 ee   ed<   y	)
r  currencyproduct.Invoice.AddLinesParamsLinePriceDataProductDataproduct_data	exclusiverx  unspecifiedtax_behaviorunit_amountunit_amount_decimalNr?   r@   rA   rX   rB   r   r   r3  rC   rD   rE   AddLinesParamsLinePriceDataz#Invoice.AddLinesParamsLinePriceData  sv    	 S!!	 "<
 	
	 ";<
 	
	 !%%	 )--	rD   r  c                   p    e Zd ZU ee   ed<   	 eee      ed<   	 eeeef      ed<   	 eed<   	 ee   ed<   y)r  r  imagesrb  rU   tax_codeNr?   r@   rA   r   rX   rB   r   r   rC   rD   rE   &AddLinesParamsLinePriceDataProductDataz.Invoice.AddLinesParamsLinePriceDataProductData  `     %%	 DI&&	 d38n--	 		 c""	rD   r  c                   0    e Zd ZU eed<   	 ded<   	 eed<   y)#Invoice.AddLinesParamsLineTaxAmountr9  .Invoice.AddLinesParamsLineTaxAmountTaxRateDatatax_rate_datarL  Nr  rC   rD   rE   AddLinesParamsLineTaxAmountr    s'    	 HG	
 	rD   r  c                       e Zd ZU ee   ed<   	 ee   ed<   	 eed<   	 eed<   	 ee   ed<   	 eed<   	 ee   ed<   	 eed      ed	<   y
)r  r^   r  display_namerx  jurisdiction
percentagerb   amusement_taxcommunications_taxgsthstigstjct	lease_taxpstqstretail_delivery_feerst	sales_taxservice_taxvattax_typeN	r?   r@   rA   r   rX   rB   rP   floatr   rC   rD   rE   &AddLinesParamsLineTaxAmountTaxRateDataz.Invoice.AddLinesParamsLineTaxAmountTaxRateData      S!!	 !%%	 	 	 "#&&	 	 3	 
 	
$	rD   r  c                   d   e Zd ZU ed   ed<   	 ee   ed<   	 ee   ed<   	 ed   ed<   	 ee   ed<   	 eed      ed	<   	 ee   ed
<   	 ed   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee	e      ed<   	 ee   ed<   	 ed   ed<   	 ee   ed<   	 ee   ed<   	 ee	e      ed<   	 ee   ed<   	 ed   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&<   	 ed'   ed(<   	 ed)   ed*<   	 ee   ed+<   	 ee   ed,<   	 ed-   ed.<   y/)0Invoice.CreateParamsr  account_tax_idsapplication_fee_amountauto_advance Invoice.CreateParamsAutomaticTaxautomatic_taxautomatically_finalizes_atcharge_automaticallysend_invoicecollection_methodr  z1Literal['']|List[Invoice.CreateParamsCustomField]custom_fieldscustomerdays_until_duedefault_payment_methoddefault_sourcedefault_tax_ratesr  z.Literal['']|List[Invoice.CreateParamsDiscount]r  due_dateeffective_atr  footerInvoice.CreateParamsFromInvoicefrom_invoiceInvoice.CreateParamsIssuerissuerr  rb  numberon_behalf_of#Invoice.CreateParamsPaymentSettingspayment_settings)excludeincludepending_invoice_items_behaviorInvoice.CreateParamsRendering	rendering Invoice.CreateParamsShippingCostshipping_cost#Invoice.CreateParamsShippingDetailsshipping_detailsstatement_descriptorsubscription Invoice.CreateParamsTransferDatatransfer_dataN
r?   r@   rA   r   rB   r3  rP   r   rX   r   rC   rD   rE   CreateParamsr    sr   $%<==	 !,C 00	 "$''	 ##EFF	 %0$44	 ':;
 	
	 c""	 #?
 	
	 c""	 $C((	 !,C 00	 $C((	 'tCy11	 !%%	 <
 	
	 c""	 "#&&	 DI&&	 C  	 ""CDD	 899	 :;;	 C  	 "#&&	 &&KLL	 )4())
 	
	 >??	 ##EFF	 &&KLL	 *#..	 "#&&	 ##EFF	rD   r   c                   *    e Zd ZU eed<   	 ed   ed<   y)r  rJ   )Invoice.CreateParamsAutomaticTaxLiabilityrK   Nr?   r@   rA   rP   rB   r   rC   rD   rE   CreateParamsAutomaticTaxz Invoice.CreateParamsAutomaticTax      	 JKK	rD   r  c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)r  r:   r;   r=   Nr?   r@   rA   r   rX   rB   r   rC   rD   rE   !CreateParamsAutomaticTaxLiabilityz)Invoice.CreateParamsAutomaticTaxLiability  %    S!!	 '((	rD   r  c                   $    e Zd ZU eed<   	 eed<   y)Invoice.CreateParamsCustomFieldrU   rV   NrW   rC   rD   rE   CreateParamsCustomFieldr    rZ   rD   r  c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y)Invoice.CreateParamsDiscountr  rp  r  Nr  rC   rD   rE   CreateParamsDiscountr    r  rD   r  c                   *    e Zd ZU ed   ed<   	 eed<   y)r  revisionr   r4   Nr?   r@   rA   r   rB   rX   rC   rD   rE   CreateParamsFromInvoicezInvoice.CreateParamsFromInvoice  s    
##	 	rD   r  c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)r  r:   r;   r=   Nr  rC   rD   rE   CreateParamsIssuerzInvoice.CreateParamsIssuer  r	  rD   r  c                   B    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   y)r  Literal['']|strr  7Invoice.CreateParamsPaymentSettingsPaymentMethodOptionsr    Literal['']|List[Literal['ach_credit_transfer', 'ach_debit', 'acss_debit', 'amazon_pay', 'au_becs_debit', 'bacs_debit', 'bancontact', 'boleto', 'card', 'cashapp', 'customer_balance', 'eps', 'fpx', 'giropay', 'grabpay', 'ideal', 'jp_credit_transfer', 'kakao_pay', 'konbini', 'kr_card', 'link', 'multibanco', 'naver_pay', 'p24', 'payco', 'paynow', 'paypal', 'promptpay', 'revolut_pay', 'sepa_credit_transfer', 'sepa_debit', 'sofort', 'swish', 'us_bank_account', 'wechat_pay']]r#  Nr?   r@   rA   r   rB   rC   rD   rE   CreateParamsPaymentSettingsz#Invoice.CreateParamsPaymentSettings  D    $%677	 !,E!
 	
	 * i
 	
	rD   r  c                       e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed	   ed
<   	 ed   ed<   	 ed   ed<   y)r  zLLiteral['']|Invoice.CreateParamsPaymentSettingsPaymentMethodOptionsAcssDebitr  zMLiteral['']|Invoice.CreateParamsPaymentSettingsPaymentMethodOptionsBancontactr  zGLiteral['']|Invoice.CreateParamsPaymentSettingsPaymentMethodOptionsCardr  zRLiteral['']|Invoice.CreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalancer   zJLiteral['']|Invoice.CreateParamsPaymentSettingsPaymentMethodOptionsKonbinir  zLLiteral['']|Invoice.CreateParamsPaymentSettingsPaymentMethodOptionsSepaDebitr  zPLiteral['']|Invoice.CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountr  Nr  rC   rD   rE   /CreateParamsPaymentSettingsPaymentMethodOptionsz7Invoice.CreateParamsPaymentSettingsPaymentMethodOptions      Z
 	
	  [
 	
	 U
 	
	 &`
 	
	 X
 	
	  Z
 	
	 %^
 	
	rD   r  c                   6    e Zd ZU ed   ed<   	 eed      ed<   y)@Invoice.CreateParamsPaymentSettingsPaymentMethodOptionsAcssDebitNInvoice.CreateParamsPaymentSettingsPaymentMethodOptionsAcssDebitMandateOptionsr  r  r  Nr?   r@   rA   r   rB   r   rC   rD   rE   8CreateParamsPaymentSettingsPaymentMethodOptionsAcssDebitr!    4    $\
 	
	 );<
 	
	rD   r$  c                   $    e Zd ZU eed      ed<   y)r"  r  r  Nr?   r@   rA   r   r   rB   rC   rD   rE   FCreateParamsPaymentSettingsPaymentMethodOptionsAcssDebitMandateOptionszNInvoice.CreateParamsPaymentSettingsPaymentMethodOptionsAcssDebitMandateOptions*       &g.D&EFF	rD   r(  c                   $    e Zd ZU eed      ed<   y)AInvoice.CreateParamsPaymentSettingsPaymentMethodOptionsBancontactr  r  Nr'  rC   rD   rE   9CreateParamsPaymentSettingsPaymentMethodOptionsBancontactr+  2      '0F(GHH	rD   r,  c                   6    e Zd ZU ed   ed<   	 eed      ed<   y);Invoice.CreateParamsPaymentSettingsPaymentMethodOptionsCardGInvoice.CreateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsr  r  r  Nr#  rC   rD   rE   3CreateParamsPaymentSettingsPaymentMethodOptionsCardr/  8  4    !U
 	
	
 !,34!
 	
	rD   r1  c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)r0  rJ   zWLiteral['']|Invoice.CreateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlanplanNr?   r@   rA   r   rP   rB   rC   rD   rE   ?CreateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentszGInvoice.CreateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsH  +     T""	 e
 	
	rD   r6  c                   H    e Zd ZU ee   ed<   	 eed      ed<   	 ed   ed<   y)KInvoice.CreateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlancountmonthintervalfixed_countr=   Nr?   r@   rA   r   r3  rB   r   rC   rD   rE   CCreateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlanr9  W  =     3	 gg.//	 m$$	rD   r?  c                   0    e Zd ZU ed   ed<   	 ee   ed<   y)FInvoice.CreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceRInvoice.CreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferr  r  Nr?   r@   rA   r   rB   rX   rC   rD   rE   >CreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalancerB  h  +     #`
 	
	 "#&&	rD   rE  c                   0    e Zd ZU ed   ed<   	 ee   ed<   y)rC  `Invoice.CreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferr  r=   NrD  rC   rD   rE   JCreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferzRInvoice.CreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferv  +     &n
 	
	 #	rD   rI  c                       e Zd ZU eed<   y)rH  r^   NrW   rC   rD   rE   XCreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferz`Invoice.CreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer       	rD   rL  c                       e Zd Zy)>Invoice.CreateParamsPaymentSettingsPaymentMethodOptionsKonbiniNr  rC   rD   rE   6CreateParamsPaymentSettingsPaymentMethodOptionsKonbinirO        rD   rP  c                       e Zd Zy)@Invoice.CreateParamsPaymentSettingsPaymentMethodOptionsSepaDebitNr  rC   rD   rE   8CreateParamsPaymentSettingsPaymentMethodOptionsSepaDebitrS    rQ  rD   rT  c                   6    e Zd ZU ed   ed<   	 eed      ed<   y)DInvoice.CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountXInvoice.CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsr  r  r  Nr#  rC   rD   rE   <CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountrV    6      +f 
 	
	 );<
 	
	rD   rX  c                   Z    e Zd ZU ed   ed<   	 eeed         ed<   	 eeed         ed<   y)rW  _Invoice.CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFiltersr  r  r  r  r  Nr?   r@   rA   r   rB   r   r   rC   rD   rE   PCreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionszXInvoice.CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections  b     m
 	
	 !M
 	
	 @AB
 	
	rD   r]  c                   *    e Zd ZU eeed         ed<   y)r[  r  r  Nr?   r@   rA   r   r   r   rB   rC   rD   rE   WCreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFiltersz_Invoice.CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters  $      +./0 
 	
	rD   ra  c                   T    e Zd ZU ed   ed<   	 ed   ed<   	 ee   ed<   	 ed   ed<   y)	r  ;Literal['']|Literal['exclude_tax', 'include_inclusive_tax']r/   Invoice.CreateParamsRenderingPdfr0  r1  Literal['']|intr2  NrD  rC   rD   rE   CreateParamsRenderingzInvoice.CreateParamsRendering  O    'I
 	
	 ;<<	 c""	 &&788	rD   rg  c                   $    e Zd ZU eed      ed<   y)re  r)  r-  Nr'  rC   rD   rE   CreateParamsRenderingPdfz Invoice.CreateParamsRenderingPdf      w'=>??	rD   rj  c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)r  rQ  0Invoice.CreateParamsShippingCostShippingRateDatashipping_rate_dataNr  rC   rD   rE   CreateParamsShippingCostz Invoice.CreateParamsShippingCost  )    "3''	 (>
 	
	rD   ro  c                       e Zd ZU ed   ed<   	 eed<   	 ed   ed<   	 eeeef      ed<   	 eed      ed<   	 ee   ed	<   	 eed      ed
<   y)rm  @Invoice.CreateParamsShippingCostShippingRateDataDeliveryEstimatedelivery_estimater  ;Invoice.CreateParamsShippingCostShippingRateDataFixedAmountfixed_amountrb  r  r  r  r=   Nr?   r@   rA   r   rB   rX   r   r   rC   rD   rE   (CreateParamsShippingCostShippingRateDataz0Invoice.CreateParamsShippingCostShippingRateData      &N
 	
	 	 "I
 	
	 d38n--	 ";<
 	
	 c""	 '.122	rD   rw  c                   0    e Zd ZU ed   ed<   	 ed   ed<   y)rr  GInvoice.CreateParamsShippingCostShippingRateDataDeliveryEstimateMaximummaximumGInvoice.CreateParamsShippingCostShippingRateDataDeliveryEstimateMinimumminimumNr  rC   rD   rE   8CreateParamsShippingCostShippingRateDataDeliveryEstimatez@Invoice.CreateParamsShippingCostShippingRateDataDeliveryEstimate  .    U
 	
	 U
 	
	rD   r~  c                   *    e Zd ZU ed   ed<   	 eed<   y)rz  business_daydayhourr;  weekunitrV   Nr?   r@   rA   r   rB   r3  rC   rD   rE   ?CreateParamsShippingCostShippingRateDataDeliveryEstimateMaximumzGInvoice.CreateParamsShippingCostShippingRateDataDeliveryEstimateMaximum   !     DEE	 
	rD   r  c                   *    e Zd ZU ed   ed<   	 eed<   y)r|  r  r  rV   Nr  rC   rD   rE   ?CreateParamsShippingCostShippingRateDataDeliveryEstimateMinimumzGInvoice.CreateParamsShippingCostShippingRateDataDeliveryEstimateMinimum,  r  rD   r  c                   @    e Zd ZU eed<   	 eed<   	 eeedf      ed<   y)rt  r9  r  JInvoice.CreateParamsShippingCostShippingRateDataFixedAmountCurrencyOptionscurrency_optionsNr?   r@   rA   r3  rB   rX   r   r   rC   rD   rE   3CreateParamsShippingCostShippingRateDataFixedAmountz;Invoice.CreateParamsShippingCostShippingRateDataFixedAmount8  @    	 	 &\^
 	
	rD   r  c                   0    e Zd ZU eed<   	 eed      ed<   y)r  r9  r  r  Nr?   r@   rA   r3  rB   r   r   rC   rD   rE   BCreateParamsShippingCostShippingRateDataFixedAmountCurrencyOptionszJInvoice.CreateParamsShippingCostShippingRateDataFixedAmountCurrencyOptionsK  +     	 ";<
 	
	rD   r  c                   6    e Zd ZU ded<   	 eed<   	 ed   ed<   y)r  *Invoice.CreateParamsShippingDetailsAddressrk   rU   r  rm   Nr?   r@   rA   rB   rX   r   rC   rD   rE   CreateParamsShippingDetailsz#Invoice.CreateParamsShippingDetailsY  ,    ==	 		 ,--	rD   r  c                   x    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<   y)r  r]   r^   r_   r`   ra   rb   Nr  rC   rD   rE   "CreateParamsShippingDetailsAddressz*Invoice.CreateParamsShippingDetailsAddressg  l    #	 S!!	 3	 3	 !%%	 3	rD   r  c                   *    e Zd ZU ee   ed<   	 eed<   y)r  r9  r}  Nr?   r@   rA   r   r3  rB   rX   rC   rD   rE   CreateParamsTransferDataz Invoice.CreateParamsTransferData      C  	 	rD   r  c                   ,   e Zd ZU ed   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      ed
<   	 eed      ed<   	 ed   ed<   	 ed   ed<   	 eed      ed<   	 ee   ed<   	 ed   ed<   	 ee   ed<   	 ed   ed<   y)Invoice.CreatePreviewParams'Invoice.CreatePreviewParamsAutomaticTaxr  r  r  r  *Invoice.CreatePreviewParamsCustomerDetailscustomer_detailsz5Literal['']|List[Invoice.CreatePreviewParamsDiscount]r  r  &Invoice.CreatePreviewParamsInvoiceIteminvoice_items!Invoice.CreatePreviewParamsIssuerr  r  r  next	recurringpreview_modeschedule*Invoice.CreatePreviewParamsScheduleDetailsschedule_detailsr  .Invoice.CreatePreviewParamsSubscriptionDetailssubscription_detailsN)r?   r@   rA   r   rB   rX   r   r   rC   rD   rE   CreatePreviewParamsr    s:   "#LMM	 C  	 c""	 c""	 &8
 	
	 C
 	
	 DI&&	 #9:
 	
	 ?@@	 ""344	 "'*=">??	 c""	 &8
 	
	 "#&&	 *<
 	
	rD   r  c                   *    e Zd ZU eed<   	 ed   ed<   y)r  rJ   0Invoice.CreatePreviewParamsAutomaticTaxLiabilityrK   Nr  rC   rD   rE   CreatePreviewParamsAutomaticTaxz'Invoice.CreatePreviewParamsAutomaticTax  #    	 >
 	
	rD   r  c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)r  r:   r;   r=   Nr  rC   rD   rE   (CreatePreviewParamsAutomaticTaxLiabilityz0Invoice.CreatePreviewParamsAutomaticTaxLiability  r	  rD   r  c                   l    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 eed	      ed
<   y)r  z=Literal['']|Invoice.CreatePreviewParamsCustomerDetailsAddressrk   z>Literal['']|Invoice.CreatePreviewParamsCustomerDetailsShippingshipping-Invoice.CreatePreviewParamsCustomerDetailsTaxtax0Literal['']|Literal['exempt', 'none', 'reverse']
tax_exempt/Invoice.CreatePreviewParamsCustomerDetailsTaxIdtax_idsNr?   r@   rA   r   rB   r   rC   rD   rE   "CreatePreviewParamsCustomerDetailsz*Invoice.CreatePreviewParamsCustomerDetails  u    K
 	
	 L
 	
	 HII	  >
 	
	 BC
 	
	rD   r  c                   x    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<   y)1Invoice.CreatePreviewParamsCustomerDetailsAddressr]   r^   r_   r`   ra   rb   Nr  rC   rD   rE   )CreatePreviewParamsCustomerDetailsAddressr    r  rD   r  c                   6    e Zd ZU ded<   	 eed<   	 ee   ed<   y)2Invoice.CreatePreviewParamsCustomerDetailsShipping9Invoice.CreatePreviewParamsCustomerDetailsShippingAddressrk   rU   rm   Nr  rC   rD   rE   *CreatePreviewParamsCustomerDetailsShippingr  !  +    LL	 		 3	rD   r  c                   x    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<   y)r  r]   r^   r_   r`   ra   rb   Nr  rC   rD   rE   1CreatePreviewParamsCustomerDetailsShippingAddressz9Invoice.CreatePreviewParamsCustomerDetailsShippingAddress/  r  rD   r  c                       e Zd ZU ed   ed<   y)r  r  
ip_addressNr  rC   rD   rE   %CreatePreviewParamsCustomerDetailsTaxz-Invoice.CreatePreviewParamsCustomerDetailsTaxI       122	rD   r  c                   *    e Zd ZU ed   ed<   	 eed<   y)r  drt   ru   rv   rw   rx   ry   rz   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   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   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   r   r   r   r   r   r   r=   rV   Nr  rC   rD   rE   'CreatePreviewParamsCustomerDetailsTaxIdz/Invoice.CreatePreviewParamsCustomerDetailsTaxIdO  )    ce
 e	
L	 
	rD   r  c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y)#Invoice.CreatePreviewParamsDiscountr  rp  r  Nr  rC   rD   rE   CreatePreviewParamsDiscountr    r  rD   r  c                   2   e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ed   ed<   	 ee   ed<   	 ed   ed	<   	 ed
   ed<   	 ee   ed<   	 ed   ed<   	 ee   ed<   	 eed      ed<   	 ed   ed<   	 ed   ed<   	 ee   ed<   	 ee   ed<   y)r  r9  r  r  r  z@Literal['']|List[Invoice.CreatePreviewParamsInvoiceItemDiscount]r  invoiceitemr  rb  ,Invoice.CreatePreviewParamsInvoiceItemPeriodr  r  /Invoice.CreatePreviewParamsInvoiceItemPriceDatar  r  r  r  r  r  r  r  r  r  N	r?   r@   rA   r   r3  rB   rX   rP   r   rC   rD   rE   CreatePreviewParamsInvoiceItemz&Invoice.CreatePreviewParamsInvoiceItem  9   C  	 c""	 !%%	 "$''	 N
 	
	 !%%	 :;;	 JKK	 3	  =
 	
	 c""	 ";<
 	
	 /00	 677	 !%%	 )--	rD   r  c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y).Invoice.CreatePreviewParamsInvoiceItemDiscountr  rp  r  Nr  rC   rD   rE   &CreatePreviewParamsInvoiceItemDiscountr  	  r  rD   r  c                   $    e Zd ZU eed<   	 eed<   y)r  r  r  Nr  rC   rD   rE   $CreatePreviewParamsInvoiceItemPeriodz,Invoice.CreatePreviewParamsInvoiceItemPeriod"	  r  rD   r  c                   `    e Zd ZU eed<   	 eed<   	 eed      ed<   	 ee   ed<   	 ee   ed<   y)r  r  r  r  r  r  r  Nr  rC   rD   rE   'CreatePreviewParamsInvoiceItemPriceDataz/Invoice.CreatePreviewParamsInvoiceItemPriceData,	  Y    	 	 ";<
 	
	 !%%	 )--	rD   r  c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)r  r:   r;   r=   Nr  rC   rD   rE   CreatePreviewParamsIssuerz!Invoice.CreatePreviewParamsIssuerD	  r	  rD   r  c                   T    e Zd ZU eed      ed<   	 eed      ed<   	 eed      ed<   y)r  cancelreleaseend_behavior/Invoice.CreatePreviewParamsScheduleDetailsPhasephasesalways_invoicecreate_prorationsnoneproration_behaviorNr?   r@   rA   r   r   rB   r   rC   rD   rE   "CreatePreviewParamsScheduleDetailsz*Invoice.CreatePreviewParamsScheduleDetailsN	  R    !'*=">??	 BC
 	
	 (AB
 	
	rD   r  c                      e Zd ZU eed      ed<   	 ee   ed<   	 ed   ed<   	 eed      ed<   	 ed   ed	<   	 eed
      ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ee	   ed<   	 ee
eef      ed<   	 ee   ed<   	 eed      ed<   	 ed   ed <   	 ed!   ed"<   	 ee   ed#<   	 ed   ed$<   y%)&r  =Invoice.CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemadd_invoice_itemsapplication_fee_percent;Invoice.CreatePreviewParamsScheduleDetailsPhaseAutomaticTaxr  r  phase_startbilling_cycle_anchorzLLiteral['']|Invoice.CreatePreviewParamsScheduleDetailsPhaseBillingThresholdsbilling_thresholdsr  r  r  r  r  r  r  r  r  zILiteral['']|List[Invoice.CreatePreviewParamsScheduleDetailsPhaseDiscount]r  int|Literal['now']end_date>Invoice.CreatePreviewParamsScheduleDetailsPhaseInvoiceSettingsinvoice_settings3Invoice.CreatePreviewParamsScheduleDetailsPhaseItemitems
iterationsrb  r  r  r  
start_date;Invoice.CreatePreviewParamsScheduleDetailsPhaseTransferDatar  trial	trial_endNr?   r@   rA   r   r   rB   r  r   rX   r3  r   rP   rC   rD   rE   'CreatePreviewParamsScheduleDetailsPhasez/Invoice.CreatePreviewParamsScheduleDetailsPhase`	     &O
 	

	 "-U!33	 #I
 	
	 *'2L*MNN	 (Z
 	
	 ':;
 	
	 C  	 c""	 !,C 00	 ''>??	 !!233	 W
 	
	 233	 &L
 	
	 IJJ	  $$	 d38n--	 "#&&	 (AB
 	
	   455	 #I
 	
	 4  	 344	rD   r  c                   l    e Zd ZU eed      ed<   	 ee   ed<   	 ed   ed<   	 ee   ed<   	 ed   ed<   y	)
r  EInvoice.CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemDiscountr  r  FInvoice.CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemPriceDatar  r  r  r  Nr?   r@   rA   r   r   rB   rX   r3  rC   rD   rE   5CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemz=Invoice.CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItem	  m    W
 	

	 3	  T
 	
	 c""	 677	rD   r  c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y)r  r  rp  r  Nr  rC   rD   rE   =CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemDiscountzEInvoice.CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemDiscount	  8     C  	 c""	 $C((	rD   r  c                   `    e Zd ZU eed<   	 eed<   	 eed      ed<   	 ee   ed<   	 ee   ed<   y)r  r  r  r  r  r  r  Nr  rC   rD   rE   >CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemPriceDatazFInvoice.CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemPriceData	  [     	 	 ";<
 	
	 !%%	 )--	rD   r  c                   *    e Zd ZU eed<   	 ed   ed<   y)r  rJ   DInvoice.CreatePreviewParamsScheduleDetailsPhaseAutomaticTaxLiabilityrK   Nr  rC   rD   rE   3CreatePreviewParamsScheduleDetailsPhaseAutomaticTaxz;Invoice.CreatePreviewParamsScheduleDetailsPhaseAutomaticTax
  #    	 R
 	
	rD   r  c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)r  r:   r;   r=   Nr  rC   rD   rE   <CreatePreviewParamsScheduleDetailsPhaseAutomaticTaxLiabilityzDInvoice.CreatePreviewParamsScheduleDetailsPhaseAutomaticTaxLiability"
  '     S!!	 '((	rD   r"  c                   0    e Zd ZU ee   ed<   	 ee   ed<   y)@Invoice.CreatePreviewParamsScheduleDetailsPhaseBillingThresholdsrk  reset_billing_cycle_anchorNr?   r@   rA   r   r3  rB   rP   rC   rD   rE   8CreatePreviewParamsScheduleDetailsPhaseBillingThresholdsr%  .
  $    $$	 %0$55	rD   r(  c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y)7Invoice.CreatePreviewParamsScheduleDetailsPhaseDiscountr  rp  r  Nr  rC   rD   rE   /CreatePreviewParamsScheduleDetailsPhaseDiscountr+  8
  r  rD   r,  c                   B    e Zd ZU ed   ed<   	 ee   ed<   	 ed   ed<   y)r  r  r  r  DInvoice.CreatePreviewParamsScheduleDetailsPhaseInvoiceSettingsIssuerr  Nr?   r@   rA   r   rB   r3  rC   rD   rE   6CreatePreviewParamsScheduleDetailsPhaseInvoiceSettingsz>Invoice.CreatePreviewParamsScheduleDetailsPhaseInvoiceSettingsF
  <    $%<==	 $C((	 R
 	
	rD   r0  c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)r.  r:   r;   r=   Nr  rC   rD   rE   <CreatePreviewParamsScheduleDetailsPhaseInvoiceSettingsIssuerzDInvoice.CreatePreviewParamsScheduleDetailsPhaseInvoiceSettingsIssuerV
  r#  rD   r3  c                       e Zd ZU ed   ed<   	 ed   ed<   	 eeeef      ed<   	 ee   ed<   	 ee   ed<   	 ed   ed	<   	 ee   ed
<   	 ed   ed<   y)r  zPLiteral['']|Invoice.CreatePreviewParamsScheduleDetailsPhaseItemBillingThresholdsr  zMLiteral['']|List[Invoice.CreatePreviewParamsScheduleDetailsPhaseItemDiscount]r  rb  r4  r  <Invoice.CreatePreviewParamsScheduleDetailsPhaseItemPriceDatar  r  r  r  Nr?   r@   rA   r   rB   r   rX   r3  rC   rD   rE   +CreatePreviewParamsScheduleDetailsPhaseItemz3Invoice.CreatePreviewParamsScheduleDetailsPhaseItemb
      '^
 	
	 [
 	
	 d38n--	 #	 3	  J
 	
	 c""	 677	rD   r7  c                       e Zd ZU eed<   y)DInvoice.CreatePreviewParamsScheduleDetailsPhaseItemBillingThresholdsri  Nr  rC   rD   rE   <CreatePreviewParamsScheduleDetailsPhaseItemBillingThresholdsr:  
       	rD   r;  c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y);Invoice.CreatePreviewParamsScheduleDetailsPhaseItemDiscountr  rp  r  Nr  rC   rD   rE   3CreatePreviewParamsScheduleDetailsPhaseItemDiscountr>  
  r  rD   r?  c                   l    e Zd ZU eed<   	 eed<   	 ded<   	 eed      ed<   	 ee   ed<   	 ee   ed<   y	)
r5  r  r  EInvoice.CreatePreviewParamsScheduleDetailsPhaseItemPriceDataRecurringr  r  r  r  r  Nr  rC   rD   rE   4CreatePreviewParamsScheduleDetailsPhaseItemPriceDataz<Invoice.CreatePreviewParamsScheduleDetailsPhaseItemPriceData
  g    	 	 [Z	 ";<
 	
	 !%%	 )--	rD   rB  c                   0    e Zd ZU ed   ed<   	 ee   ed<   y)rA  r  r;  r  yearr<  interval_countNr?   r@   rA   r   rB   r   r3  rC   rD   rE   =CreatePreviewParamsScheduleDetailsPhaseItemPriceDataRecurringzEInvoice.CreatePreviewParamsScheduleDetailsPhaseItemPriceDataRecurring
  '     899	 $C((	rD   rI  c                   *    e Zd ZU ee   ed<   	 eed<   y)r  amount_percentr}  Nr?   r@   rA   r   r  rB   rX   rC   rD   rE   3CreatePreviewParamsScheduleDetailsPhaseTransferDataz;Invoice.CreatePreviewParamsScheduleDetailsPhaseTransferData
      #E**	 	rD   rN  c                       e Zd ZU 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ed      ed<   	 ee   ed<   	 eed      ed<   	 ee   ed<   	 ed   ed<   y)r  Literal['now', 'unchanged']|intr  rf  	cancel_atcancel_at_period_end
cancel_nowr  r  2Invoice.CreatePreviewParamsSubscriptionDetailsItemr  r  r  proration_datenow	resume_atr
  Literal['now']|intr  N	r?   r@   rA   r   rB   rP   r   r   r3  rC   rD   rE   &CreatePreviewParamsSubscriptionDetailsz.Invoice.CreatePreviewParamsSubscriptionDetails
      )*KLL	 011	 *$//	  %%	 ''>??	 EF
 	
	 (AB
 	
	 $C((	 wu~..	  $$	 344	rD   r[  c                       e Zd ZU ed   ed<   	 ee   ed<   	 ee   ed<   	 ed   ed<   	 ee   ed<   	 ed   ed	<   	 ee   ed
<   	 ee   ed<   	 ed   ed<   	 ee   ed<   	 ed   ed<   y)rU  zOLiteral['']|Invoice.CreatePreviewParamsSubscriptionDetailsItemBillingThresholdsr  clear_usagedeletedzLLiteral['']|List[Invoice.CreatePreviewParamsSubscriptionDetailsItemDiscount]r  idr  rb  r4  r  ;Invoice.CreatePreviewParamsSubscriptionDetailsItemPriceDatar  r  r  r  Nr?   r@   rA   r   rB   rP   rX   r3  rC   rD   rE   *CreatePreviewParamsSubscriptionDetailsItemz2Invoice.CreatePreviewParamsSubscriptionDetailsItem      ']
 	
	 !&&	 T""	 Z
 	
	 	 :;;	 #	 3	  I
 	
	 c""	 677	rD   rc  c                       e Zd ZU eed<   y)CInvoice.CreatePreviewParamsSubscriptionDetailsItemBillingThresholdsri  Nr  rC   rD   rE   ;CreatePreviewParamsSubscriptionDetailsItemBillingThresholdsrf  8  r<  rD   rg  c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y):Invoice.CreatePreviewParamsSubscriptionDetailsItemDiscountr  rp  r  Nr  rC   rD   rE   2CreatePreviewParamsSubscriptionDetailsItemDiscountri  @  r  rD   rj  c                   l    e Zd ZU eed<   	 eed<   	 ded<   	 eed      ed<   	 ee   ed<   	 ee   ed<   y	)
ra  r  r  DInvoice.CreatePreviewParamsSubscriptionDetailsItemPriceDataRecurringr  r  r  r  r  Nr  rC   rD   rE   3CreatePreviewParamsSubscriptionDetailsItemPriceDataz;Invoice.CreatePreviewParamsSubscriptionDetailsItemPriceDataN  g    	 	 ZY	 ";<
 	
	 !%%	 )--	rD   rm  c                   0    e Zd ZU ed   ed<   	 ee   ed<   y)rl  rE  r<  rG  NrH  rC   rD   rE   <CreatePreviewParamsSubscriptionDetailsItemPriceDataRecurringzDInvoice.CreatePreviewParamsSubscriptionDetailsItemPriceDataRecurringj  rJ  rD   rp  c                       e Zd Zy)Invoice.DeleteParamsNr  rC   rD   rE   DeleteParamsrr  v  rQ  rD   rs  c                   6    e Zd ZU ee   ed<   	 eee      ed<   y)Invoice.FinalizeInvoiceParamsr  r  N)r?   r@   rA   r   rP   rB   r   rX   rC   rD   rE   FinalizeInvoiceParamsru  y  s(    !$''	 DI&&	rD   rv  c                   Z    e Zd ZU ee   ed<   	 eee      ed<   	 ee   ed<   	 ee   ed<   y)Invoice.ListLinesParamsending_beforer  limitstarting_afterN)r?   r@   rA   r   rX   rB   r   r3  rC   rD   rE   ListLinesParamsrx    sL    "3''	 DI&&	 3	 $C((	rD   r|  c                       e Zd ZU eed      ed<   	 ed   ed<   	 ee   ed<   	 ed   ed<   ee   ed<   	 eee      ed	<   	 ee   ed
<   	 ee   ed<   	 eed      ed<   	 ee   ed<   y)Invoice.ListParamsr  r  zInvoice.ListParamsCreated|intcreatedr  zInvoice.ListParamsDueDate|intr  ry  r  rz  r{  draftopenpaiduncollectiblevoidrO   r  N)	r?   r@   rA   r   r   rB   rX   r   r3  rC   rD   rE   
ListParamsr~    s    &:;
 	
	 <==	 c""	 =>>"3''	 DI&&	 3	 $C((	 DE
 	
	 "#&&	rD   r  c                   T    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   y)Invoice.ListParamsCreatedgtgteltlteNr?   r@   rA   r   r3  rB   rC   rD   rE   ListParamsCreatedr    H    	 	 	 	rD   r  c                   T    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   y)Invoice.ListParamsDueDater  r  r  r  Nr  rC   rD   rE   ListParamsDueDater    r  rD   r  c                   $    e Zd ZU eee      ed<   y)Invoice.MarkUncollectibleParamsr  Nr  rC   rD   rE   MarkUncollectibleParamsr        DI&&	rD   r  c                      e Zd ZU ed   ed<   	 ee   ed<   	 ee   ed<   	 ed   ed<   	 ee   ed<   	 eed      ed	<   	 ed
   ed<   	 ee   ed<   	 ee   ed<   	 ed   ed<   	 ed   ed<   	 ee   ed<   	 ed   ed<   	 ee   ed<   	 ed   ed<   	 ee	e      ed<   	 ee   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed <   	 ed!   ed"<   	 ed#   ed$<   	 ed%   ed&<   	 ee   ed'<   	 ed(   ed)<   y*)+Invoice.ModifyParamsr  r  r  r   Invoice.ModifyParamsAutomaticTaxr  r  r  r  z1Literal['']|List[Invoice.ModifyParamsCustomField]r  r  r  r  r  r  r  z.Literal['']|List[Invoice.ModifyParamsDiscount]r  r  rf  r  r  r  Invoice.ModifyParamsIssuerr  r  rb  r  r  #Invoice.ModifyParamsPaymentSettingsr  Invoice.ModifyParamsRenderingr  z,Literal['']|Invoice.ModifyParamsShippingCostr  z/Literal['']|Invoice.ModifyParamsShippingDetailsr  r  z,Literal['']|Invoice.ModifyParamsTransferDatar  Nr  rC   rD   rE   ModifyParamsr    s   $%<==	 !,C 00	 "$''	 ##EFF	 %0$44	 ':;
 	
	 #?
 	
	 $C((	 !,C 00	 $$566	 ''>??	 !%%	 <
 	
	 c""	 ""344	 DI&&	 C  	 899	 :;;	 -..	 ""344	 &&KLL	 >??	 #:
 	
	 &=
 	
	 *#..	 #:
 	
	rD   r  c                   *    e Zd ZU eed<   	 ed   ed<   y)r  rJ   )Invoice.ModifyParamsAutomaticTaxLiabilityrK   Nr  rC   rD   rE   ModifyParamsAutomaticTaxz Invoice.ModifyParamsAutomaticTaxd  r  rD   r  c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)r  r:   r;   r=   Nr  rC   rD   rE   !ModifyParamsAutomaticTaxLiabilityz)Invoice.ModifyParamsAutomaticTaxLiabilityn  r	  rD   r  c                   $    e Zd ZU eed<   	 eed<   y)Invoice.ModifyParamsCustomFieldrU   rV   NrW   rC   rD   rE   ModifyParamsCustomFieldr  x  rZ   rD   r  c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y)Invoice.ModifyParamsDiscountr  rp  r  Nr  rC   rD   rE   ModifyParamsDiscountr    r  rD   r  c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)r  r:   r;   r=   Nr  rC   rD   rE   ModifyParamsIssuerzInvoice.ModifyParamsIssuer  r	  rD   r  c                   B    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   y)r  r  r  7Invoice.ModifyParamsPaymentSettingsPaymentMethodOptionsr  r  r#  Nr  rC   rD   rE   ModifyParamsPaymentSettingsz#Invoice.ModifyParamsPaymentSettings  r  rD   r  c                       e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed	   ed
<   	 ed   ed<   	 ed   ed<   y)r  zLLiteral['']|Invoice.ModifyParamsPaymentSettingsPaymentMethodOptionsAcssDebitr  zMLiteral['']|Invoice.ModifyParamsPaymentSettingsPaymentMethodOptionsBancontactr  zGLiteral['']|Invoice.ModifyParamsPaymentSettingsPaymentMethodOptionsCardr  zRLiteral['']|Invoice.ModifyParamsPaymentSettingsPaymentMethodOptionsCustomerBalancer   zJLiteral['']|Invoice.ModifyParamsPaymentSettingsPaymentMethodOptionsKonbinir  zLLiteral['']|Invoice.ModifyParamsPaymentSettingsPaymentMethodOptionsSepaDebitr  zPLiteral['']|Invoice.ModifyParamsPaymentSettingsPaymentMethodOptionsUsBankAccountr  Nr  rC   rD   rE   /ModifyParamsPaymentSettingsPaymentMethodOptionsz7Invoice.ModifyParamsPaymentSettingsPaymentMethodOptions  r  rD   r  c                   6    e Zd ZU ed   ed<   	 eed      ed<   y)@Invoice.ModifyParamsPaymentSettingsPaymentMethodOptionsAcssDebitNInvoice.ModifyParamsPaymentSettingsPaymentMethodOptionsAcssDebitMandateOptionsr  r  r  Nr#  rC   rD   rE   8ModifyParamsPaymentSettingsPaymentMethodOptionsAcssDebitr    r%  rD   r  c                   $    e Zd ZU eed      ed<   y)r  r  r  Nr'  rC   rD   rE   FModifyParamsPaymentSettingsPaymentMethodOptionsAcssDebitMandateOptionszNInvoice.ModifyParamsPaymentSettingsPaymentMethodOptionsAcssDebitMandateOptions  r)  rD   r  c                   $    e Zd ZU eed      ed<   y)AInvoice.ModifyParamsPaymentSettingsPaymentMethodOptionsBancontactr  r  Nr'  rC   rD   rE   9ModifyParamsPaymentSettingsPaymentMethodOptionsBancontactr    r-  rD   r  c                   6    e Zd ZU ed   ed<   	 eed      ed<   y);Invoice.ModifyParamsPaymentSettingsPaymentMethodOptionsCardGInvoice.ModifyParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsr  r  r  Nr#  rC   rD   rE   3ModifyParamsPaymentSettingsPaymentMethodOptionsCardr    r2  rD   r  c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)r  rJ   zWLiteral['']|Invoice.ModifyParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlanr4  Nr5  rC   rD   rE   ?ModifyParamsPaymentSettingsPaymentMethodOptionsCardInstallmentszGInvoice.ModifyParamsPaymentSettingsPaymentMethodOptionsCardInstallments  r7  rD   r  c                   H    e Zd ZU ee   ed<   	 eed      ed<   	 ed   ed<   y)KInvoice.ModifyParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlanr:  r;  r<  r=  r=   Nr>  rC   rD   rE   CModifyParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlanr    r@  rD   r  c                   0    e Zd ZU ed   ed<   	 ee   ed<   y)FInvoice.ModifyParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceRInvoice.ModifyParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferr  r  NrD  rC   rD   rE   >ModifyParamsPaymentSettingsPaymentMethodOptionsCustomerBalancer  $  rF  rD   r  c                   0    e Zd ZU ed   ed<   	 ee   ed<   y)r  `Invoice.ModifyParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferr  r=   NrD  rC   rD   rE   JModifyParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferzRInvoice.ModifyParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransfer2  rJ  rD   r  c                       e Zd ZU eed<   y)r  r^   NrW   rC   rD   rE   XModifyParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferz`Invoice.ModifyParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer@  rM  rD   r  c                       e Zd Zy)>Invoice.ModifyParamsPaymentSettingsPaymentMethodOptionsKonbiniNr  rC   rD   rE   6ModifyParamsPaymentSettingsPaymentMethodOptionsKonbinir  H  rQ  rD   r  c                       e Zd Zy)@Invoice.ModifyParamsPaymentSettingsPaymentMethodOptionsSepaDebitNr  rC   rD   rE   8ModifyParamsPaymentSettingsPaymentMethodOptionsSepaDebitr  K  rQ  rD   r  c                   6    e Zd ZU ed   ed<   	 eed      ed<   y)DInvoice.ModifyParamsPaymentSettingsPaymentMethodOptionsUsBankAccountXInvoice.ModifyParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsr  r  r  Nr#  rC   rD   rE   <ModifyParamsPaymentSettingsPaymentMethodOptionsUsBankAccountr  N  rY  rD   r  c                   Z    e Zd ZU ed   ed<   	 eeed         ed<   	 eeed         ed<   y)r  _Invoice.ModifyParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFiltersr  r  r  r  r  Nr\  rC   rD   rE   PModifyParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionszXInvoice.ModifyParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections^  r^  rD   r  c                   *    e Zd ZU eeed         ed<   y)r  r  r  Nr`  rC   rD   rE   WModifyParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFiltersz_Invoice.ModifyParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFiltersx  rb  rD   r  c                   T    e Zd ZU ed   ed<   	 ed   ed<   	 ee   ed<   	 ed   ed<   y)	r  rd  r/   Invoice.ModifyParamsRenderingPdfr0  r1  rf  r2  NrD  rC   rD   rE   ModifyParamsRenderingzInvoice.ModifyParamsRendering  rh  rD   r  c                   $    e Zd ZU eed      ed<   y)r  r)  r-  Nr'  rC   rD   rE   ModifyParamsRenderingPdfz Invoice.ModifyParamsRenderingPdf  rk  rD   r  c                   0    e Zd ZU ee   ed<   	 ed   ed<   y) Invoice.ModifyParamsShippingCostrQ  0Invoice.ModifyParamsShippingCostShippingRateDatarn  Nr  rC   rD   rE   ModifyParamsShippingCostr    rp  rD   r  c                       e Zd ZU ed   ed<   	 eed<   	 ed   ed<   	 eeeef      ed<   	 eed      ed<   	 ee   ed	<   	 eed      ed
<   y)r  @Invoice.ModifyParamsShippingCostShippingRateDataDeliveryEstimaters  r  ;Invoice.ModifyParamsShippingCostShippingRateDataFixedAmountru  rb  r  r  r  r=   Nrv  rC   rD   rE   (ModifyParamsShippingCostShippingRateDataz0Invoice.ModifyParamsShippingCostShippingRateData  rx  rD   r  c                   0    e Zd ZU ed   ed<   	 ed   ed<   y)r  GInvoice.ModifyParamsShippingCostShippingRateDataDeliveryEstimateMaximumr{  GInvoice.ModifyParamsShippingCostShippingRateDataDeliveryEstimateMinimumr}  Nr  rC   rD   rE   8ModifyParamsShippingCostShippingRateDataDeliveryEstimatez@Invoice.ModifyParamsShippingCostShippingRateDataDeliveryEstimate  r  rD   r  c                   *    e Zd ZU ed   ed<   	 eed<   y)r  r  r  rV   Nr  rC   rD   rE   ?ModifyParamsShippingCostShippingRateDataDeliveryEstimateMaximumzGInvoice.ModifyParamsShippingCostShippingRateDataDeliveryEstimateMaximum  r  rD   r  c                   *    e Zd ZU ed   ed<   	 eed<   y)r  r  r  rV   Nr  rC   rD   rE   ?ModifyParamsShippingCostShippingRateDataDeliveryEstimateMinimumzGInvoice.ModifyParamsShippingCostShippingRateDataDeliveryEstimateMinimum  r  rD   r  c                   @    e Zd ZU eed<   	 eed<   	 eeedf      ed<   y)r  r9  r  JInvoice.ModifyParamsShippingCostShippingRateDataFixedAmountCurrencyOptionsr  Nr  rC   rD   rE   3ModifyParamsShippingCostShippingRateDataFixedAmountz;Invoice.ModifyParamsShippingCostShippingRateDataFixedAmount  r  rD   r  c                   0    e Zd ZU eed<   	 eed      ed<   y)r  r9  r  r  Nr  rC   rD   rE   BModifyParamsShippingCostShippingRateDataFixedAmountCurrencyOptionszJInvoice.ModifyParamsShippingCostShippingRateDataFixedAmountCurrencyOptions  r  rD   r  c                   6    e Zd ZU ded<   	 eed<   	 ed   ed<   y)#Invoice.ModifyParamsShippingDetails*Invoice.ModifyParamsShippingDetailsAddressrk   rU   r  rm   Nr  rC   rD   rE   ModifyParamsShippingDetailsr    r  rD   r  c                   x    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<   y)r  r]   r^   r_   r`   ra   rb   Nr  rC   rD   rE   "ModifyParamsShippingDetailsAddressz*Invoice.ModifyParamsShippingDetailsAddress#  r  rD   r  c                   *    e Zd ZU ee   ed<   	 eed<   y) Invoice.ModifyParamsTransferDatar9  r}  Nr  rC   rD   rE   ModifyParamsTransferDatar  =  r  rD   r  c                       e Zd ZU eee      ed<   	 ee   ed<   	 ed   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   y	)
Invoice.PayParamsr  forgiver  mandateoff_sessionpaid_out_of_bandr  r  N)r?   r@   rA   r   r   rX   rB   rP   rC   rD   rE   	PayParamsr  G  s    DI&&	 T""	
 .//	 !&&	 &d++	 $C((	 C  	rD   r  c                   H    e Zd ZU eee      ed<   	 ed   ed<   	 ed   ed<   y)Invoice.RemoveLinesParamsr  r  r  Invoice.RemoveLinesParamsLiner  Nr  rC   rD   rE   RemoveLinesParamsr  g  <    DI&&	 &&BCC	 344	rD   r  c                   *    e Zd ZU ed   ed<   	 eed<   y)r  )deleteunassignbehaviorr`  Nr  rC   rD   rE   RemoveLinesParamsLinezInvoice.RemoveLinesParamsLineu  s    .//	 	rD   r  c                   $    e Zd ZU eee      ed<   y)Invoice.RetrieveParamsr  Nr  rC   rD   rE   RetrieveParamsr    r  rD   r  c                   T    e Zd ZU eee      ed<   	 ee   ed<   	 ee   ed<   	 eed<   y)Invoice.SearchParamsr  rz  pagequeryN)r?   r@   rA   r   r   rX   rB   r3  rC   rD   rE   SearchParamsr    sF    DI&&	 3	 #	 
	rD   r  c                   $    e Zd ZU eee      ed<   y)Invoice.SendInvoiceParamsr  Nr  rC   rD   rE   SendInvoiceParamsr    r  rD   r  c                   L   e Zd ZU ed   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      ed<   	 eed      ed<   	 ed   ed<   	 ee   ed<   	 ed   ed<   	 eed      ed<   	 ee   ed<   	 ed   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d"   ed#<   	 eed$      ed%<   	 eed&      ed'<   	 ee   ed(<   	 eed)      ed*<   	 ee   ed+<   	 ed,   ed-<   	 ee	   ed.<   y/)0Invoice.UpcomingLinesParams'Invoice.UpcomingLinesParamsAutomaticTaxr  r  r  r  *Invoice.UpcomingLinesParamsCustomerDetailsr  z5Literal['']|List[Invoice.UpcomingLinesParamsDiscount]r  ry  r  &Invoice.UpcomingLinesParamsInvoiceItemr  !Invoice.UpcomingLinesParamsIssuerr  rz  r  r  r  r  r  *Invoice.UpcomingLinesParamsScheduleDetailsr  r{  r  rQ  !subscription_billing_cycle_anchorrf  subscription_cancel_at!subscription_cancel_at_period_endsubscription_cancel_nowr  subscription_default_tax_rates.Invoice.UpcomingLinesParamsSubscriptionDetailsr  +Invoice.UpcomingLinesParamsSubscriptionItemsubscription_itemsr  subscription_proration_behaviorsubscription_proration_daterW  subscription_resume_atsubscription_start_daterY  subscription_trial_endsubscription_trial_from_planN)
r?   r@   rA   r   rB   rX   r   r3  r   rP   rC   rD   rE   UpcomingLinesParamsr    sj   "#LMM	 C  	 c""	 c""	 &8
 	
	 C
 	
	 #3''	 DI&&	 #9:
 	
	 ?@@	 3	 ""344	 "'*=">??	 c""	 &8
 	
	 $C((	 "#&&	 ,7-,
 	
	 !,,= >>	 ,7t+<<	 "-T!22	 )44K(LL	 *<
 	
	 (>?
 	
	 *5AB*
 	
	 &1%55	 !,GEN ;;	 "-S!11	 !,,@ AA	 '2$&77	rD   r.  c                   *    e Zd ZU eed<   	 ed   ed<   y)r  rJ   0Invoice.UpcomingLinesParamsAutomaticTaxLiabilityrK   Nr  rC   rD   rE   UpcomingLinesParamsAutomaticTaxz'Invoice.UpcomingLinesParamsAutomaticTax'  r  rD   r1  c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)r0  r:   r;   r=   Nr  rC   rD   rE   (UpcomingLinesParamsAutomaticTaxLiabilityz0Invoice.UpcomingLinesParamsAutomaticTaxLiability3  r	  rD   r3  c                   l    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 eed	      ed
<   y)r  z=Literal['']|Invoice.UpcomingLinesParamsCustomerDetailsAddressrk   z>Literal['']|Invoice.UpcomingLinesParamsCustomerDetailsShippingr  -Invoice.UpcomingLinesParamsCustomerDetailsTaxr  r  r  /Invoice.UpcomingLinesParamsCustomerDetailsTaxIdr  Nr  rC   rD   rE   "UpcomingLinesParamsCustomerDetailsz*Invoice.UpcomingLinesParamsCustomerDetails=  r  rD   r7  c                   x    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<   y)1Invoice.UpcomingLinesParamsCustomerDetailsAddressr]   r^   r_   r`   ra   rb   Nr  rC   rD   rE   )UpcomingLinesParamsCustomerDetailsAddressr9  [  r  rD   r:  c                   6    e Zd ZU ded<   	 eed<   	 ee   ed<   y)2Invoice.UpcomingLinesParamsCustomerDetailsShipping9Invoice.UpcomingLinesParamsCustomerDetailsShippingAddressrk   rU   rm   Nr  rC   rD   rE   *UpcomingLinesParamsCustomerDetailsShippingr<  u  r  rD   r>  c                   x    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<   y)r=  r]   r^   r_   r`   ra   rb   Nr  rC   rD   rE   1UpcomingLinesParamsCustomerDetailsShippingAddressz9Invoice.UpcomingLinesParamsCustomerDetailsShippingAddress  r  rD   r@  c                       e Zd ZU ed   ed<   y)r5  r  r  Nr  rC   rD   rE   %UpcomingLinesParamsCustomerDetailsTaxz-Invoice.UpcomingLinesParamsCustomerDetailsTax  r  rD   rB  c                   *    e Zd ZU ed   ed<   	 eed<   y)r6  r  r=   rV   Nr  rC   rD   rE   'UpcomingLinesParamsCustomerDetailsTaxIdz/Invoice.UpcomingLinesParamsCustomerDetailsTaxId  r  rD   rD  c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y)#Invoice.UpcomingLinesParamsDiscountr  rp  r  Nr  rC   rD   rE   UpcomingLinesParamsDiscountrF    r  rD   rG  c                   2   e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ed   ed<   	 ee   ed<   	 ed   ed	<   	 ed
   ed<   	 ee   ed<   	 ed   ed<   	 ee   ed<   	 eed      ed<   	 ed   ed<   	 ed   ed<   	 ee   ed<   	 ee   ed<   y)r  r9  r  r  r  z@Literal['']|List[Invoice.UpcomingLinesParamsInvoiceItemDiscount]r  r  r  rb  ,Invoice.UpcomingLinesParamsInvoiceItemPeriodr  r  /Invoice.UpcomingLinesParamsInvoiceItemPriceDatar  r  r  r  r  r  r  r  r  r  Nr  rC   rD   rE   UpcomingLinesParamsInvoiceItemz&Invoice.UpcomingLinesParamsInvoiceItem   r  rD   rK  c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y).Invoice.UpcomingLinesParamsInvoiceItemDiscountr  rp  r  Nr  rC   rD   rE   &UpcomingLinesParamsInvoiceItemDiscountrM  h  r  rD   rN  c                   $    e Zd ZU eed<   	 eed<   y)rI  r  r  Nr  rC   rD   rE   $UpcomingLinesParamsInvoiceItemPeriodz,Invoice.UpcomingLinesParamsInvoiceItemPeriodv  r  rD   rP  c                   `    e Zd ZU eed<   	 eed<   	 eed      ed<   	 ee   ed<   	 ee   ed<   y)rJ  r  r  r  r  r  r  Nr  rC   rD   rE   'UpcomingLinesParamsInvoiceItemPriceDataz/Invoice.UpcomingLinesParamsInvoiceItemPriceData  r  rD   rR  c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)r  r:   r;   r=   Nr  rC   rD   rE   UpcomingLinesParamsIssuerz!Invoice.UpcomingLinesParamsIssuer  r	  rD   rT  c                   T    e Zd ZU eed      ed<   	 eed      ed<   	 eed      ed<   y)r  r  r  /Invoice.UpcomingLinesParamsScheduleDetailsPhaser  r  r  Nr  rC   rD   rE   "UpcomingLinesParamsScheduleDetailsz*Invoice.UpcomingLinesParamsScheduleDetails  r  rD   rW  c                      e Zd ZU eed      ed<   	 ee   ed<   	 ed   ed<   	 eed      ed<   	 ed   ed	<   	 eed
      ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ee	   ed<   	 ee
eef      ed<   	 ee   ed<   	 eed      ed<   	 ed   ed <   	 ed!   ed"<   	 ee   ed#<   	 ed   ed$<   y%)&rV  =Invoice.UpcomingLinesParamsScheduleDetailsPhaseAddInvoiceItemr  r  ;Invoice.UpcomingLinesParamsScheduleDetailsPhaseAutomaticTaxr  r  r  zLLiteral['']|Invoice.UpcomingLinesParamsScheduleDetailsPhaseBillingThresholdsr  r  r  r  r  r  r  r  r  r  zILiteral['']|List[Invoice.UpcomingLinesParamsScheduleDetailsPhaseDiscount]r  r  r  >Invoice.UpcomingLinesParamsScheduleDetailsPhaseInvoiceSettingsr  3Invoice.UpcomingLinesParamsScheduleDetailsPhaseItemr  r	  rb  r  r  r  r
  ;Invoice.UpcomingLinesParamsScheduleDetailsPhaseTransferDatar  r  r  Nr  rC   rD   rE   'UpcomingLinesParamsScheduleDetailsPhasez/Invoice.UpcomingLinesParamsScheduleDetailsPhase  r  rD   r^  c                   l    e Zd ZU eed      ed<   	 ee   ed<   	 ed   ed<   	 ee   ed<   	 ed   ed<   y	)
rY  EInvoice.UpcomingLinesParamsScheduleDetailsPhaseAddInvoiceItemDiscountr  r  FInvoice.UpcomingLinesParamsScheduleDetailsPhaseAddInvoiceItemPriceDatar  r  r  r  Nr  rC   rD   rE   5UpcomingLinesParamsScheduleDetailsPhaseAddInvoiceItemz=Invoice.UpcomingLinesParamsScheduleDetailsPhaseAddInvoiceItem$  r  rD   rb  c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y)r`  r  rp  r  Nr  rC   rD   rE   =UpcomingLinesParamsScheduleDetailsPhaseAddInvoiceItemDiscountzEInvoice.UpcomingLinesParamsScheduleDetailsPhaseAddInvoiceItemDiscount@  r  rD   rd  c                   `    e Zd ZU eed<   	 eed<   	 eed      ed<   	 ee   ed<   	 ee   ed<   y)ra  r  r  r  r  r  r  Nr  rC   rD   rE   >UpcomingLinesParamsScheduleDetailsPhaseAddInvoiceItemPriceDatazFInvoice.UpcomingLinesParamsScheduleDetailsPhaseAddInvoiceItemPriceDataP  r  rD   rf  c                   *    e Zd ZU eed<   	 ed   ed<   y)rZ  rJ   DInvoice.UpcomingLinesParamsScheduleDetailsPhaseAutomaticTaxLiabilityrK   Nr  rC   rD   rE   3UpcomingLinesParamsScheduleDetailsPhaseAutomaticTaxz;Invoice.UpcomingLinesParamsScheduleDetailsPhaseAutomaticTaxj  r   rD   ri  c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)rh  r:   r;   r=   Nr  rC   rD   rE   <UpcomingLinesParamsScheduleDetailsPhaseAutomaticTaxLiabilityzDInvoice.UpcomingLinesParamsScheduleDetailsPhaseAutomaticTaxLiabilityv  r#  rD   rk  c                   0    e Zd ZU ee   ed<   	 ee   ed<   y)@Invoice.UpcomingLinesParamsScheduleDetailsPhaseBillingThresholdsrk  r&  Nr'  rC   rD   rE   8UpcomingLinesParamsScheduleDetailsPhaseBillingThresholdsrm    r)  rD   rn  c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y)7Invoice.UpcomingLinesParamsScheduleDetailsPhaseDiscountr  rp  r  Nr  rC   rD   rE   /UpcomingLinesParamsScheduleDetailsPhaseDiscountrp    r  rD   rq  c                   B    e Zd ZU ed   ed<   	 ee   ed<   	 ed   ed<   y)r[  r  r  r  DInvoice.UpcomingLinesParamsScheduleDetailsPhaseInvoiceSettingsIssuerr  Nr/  rC   rD   rE   6UpcomingLinesParamsScheduleDetailsPhaseInvoiceSettingsz>Invoice.UpcomingLinesParamsScheduleDetailsPhaseInvoiceSettings  r1  rD   rt  c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)rs  r:   r;   r=   Nr  rC   rD   rE   <UpcomingLinesParamsScheduleDetailsPhaseInvoiceSettingsIssuerzDInvoice.UpcomingLinesParamsScheduleDetailsPhaseInvoiceSettingsIssuer  r#  rD   rv  c                       e Zd ZU ed   ed<   	 ed   ed<   	 eeeef      ed<   	 ee   ed<   	 ee   ed<   	 ed   ed	<   	 ee   ed
<   	 ed   ed<   y)r\  zPLiteral['']|Invoice.UpcomingLinesParamsScheduleDetailsPhaseItemBillingThresholdsr  zMLiteral['']|List[Invoice.UpcomingLinesParamsScheduleDetailsPhaseItemDiscount]r  rb  r4  r  <Invoice.UpcomingLinesParamsScheduleDetailsPhaseItemPriceDatar  r  r  r  Nr6  rC   rD   rE   +UpcomingLinesParamsScheduleDetailsPhaseItemz3Invoice.UpcomingLinesParamsScheduleDetailsPhaseItem  r8  rD   ry  c                       e Zd ZU eed<   y)DInvoice.UpcomingLinesParamsScheduleDetailsPhaseItemBillingThresholdsri  Nr  rC   rD   rE   <UpcomingLinesParamsScheduleDetailsPhaseItemBillingThresholdsr{    r<  rD   r|  c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y);Invoice.UpcomingLinesParamsScheduleDetailsPhaseItemDiscountr  rp  r  Nr  rC   rD   rE   3UpcomingLinesParamsScheduleDetailsPhaseItemDiscountr~    r  rD   r  c                   l    e Zd ZU eed<   	 eed<   	 ded<   	 eed      ed<   	 ee   ed<   	 ee   ed<   y	)
rx  r  r  EInvoice.UpcomingLinesParamsScheduleDetailsPhaseItemPriceDataRecurringr  r  r  r  r  Nr  rC   rD   rE   4UpcomingLinesParamsScheduleDetailsPhaseItemPriceDataz<Invoice.UpcomingLinesParamsScheduleDetailsPhaseItemPriceData  rC  rD   r  c                   0    e Zd ZU ed   ed<   	 ee   ed<   y)r  rE  r<  rG  NrH  rC   rD   rE   =UpcomingLinesParamsScheduleDetailsPhaseItemPriceDataRecurringzEInvoice.UpcomingLinesParamsScheduleDetailsPhaseItemPriceDataRecurring  rJ  rD   r  c                   *    e Zd ZU ee   ed<   	 eed<   y)r]  rL  r}  NrM  rC   rD   rE   3UpcomingLinesParamsScheduleDetailsPhaseTransferDataz;Invoice.UpcomingLinesParamsScheduleDetailsPhaseTransferData  rO  rD   r  c                       e Zd ZU 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ed      ed<   	 ee   ed<   	 eed      ed<   	 ee   ed<   	 ed   ed<   y)r%  rQ  r  rf  rR  rS  rT  r  r  2Invoice.UpcomingLinesParamsSubscriptionDetailsItemr  r  r  rV  rW  rX  r
  rY  r  NrZ  rC   rD   rE   &UpcomingLinesParamsSubscriptionDetailsz.Invoice.UpcomingLinesParamsSubscriptionDetails&  r\  rD   r  c                       e Zd ZU ed   ed<   	 ee   ed<   	 ee   ed<   	 ed   ed<   	 ee   ed<   	 ed   ed	<   	 ee   ed
<   	 ee   ed<   	 ed   ed<   	 ee   ed<   	 ed   ed<   y)r  zOLiteral['']|Invoice.UpcomingLinesParamsSubscriptionDetailsItemBillingThresholdsr  r^  r_  zLLiteral['']|List[Invoice.UpcomingLinesParamsSubscriptionDetailsItemDiscount]r  r`  r  rb  r4  r  ;Invoice.UpcomingLinesParamsSubscriptionDetailsItemPriceDatar  r  r  r  Nrb  rC   rD   rE   *UpcomingLinesParamsSubscriptionDetailsItemz2Invoice.UpcomingLinesParamsSubscriptionDetailsItemX  rd  rD   r  c                       e Zd ZU eed<   y)CInvoice.UpcomingLinesParamsSubscriptionDetailsItemBillingThresholdsri  Nr  rC   rD   rE   ;UpcomingLinesParamsSubscriptionDetailsItemBillingThresholdsr    r<  rD   r  c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y):Invoice.UpcomingLinesParamsSubscriptionDetailsItemDiscountr  rp  r  Nr  rC   rD   rE   2UpcomingLinesParamsSubscriptionDetailsItemDiscountr    r  rD   r  c                   l    e Zd ZU eed<   	 eed<   	 ded<   	 eed      ed<   	 ee   ed<   	 ee   ed<   y	)
r  r  r  DInvoice.UpcomingLinesParamsSubscriptionDetailsItemPriceDataRecurringr  r  r  r  r  Nr  rC   rD   rE   3UpcomingLinesParamsSubscriptionDetailsItemPriceDataz;Invoice.UpcomingLinesParamsSubscriptionDetailsItemPriceData  rn  rD   r  c                   0    e Zd ZU ed   ed<   	 ee   ed<   y)r  rE  r<  rG  NrH  rC   rD   rE   <UpcomingLinesParamsSubscriptionDetailsItemPriceDataRecurringzDInvoice.UpcomingLinesParamsSubscriptionDetailsItemPriceDataRecurring  rJ  rD   r  c                       e Zd ZU ed   ed<   	 ee   ed<   	 ee   ed<   	 ed   ed<   	 ee   ed<   	 ed   ed	<   	 ee   ed
<   	 ee   ed<   	 ed   ed<   	 ee   ed<   	 ed   ed<   y)r&  zHLiteral['']|Invoice.UpcomingLinesParamsSubscriptionItemBillingThresholdsr  r^  r_  zELiteral['']|List[Invoice.UpcomingLinesParamsSubscriptionItemDiscount]r  r`  r  rb  r4  r  4Invoice.UpcomingLinesParamsSubscriptionItemPriceDatar  r  r  r  Nrb  rC   rD   rE   #UpcomingLinesParamsSubscriptionItemz+Invoice.UpcomingLinesParamsSubscriptionItem  s    'V
 	
	 !&&	 T""	 S
 	
	 	 :;;	 #	 3	  B
 	
	 c""	 677	rD   r  c                       e Zd ZU eed<   y)<Invoice.UpcomingLinesParamsSubscriptionItemBillingThresholdsri  Nr  rC   rD   rE   4UpcomingLinesParamsSubscriptionItemBillingThresholdsr        	rD   r  c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y)3Invoice.UpcomingLinesParamsSubscriptionItemDiscountr  rp  r  Nr  rC   rD   rE   +UpcomingLinesParamsSubscriptionItemDiscountr    r  rD   r  c                   l    e Zd ZU eed<   	 eed<   	 ded<   	 eed      ed<   	 ee   ed<   	 ee   ed<   y	)
r  r  r  =Invoice.UpcomingLinesParamsSubscriptionItemPriceDataRecurringr  r  r  r  r  Nr  rC   rD   rE   ,UpcomingLinesParamsSubscriptionItemPriceDataz4Invoice.UpcomingLinesParamsSubscriptionItemPriceData  si    	 	 L	
	 ";<
 	
	 !%%	 )--	rD   r  c                   0    e Zd ZU ed   ed<   	 ee   ed<   y)r  rE  r<  rG  NrH  rC   rD   rE   5UpcomingLinesParamsSubscriptionItemPriceDataRecurringz=Invoice.UpcomingLinesParamsSubscriptionItemPriceDataRecurring0  %    899	 $C((	rD   r  c                      e Zd ZU ed   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      ed
<   	 eed      ed<   	 ed   ed<   	 ed   ed<   	 eed      ed<   	 ee   ed<   	 ed   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d   ed <   	 eed!      ed"<   	 eed#      ed$<   	 ee	   ed%<   	 eed&      ed'<   	 ee	   ed(<   	 ed)   ed*<   	 ee   ed+<   y,)-Invoice.UpcomingParams"Invoice.UpcomingParamsAutomaticTaxr  r  r  r  %Invoice.UpcomingParamsCustomerDetailsr  z0Literal['']|List[Invoice.UpcomingParamsDiscount]r  r  !Invoice.UpcomingParamsInvoiceItemr  Invoice.UpcomingParamsIssuerr  r  r  r  r  r  %Invoice.UpcomingParamsScheduleDetailsr  r  rQ  r   rf  r!  r"  r#  r  r$  )Invoice.UpcomingParamsSubscriptionDetailsr  &Invoice.UpcomingParamsSubscriptionItemr'  r  r(  r)  rW  r*  r+  rY  r,  r-  N)
r?   r@   rA   r   rB   rX   r   r   rP   r3  rC   rD   rE   UpcomingParamsr  :  s'   "#GHH	 C  	 c""	 c""	 &&MNN	 >
 	
	 DI&&	 #4(K#LMM	 :;;	 ""344	 "'*=">??	 c""	 &&MNN	 "#&&	 ,7-,
 	
	 !,,= >>	 ,7t+<<	 "-T!22	 )44K(LL	 *7
 	
	 (9:
 	
	 *5AB*
 	
	 &1%55	 !,GEN ;;	 "-S!11	 !,,@ AA	 '2$&77	rD   r  c                   *    e Zd ZU eed<   	 ed   ed<   y)r  rJ   +Invoice.UpcomingParamsAutomaticTaxLiabilityrK   Nr  rC   rD   rE   UpcomingParamsAutomaticTaxz"Invoice.UpcomingParamsAutomaticTax  s    	 LMM	rD   r  c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)r  r:   r;   r=   Nr  rC   rD   rE   #UpcomingParamsAutomaticTaxLiabilityz+Invoice.UpcomingParamsAutomaticTaxLiability  r	  rD   r  c                   l    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 eed	      ed
<   y)r  z8Literal['']|Invoice.UpcomingParamsCustomerDetailsAddressrk   z9Literal['']|Invoice.UpcomingParamsCustomerDetailsShippingr  (Invoice.UpcomingParamsCustomerDetailsTaxr  r  r  *Invoice.UpcomingParamsCustomerDetailsTaxIdr  Nr  rC   rD   rE   UpcomingParamsCustomerDetailsz%Invoice.UpcomingParamsCustomerDetails  su    F
 	
	 G
 	
	 CDD	  >
 	
	 =>
 	
	rD   r  c                   x    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<   y),Invoice.UpcomingParamsCustomerDetailsAddressr]   r^   r_   r`   ra   rb   Nr  rC   rD   rE   $UpcomingParamsCustomerDetailsAddressr    r  rD   r  c                   6    e Zd ZU ded<   	 eed<   	 ee   ed<   y)-Invoice.UpcomingParamsCustomerDetailsShipping4Invoice.UpcomingParamsCustomerDetailsShippingAddressrk   rU   rm   Nr  rC   rD   rE   %UpcomingParamsCustomerDetailsShippingr    s+    GG	 		 3	rD   r  c                   x    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<   y)r  r]   r^   r_   r`   ra   rb   Nr  rC   rD   rE   ,UpcomingParamsCustomerDetailsShippingAddressz4Invoice.UpcomingParamsCustomerDetailsShippingAddress  r  rD   r  c                       e Zd ZU ed   ed<   y)r  r  r  Nr  rC   rD   rE    UpcomingParamsCustomerDetailsTaxz(Invoice.UpcomingParamsCustomerDetailsTax&  r  rD   r  c                   *    e Zd ZU ed   ed<   	 eed<   y)r  r  r=   rV   Nr  rC   rD   rE   "UpcomingParamsCustomerDetailsTaxIdz*Invoice.UpcomingParamsCustomerDetailsTaxId,  r  rD   r  c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y)Invoice.UpcomingParamsDiscountr  rp  r  Nr  rC   rD   rE   UpcomingParamsDiscountr    r  rD   r  c                   2   e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ed   ed<   	 ee   ed<   	 ed   ed	<   	 ed
   ed<   	 ee   ed<   	 ed   ed<   	 ee   ed<   	 eed      ed<   	 ed   ed<   	 ed   ed<   	 ee   ed<   	 ee   ed<   y)r  r9  r  r  r  z;Literal['']|List[Invoice.UpcomingParamsInvoiceItemDiscount]r  r  r  rb  'Invoice.UpcomingParamsInvoiceItemPeriodr  r  *Invoice.UpcomingParamsInvoiceItemPriceDatar  r  r  r  r  r  r  r  r  r  Nr  rC   rD   rE   UpcomingParamsInvoiceItemz!Invoice.UpcomingParamsInvoiceItem  s5   C  	 c""	 !%%	 "$''	 I
 	
	 !%%	 :;;	 EFF	 3	   LMM	 c""	 ";<
 	
	 /00	 677	 !%%	 )--	rD   r  c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y))Invoice.UpcomingParamsInvoiceItemDiscountr  rp  r  Nr  rC   rD   rE   !UpcomingParamsInvoiceItemDiscountr    r  rD   r  c                   $    e Zd ZU eed<   	 eed<   y)r  r  r  Nr  rC   rD   rE   UpcomingParamsInvoiceItemPeriodz'Invoice.UpcomingParamsInvoiceItemPeriod  r  rD   r  c                   `    e Zd ZU eed<   	 eed<   	 eed      ed<   	 ee   ed<   	 ee   ed<   y)r  r  r  r  r  r  r  Nr  rC   rD   rE   "UpcomingParamsInvoiceItemPriceDataz*Invoice.UpcomingParamsInvoiceItemPriceData  r  rD   r  c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)r  r:   r;   r=   Nr  rC   rD   rE   UpcomingParamsIssuerzInvoice.UpcomingParamsIssuer  r	  rD   r  c                   T    e Zd ZU eed      ed<   	 eed      ed<   	 eed      ed<   y)r  r  r  *Invoice.UpcomingParamsScheduleDetailsPhaser  r  r  Nr  rC   rD   rE   UpcomingParamsScheduleDetailsz%Invoice.UpcomingParamsScheduleDetails)  sM    !'*=">??	 D!MNOO	 (AB
 	
	rD   r  c                      e Zd ZU eed      ed<   	 ee   ed<   	 ed   ed<   	 eed      ed<   	 ed   ed	<   	 eed
      ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ee	   ed<   	 ee
eef      ed<   	 ee   ed<   	 eed      ed<   	 ed   ed <   	 ed!   ed"<   	 ee   ed#<   	 ed   ed$<   y%)&r  8Invoice.UpcomingParamsScheduleDetailsPhaseAddInvoiceItemr  r  6Invoice.UpcomingParamsScheduleDetailsPhaseAutomaticTaxr  r  r  zGLiteral['']|Invoice.UpcomingParamsScheduleDetailsPhaseBillingThresholdsr  r  r  r  r  r  r  r  r  r  zDLiteral['']|List[Invoice.UpcomingParamsScheduleDetailsPhaseDiscount]r  r  r  9Invoice.UpcomingParamsScheduleDetailsPhaseInvoiceSettingsr  .Invoice.UpcomingParamsScheduleDetailsPhaseItemr  r	  rb  r  r  r  r
  6Invoice.UpcomingParamsScheduleDetailsPhaseTransferDatar  r  r  Nr  rC   rD   rE   "UpcomingParamsScheduleDetailsPhasez*Invoice.UpcomingParamsScheduleDetailsPhase9  s   &KL
 	
	 "-U!33	 #D
 	
	 *'2L*MNN	 (U
 	
	 ':;
 	
	 C  	 c""	 !,C 00	 ''>??	 !!233	 R
 	
	 233	 &G
 	
	 DEE	  $$	 d38n--	 "#&&	 (AB
 	
	   455	 #D
 	
	 4  	 344	rD   r  c                   l    e Zd ZU eed      ed<   	 ee   ed<   	 ed   ed<   	 ee   ed<   	 ed   ed<   y	)
r  @Invoice.UpcomingParamsScheduleDetailsPhaseAddInvoiceItemDiscountr  r  AInvoice.UpcomingParamsScheduleDetailsPhaseAddInvoiceItemPriceDatar  r  r  r  Nr  rC   rD   rE   0UpcomingParamsScheduleDetailsPhaseAddInvoiceItemz8Invoice.UpcomingParamsScheduleDetailsPhaseAddInvoiceItem  sm    R
 	

	 3	  O
 	
	 c""	 677	rD   r  c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y)r  r  rp  r  Nr  rC   rD   rE   8UpcomingParamsScheduleDetailsPhaseAddInvoiceItemDiscountz@Invoice.UpcomingParamsScheduleDetailsPhaseAddInvoiceItemDiscount  r  rD   r  c                   `    e Zd ZU eed<   	 eed<   	 eed      ed<   	 ee   ed<   	 ee   ed<   y)r  r  r  r  r  r  r  Nr  rC   rD   rE   9UpcomingParamsScheduleDetailsPhaseAddInvoiceItemPriceDatazAInvoice.UpcomingParamsScheduleDetailsPhaseAddInvoiceItemPriceData  r  rD   r  c                   *    e Zd ZU eed<   	 ed   ed<   y)r  rJ   ?Invoice.UpcomingParamsScheduleDetailsPhaseAutomaticTaxLiabilityrK   Nr  rC   rD   rE   .UpcomingParamsScheduleDetailsPhaseAutomaticTaxz6Invoice.UpcomingParamsScheduleDetailsPhaseAutomaticTax  s#    	 M
 	
	rD   r  c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)r  r:   r;   r=   Nr  rC   rD   rE   7UpcomingParamsScheduleDetailsPhaseAutomaticTaxLiabilityz?Invoice.UpcomingParamsScheduleDetailsPhaseAutomaticTaxLiability  r	  rD   r  c                   0    e Zd ZU ee   ed<   	 ee   ed<   y);Invoice.UpcomingParamsScheduleDetailsPhaseBillingThresholdsrk  r&  Nr'  rC   rD   rE   3UpcomingParamsScheduleDetailsPhaseBillingThresholdsr    r)  rD   r  c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y)2Invoice.UpcomingParamsScheduleDetailsPhaseDiscountr  rp  r  Nr  rC   rD   rE   *UpcomingParamsScheduleDetailsPhaseDiscountr  	  r  rD   r  c                   B    e Zd ZU ed   ed<   	 ee   ed<   	 ed   ed<   y)r  r  r  r  ?Invoice.UpcomingParamsScheduleDetailsPhaseInvoiceSettingsIssuerr  Nr/  rC   rD   rE   1UpcomingParamsScheduleDetailsPhaseInvoiceSettingsz9Invoice.UpcomingParamsScheduleDetailsPhaseInvoiceSettings  s<    $%<==	 $C((	 M
 	
	rD   r  c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)r  r:   r;   r=   Nr  rC   rD   rE   7UpcomingParamsScheduleDetailsPhaseInvoiceSettingsIssuerz?Invoice.UpcomingParamsScheduleDetailsPhaseInvoiceSettingsIssuer'  r	  rD   r  c                       e Zd ZU ed   ed<   	 ed   ed<   	 eeeef      ed<   	 ee   ed<   	 ee   ed<   	 ed   ed	<   	 ee   ed
<   	 ed   ed<   y)r  zKLiteral['']|Invoice.UpcomingParamsScheduleDetailsPhaseItemBillingThresholdsr  zHLiteral['']|List[Invoice.UpcomingParamsScheduleDetailsPhaseItemDiscount]r  rb  r4  r  7Invoice.UpcomingParamsScheduleDetailsPhaseItemPriceDatar  r  r  r  Nr6  rC   rD   rE   &UpcomingParamsScheduleDetailsPhaseItemz.Invoice.UpcomingParamsScheduleDetailsPhaseItem1  s    'Y
 	
	 V
 	
	 d38n--	 #	 3	  E
 	
	 c""	 677	rD   r  c                       e Zd ZU eed<   y)?Invoice.UpcomingParamsScheduleDetailsPhaseItemBillingThresholdsri  Nr  rC   rD   rE   7UpcomingParamsScheduleDetailsPhaseItemBillingThresholdsr  Y  r  rD   r  c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y)6Invoice.UpcomingParamsScheduleDetailsPhaseItemDiscountr  rp  r  Nr  rC   rD   rE   .UpcomingParamsScheduleDetailsPhaseItemDiscountr  _  r  rD   r  c                   l    e Zd ZU eed<   	 eed<   	 ded<   	 eed      ed<   	 ee   ed<   	 ee   ed<   y	)
r  r  r  @Invoice.UpcomingParamsScheduleDetailsPhaseItemPriceDataRecurringr  r  r  r  r  Nr  rC   rD   rE   /UpcomingParamsScheduleDetailsPhaseItemPriceDataz7Invoice.UpcomingParamsScheduleDetailsPhaseItemPriceDatam  si    	 	 O	
	 ";<
 	
	 !%%	 )--	rD   r  c                   0    e Zd ZU ed   ed<   	 ee   ed<   y)r  rE  r<  rG  NrH  rC   rD   rE   8UpcomingParamsScheduleDetailsPhaseItemPriceDataRecurringz@Invoice.UpcomingParamsScheduleDetailsPhaseItemPriceDataRecurring  r  rD   r  c                   *    e Zd ZU ee   ed<   	 eed<   y)r  rL  r}  NrM  rC   rD   rE   .UpcomingParamsScheduleDetailsPhaseTransferDataz6Invoice.UpcomingParamsScheduleDetailsPhaseTransferData  rO  rD   r	  c                       e Zd ZU 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ed      ed<   	 ee   ed<   	 eed      ed<   	 ee   ed<   	 ed   ed<   y)r  rQ  r  rf  rR  rS  rT  r  r  -Invoice.UpcomingParamsSubscriptionDetailsItemr  r  r  rV  rW  rX  r
  rY  r  NrZ  rC   rD   rE   !UpcomingParamsSubscriptionDetailsz)Invoice.UpcomingParamsSubscriptionDetails  s    )*KLL	 011	 *$//	  %%	 ''>??	 @A
 	
	 (AB
 	
	 $C((	 wu~..	  $$	 344	rD   r  c                       e Zd ZU ed   ed<   	 ee   ed<   	 ee   ed<   	 ed   ed<   	 ee   ed<   	 ed   ed	<   	 ee   ed
<   	 ee   ed<   	 ed   ed<   	 ee   ed<   	 ed   ed<   y)r  zJLiteral['']|Invoice.UpcomingParamsSubscriptionDetailsItemBillingThresholdsr  r^  r_  zGLiteral['']|List[Invoice.UpcomingParamsSubscriptionDetailsItemDiscount]r  r`  r  rb  r4  r  6Invoice.UpcomingParamsSubscriptionDetailsItemPriceDatar  r  r  r  Nrb  rC   rD   rE   %UpcomingParamsSubscriptionDetailsItemz-Invoice.UpcomingParamsSubscriptionDetailsItem  s    'X
 	
	 !&&	 T""	 U
 	
	 	 :;;	 #	 3	  D
 	
	 c""	 677	rD   r  c                       e Zd ZU eed<   y)>Invoice.UpcomingParamsSubscriptionDetailsItemBillingThresholdsri  Nr  rC   rD   rE   6UpcomingParamsSubscriptionDetailsItemBillingThresholdsr    r  rD   r  c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y)5Invoice.UpcomingParamsSubscriptionDetailsItemDiscountr  rp  r  Nr  rC   rD   rE   -UpcomingParamsSubscriptionDetailsItemDiscountr    r  rD   r  c                   l    e Zd ZU eed<   	 eed<   	 ded<   	 eed      ed<   	 ee   ed<   	 ee   ed<   y	)
r  r  r  ?Invoice.UpcomingParamsSubscriptionDetailsItemPriceDataRecurringr  r  r  r  r  Nr  rC   rD   rE   .UpcomingParamsSubscriptionDetailsItemPriceDataz6Invoice.UpcomingParamsSubscriptionDetailsItemPriceData  si    	 	 N	
	 ";<
 	
	 !%%	 )--	rD   r  c                   0    e Zd ZU ed   ed<   	 ee   ed<   y)r  rE  r<  rG  NrH  rC   rD   rE   7UpcomingParamsSubscriptionDetailsItemPriceDataRecurringz?Invoice.UpcomingParamsSubscriptionDetailsItemPriceDataRecurring7  r  rD   r  c                       e Zd ZU ed   ed<   	 ee   ed<   	 ee   ed<   	 ed   ed<   	 ee   ed<   	 ed   ed	<   	 ee   ed
<   	 ee   ed<   	 ed   ed<   	 ee   ed<   	 ed   ed<   y)r  zCLiteral['']|Invoice.UpcomingParamsSubscriptionItemBillingThresholdsr  r^  r_  z@Literal['']|List[Invoice.UpcomingParamsSubscriptionItemDiscount]r  r`  r  rb  r4  r  /Invoice.UpcomingParamsSubscriptionItemPriceDatar  r  r  r  Nrb  rC   rD   rE   UpcomingParamsSubscriptionItemz&Invoice.UpcomingParamsSubscriptionItemA  s    'Q
 	
	 !&&	 T""	 N
 	
	 	 :;;	 #	 3	  =
 	
	 c""	 677	rD   r  c                       e Zd ZU eed<   y)7Invoice.UpcomingParamsSubscriptionItemBillingThresholdsri  Nr  rC   rD   rE   /UpcomingParamsSubscriptionItemBillingThresholdsr  u  r  rD   r   c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y).Invoice.UpcomingParamsSubscriptionItemDiscountr  rp  r  Nr  rC   rD   rE   &UpcomingParamsSubscriptionItemDiscountr"  {  r  rD   r#  c                   l    e Zd ZU eed<   	 eed<   	 ded<   	 eed      ed<   	 ee   ed<   	 ee   ed<   y	)
r  r  r  8Invoice.UpcomingParamsSubscriptionItemPriceDataRecurringr  r  r  r  r  Nr  rC   rD   rE   'UpcomingParamsSubscriptionItemPriceDataz/Invoice.UpcomingParamsSubscriptionItemPriceData  sg    	 	 NM	 ";<
 	
	 !%%	 )--	rD   r&  c                   0    e Zd ZU ed   ed<   	 ee   ed<   y)r%  rE  r<  rG  NrH  rC   rD   rE   0UpcomingParamsSubscriptionItemPriceDataRecurringz8Invoice.UpcomingParamsSubscriptionItemPriceDataRecurring  r  rD   r(  c                   H    e Zd ZU eee      ed<   	 ed   ed<   	 ed   ed<   y)Invoice.UpdateLinesParamsr  r  r  Invoice.UpdateLinesParamsLiner  Nr  rC   rD   rE   UpdateLinesParamsr*    r  rD   r,  c                       e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   	 ed   ed<   	 eed<   	 ed   ed<   	 ed	   ed
<   	 ee   ed<   	 ed   ed<   	 ee   ed<   	 ed   ed<   	 ed   ed<   y)r+  r9  r  r  z7Literal['']|List[Invoice.UpdateLinesParamsLineDiscount]r  r`  r  rb  #Invoice.UpdateLinesParamsLinePeriodr  r  &Invoice.UpdateLinesParamsLinePriceDatar  r  z8Literal['']|List[Invoice.UpdateLinesParamsLineTaxAmount]r  r  r  Nr  rC   rD   rE   UpdateLinesParamsLinezInvoice.UpdateLinesParamsLine  s    C  	 !%%	 "$''	 E
 	
	 	 :;;	 ABB	 3	   HII	 c""	 !F
 	
	 677	rD   r0  c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y)%Invoice.UpdateLinesParamsLineDiscountr  rp  r  Nr  rC   rD   rE   UpdateLinesParamsLineDiscountr2    r  rD   r3  c                   $    e Zd ZU eed<   	 eed<   y)r.  r  r  Nr  rC   rD   rE   UpdateLinesParamsLinePeriodz#Invoice.UpdateLinesParamsLinePeriod  r  rD   r5  c                   x    e Zd ZU eed<   	 ee   ed<   	 ed   ed<   	 eed      ed<   	 ee   ed<   	 ee   ed<   y	)
r/  r  r  1Invoice.UpdateLinesParamsLinePriceDataProductDatar  r  r  r  r  Nr  rC   rD   rE   UpdateLinesParamsLinePriceDataz&Invoice.UpdateLinesParamsLinePriceData  sv    	 S!!	 "?
 	
	 ";<
 	
	 !%%	 )--	rD   r8  c                   p    e Zd ZU ee   ed<   	 eee      ed<   	 eeeef      ed<   	 eed<   	 ee   ed<   y)r7  r  r  rb  rU   r  Nr  rC   rD   rE   )UpdateLinesParamsLinePriceDataProductDataz1Invoice.UpdateLinesParamsLinePriceDataProductData)  r  rD   r:  c                   0    e Zd ZU eed<   	 ded<   	 eed<   y)&Invoice.UpdateLinesParamsLineTaxAmountr9  1Invoice.UpdateLinesParamsLineTaxAmountTaxRateDatar  rL  Nr  rC   rD   rE   UpdateLinesParamsLineTaxAmountr<  ?  s'    	 KJ	
 	rD   r>  c                       e Zd ZU ee   ed<   	 ee   ed<   	 eed<   	 eed<   	 ee   ed<   	 eed<   	 ee   ed<   	 eed      ed	<   y
)r=  r^   r  r  rx  r  r  rb   r  r  Nr  rC   rD   rE   )UpdateLinesParamsLineTaxAmountTaxRateDataz1Invoice.UpdateLinesParamsLineTaxAmountTaxRateDataO  r  rD   r@  c                   $    e Zd ZU eee      ed<   y)Invoice.VoidInvoiceParamsr  Nr  rC   rD   rE   VoidInvoiceParamsrB    r  rD   rC  account_countryaccount_namer-   r  
amount_dueamount_paidamount_remainingamount_shippingr   applicationr  attempt_count	attemptedr  r  r  )	&automatic_pending_invoice_item_invoicemanualquote_acceptr  subscription_createsubscription_cyclesubscription_thresholdsubscription_updateupcomingbilling_reasonr"   r   r  r  r  r  r  r#   r  customer_addresscustomer_emailcustomer_namecustomer_phonecustomer_shipping)exemptr  reversecustomer_tax_exemptcustomer_tax_idsr'   r  r  r  r.   r  r  r$   rp  r  r  r  ending_balancer  r  hosted_invoice_urlr`  invoice_pdfr  last_finalization_errorlatest_revisionr%   r  livemoderb  next_payment_attemptr  objectr   r  r  r  r&   r  r  
period_endperiod_start post_payment_credit_notes_amountpre_payment_credit_notes_amountr(   quotereceipt_numberr  r  r  starting_balancer  r  rO   status_transitionsr,   r  r  r)  subtotalsubtotal_excluding_taxr  r0   
test_clockthreshold_reasontotaltotal_discount_amountstotal_excluding_taxtotal_pretax_credit_amountstotal_tax_amountsr  webhooks_delivered_atTr_  paramsr  returnc                 p    t        d| j                  ddj                  t        |            |            S )q
        Adds multiple line items to an invoice. This is only possible when an invoice is still a draft.
        r3   post /v1/invoices/{invoice}/add_linesr4   ry  r   _static_requestformatr   clsr4   ry  s      rE   _cls_add_lineszInvoice._cls_add_lines  sJ     299'0 :     	
 		
rD   c                      yr|  NrC   r4   ry  s     rE   	add_lineszInvoice.add_lines       	rD   c                      yr  rC   r<   ry  s     rE   r  zInvoice.add_lines       	rD   r  c                     t        d| j                  ddj                  t        | j	                  d                  |            S )r|  r3   r}  r~  r`  r  r  r   _requestr  r   getr  s     rE   r  zInvoice.add_lines  sP     MM299'7 :    	
 		
rD   c                    K   t        d| j                  ddj                  t        |            |       d{         S 7 w)r|  r3   r}  r~  r  r  Nr   _static_request_asyncr  r   r  s      rE   _cls_add_lines_asynczInvoice._cls_add_lines_async  sX      ++299'0 :   ,  	
 		
   7AA
	Ac                    K   ywr  rC   r  s     rE   add_lines_asynczInvoice.add_lines_async/        	   c                    K   ywr  rC   r  s     rE   r  zInvoice.add_lines_async9        	r  r  c                    K   t        d| j                  ddj                  t        | j	                  d                  |       d{         S 7 w)r|  r3   r}  r~  r`  r  r  Nr   _request_asyncr  r   r  r  s     rE   r  zInvoice.add_lines_asyncB  s`      %%299'7 :   &  	
 		
   AAA
		Ar  c                 Z    t        d| j                  d| j                         |            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://stripe.com/docs/api#finalize_invoice) the invoice to your customers.
        r3   r}  r  )r   r  	class_urlr  ry  s     rE   createzInvoice.createT  s6    
    
 	
rD   c                 v   K   t        d| j                  d| j                         |       d{         S 7 w)r  r3   r}  r  N)r   r  r  r  s     rE   create_asynczInvoice.create_asyncb  sD      ++ ,  
 	
s   ,97
	9r  c                 >    t        d| j                  dd|            S )  
        At any time, you can preview the upcoming invoice for a customer. 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.

        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.

        You can preview the effects of updating a subscription, including a preview of what proration 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 is to consider only proration line items where period[start] is equal to the subscription_details.proration_date value passed in the request.

        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)
        r3   r}  /v1/invoices/create_previewr  r   r  r  s     rE   create_previewzInvoice.create_previewr  s0     -   
 	
rD   c                 Z   K   t        d| j                  dd|       d{         S 7 w)r  r3   r}  r  r  Nr   r  r  s     rE   create_preview_asynczInvoice.create_preview_async  s>      ++- ,  
 	
   +)
	+sidrr  c                 z    | j                         dt        |      }t        d| j                  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://stripe.com/docs/api#void_invoice).
        /r3   r
  r  r  r   r   r  r  r  ry  urls       rE   _cls_deletezInvoice._cls_delete  sE     +c*:;   
 	
rD   c                      yr  NrC   r  ry  s     rE   r
  zInvoice.delete  r  rD   c                      yr  rC   r  s     rE   r
  zInvoice.delete      
 	rD   r  c                 F    | j                  d| j                         |      S )r  r
  r  )_request_and_refreshinstance_urlr  s     rE   r
  zInvoice.delete  s.     (( ) 
 	
rD   c                    K   | j                         dt        |      }t        d| j                  d||       d{         S 7 w)r  r  r3   r
  r  Nr  r   r   r  r  s       rE   _cls_delete_asynczInvoice._cls_delete_async  sS      +c*:;++ ,  
 	
   <A	A
	A	c                    K   ywr  rC   r  s     rE   delete_asynczInvoice.delete_async  r  r  c                    K   ywr  rC   r  s     rE   r  zInvoice.delete_async  r  r  r  c                 b   K   | j                  d| j                         |       d{   S 7 w)r  r
  r  N)_request_and_refresh_asyncr  r  s     rE   r  zInvoice.delete_async  s<      44 5 
 
 	
 
s   &/-/ru  c                 p    t        d| j                  ddj                  t        |            |            S )
        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.
        r3   r}  /v1/invoices/{invoice}/finalizer  r  r  r  s      rE   _cls_finalize_invoicezInvoice._cls_finalize_invoice  sJ     188'0 9     	
 		
rD   c                      yr  NrC   r  s     rE   finalize_invoicezInvoice.finalize_invoice  r  rD   c                      yr  rC   r  s     rE   r  zInvoice.finalize_invoice  r  rD   r  c                     t        d| j                  ddj                  t        | j	                  d                  |            S )r  r3   r}  r  r`  r  r  r  r  s     rE   r  zInvoice.finalize_invoice#  sP     MM188'7 9    	
 		
rD   c                    K   t        d| j                  ddj                  t        |            |       d{         S 7 w)r  r3   r}  r  r  r  Nr  r  s      rE   _cls_finalize_invoice_asyncz#Invoice._cls_finalize_invoice_async5  sX      ++188'0 9   ,  	
 		
r  c                    K   ywr  rC   r  s     rE   finalize_invoice_asynczInvoice.finalize_invoice_asyncG  r  r  c                    K   ywr  rC   r  s     rE   r  zInvoice.finalize_invoice_asyncQ  r  r  r  c                    K   t        d| j                  ddj                  t        | j	                  d                  |       d{         S 7 w)r  r3   r}  r  r`  r  r  Nr  r  s     rE   r  zInvoice.finalize_invoice_asyncZ  s`      %%188'7 9   &  	
 		
r  r~  c                     | j                  d| j                         |      }t        |t              s!t	        dt        |      j                  z        |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   	TypeErrorr=   r?   r  ry  results      rE   listzInvoice.listl  s]     $$MMO % 

 &*-7<((* 
 rD   c                    K   | j                  d| j                         |       d{   }t        |t              s!t	        dt        |      j                  z        |S 7 7w)r  r  r  Nr  )r  r  r  r   r  r=   r?   r  s      rE   
list_asynczInvoice.list_async  sk      00MMO 1 
 

 &*-7<((* 
 
s   &A"A 8A"r  c                 p    t        d| j                  ddj                  t        |            |            S )
        Marking an invoice as uncollectible is useful for keeping track of bad debts that can be written off for accounting purposes.
        r3   r}  )/v1/invoices/{invoice}/mark_uncollectibler  r  r  r  s      rE   _cls_mark_uncollectiblezInvoice._cls_mark_uncollectible  sK     ;BB'0 C     	
 		
rD   c                      yr  NrC   r  s     rE   mark_uncollectiblezInvoice.mark_uncollectible  r  rD   c                      yr  rC   r  s     rE   r  zInvoice.mark_uncollectible  r  rD   r  c                     t        d| j                  ddj                  t        | j	                  d                  |            S )r  r3   r}  r  r`  r  r  r  r  s     rE   r  zInvoice.mark_uncollectible  sQ     MM;BB'7 C    	
 		
rD   c                    K   t        d| j                  ddj                  t        |            |       d{         S 7 w)r  r3   r}  r  r  r  Nr  r  s      rE   _cls_mark_uncollectible_asyncz%Invoice._cls_mark_uncollectible_async  sY      ++;BB'0 C   ,  	
 		
r  c                    K   ywr  rC   r  s     rE   mark_uncollectible_asyncz Invoice.mark_uncollectible_async  r  r  c                    K   ywr  rC   r  s     rE   r  z Invoice.mark_uncollectible_async  r  r  r  c                    K   t        d| j                  ddj                  t        | j	                  d                  |       d{         S 7 w)r  r3   r}  r  r`  r  r  Nr  r  s     rE   r  z Invoice.mark_uncollectible_async  sa      %%;BB'7 C   &  	
 		
r  r  c                 z    | j                         dt        |      }t        d| j                  d||            S )  
        Draft invoices are fully editable. Once an invoice is [finalized](https://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://stripe.com/docs/billing/invoices/reconciliation) invoices, pass
        auto_advance=false.
        r  r3   r}  r  r  r  r`  ry  r  s       rE   modifyzInvoice.modify  sD     +b/:   
 	
rD   c                    K   | j                         dt        |      }t        d| j                  d||       d{         S 7 w)r  r  r3   r}  r  Nr  r  s       rE   modify_asynczInvoice.modify_async  sR      +b/:++ ,  
 	
r  r  c                 p    t        d| j                  ddj                  t        |            |            S )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.
        r3   r}  /v1/invoices/{invoice}/payr  r  r  r  s      rE   _cls_payzInvoice._cls_pay.  sJ     ,33'0 4     	
 		
rD   c                      yr  NrC   r  s     rE   payzInvoice.pay@  s     	rD   c                      yr  rC   r  s     rE   r  zInvoice.payH  r  rD   r  c                     t        d| j                  ddj                  t        | j	                  d                  |            S )r  r3   r}  r  r`  r  r  r  r  s     rE   r  zInvoice.payO  sP     MM,33'7 4    	
 		
rD   c                    K   t        d| j                  ddj                  t        |            |       d{         S 7 w)r  r3   r}  r  r  r  Nr  r  s      rE   _cls_pay_asynczInvoice._cls_pay_asynca  sX      ++,33'0 4   ,  	
 		
r  c                    K   ywr  rC   r  s     rE   	pay_asynczInvoice.pay_asyncs  r  r  c                    K   ywr  rC   r  s     rE   r  zInvoice.pay_async}  r  r  r  c                    K   t        d| j                  ddj                  t        | j	                  d                  |       d{         S 7 w)r  r3   r}  r  r`  r  r  Nr  r  s     rE   r  zInvoice.pay_async  s`      %%,33'7 4   &  	
 		
r  r  c                 p    t        d| j                  ddj                  t        |            |            S )v
        Removes multiple line items from an invoice. This is only possible when an invoice is still a draft.
        r3   r}  #/v1/invoices/{invoice}/remove_linesr  r  r  r  s      rE   _cls_remove_lineszInvoice._cls_remove_lines  J     5<<'0 =     	
 		
rD   c                      yr	  NrC   r  s     rE   remove_lineszInvoice.remove_lines  r  rD   c                      yr  rC   r  s     rE   r  zInvoice.remove_lines  r  rD   r  c                     t        d| j                  ddj                  t        | j	                  d                  |            S )r	  r3   r}  r
  r`  r  r  r  r  s     rE   r  zInvoice.remove_lines  P     MM5<<'7 =    	
 		
rD   c                    K   t        d| j                  ddj                  t        |            |       d{         S 7 w)r	  r3   r}  r
  r  r  Nr  r  s      rE   _cls_remove_lines_asynczInvoice._cls_remove_lines_async  X      ++5<<'0 =   ,  	
 		
r  c                    K   ywr  rC   r  s     rE   remove_lines_asynczInvoice.remove_lines_async  r  r  c                    K   ywr  rC   r  s     rE   r  zInvoice.remove_lines_async  r  r  r  c                    K   t        d| j                  ddj                  t        | j	                  d                  |       d{         S 7 w)r	  r3   r}  r
  r`  r  r  Nr  r  s     rE   r  zInvoice.remove_lines_async  `      %%5<<'7 =   &  	
 		
r  r  c                 8     | |fi |}|j                          |S ):
        Retrieves the invoice with the given ID.
        )refreshr  r`  ry  instances       rE   retrievezInvoice.retrieve  s$     r$V$rD   c                 T   K    | |fi |}|j                          d{    |S 7 w)r  N)refresh_asyncr  s       rE   retrieve_asynczInvoice.retrieve_async  s3      r$V$$$&&& 	's   (&(r  c                 p    t        d| j                  ddj                  t        |            |            S )  
        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.
        r3   r}  /v1/invoices/{invoice}/sendr  r  r  r  s      rE   _cls_send_invoicezInvoice._cls_send_invoice  J     -44'0 5     	
 		
rD   c                      yr%  NrC   r  s     rE   r  zInvoice.send_invoice0       	rD   c                      yr*  rC   r  s     rE   r  zInvoice.send_invoice<       	rD   r'  c                     t        d| j                  ddj                  t        | j	                  d                  |            S )r%  r3   r}  r&  r`  r  r  r  r  s     rE   r  zInvoice.send_invoiceG  P     MM-44'7 5    	
 		
rD   c                    K   t        d| j                  ddj                  t        |            |       d{         S 7 w)r%  r3   r}  r&  r  r  Nr  r  s      rE   _cls_send_invoice_asynczInvoice._cls_send_invoice_async[  X      ++-44'0 5   ,  	
 		
r  c                    K   ywr*  rC   r  s     rE   send_invoice_asynczInvoice.send_invoice_asynco        	r  c                    K   ywr*  rC   r  s     rE   r4  zInvoice.send_invoice_async{        	r  r1  c                    K   t        d| j                  ddj                  t        | j	                  d                  |       d{         S 7 w)r%  r3   r}  r&  r`  r  r  Nr  r  s     rE   r4  zInvoice.send_invoice_async  `      %%-44'7 5   &  	
 		
r  r  c                 >    t        d| j                  dd|            S )r  r3   r  /v1/invoices/upcomingr  r  r  s     rE   rT  zInvoice.upcoming  s0     '   
 	
rD   c                 Z   K   t        d| j                  dd|       d{         S 7 w)r  r3   r  r;  r  Nr  r  s     rE   upcoming_asynczInvoice.upcoming_async  s>      ++' ,  
 	
r  r  c                 L    t        t        d   | j                  dd|            S )
        When retrieving an upcoming 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/upcoming/linesr  )r   r   r  r  s     rE   upcoming_lineszInvoice.upcoming_lines  s6     ()-   
 	
rD   c                 h   K   t        t        d   | j                  dd|       d{         S 7 w)r?  r%   r  r@  r  N)r   r   r  r  s     rE   upcoming_lines_asynczInvoice.upcoming_lines_async  sD      ()++- ,  
 	
s   %20
	2r*  c                 p    t        d| j                  ddj                  t        |            |            S )t
        Updates multiple line items on an invoice. This is only possible when an invoice is still a draft.
        r3   r}  #/v1/invoices/{invoice}/update_linesr  r  r  r  s      rE   _cls_update_lineszInvoice._cls_update_lines  r  rD   c                      yrE  NrC   r  s     rE   update_lineszInvoice.update_lines  r  rD   c                      yrI  rC   r  s     rE   rJ  zInvoice.update_lines   r  rD   rG  c                     t        d| j                  ddj                  t        | j	                  d                  |            S )rE  r3   r}  rF  r`  r  r  r  r  s     rE   rJ  zInvoice.update_lines	  r  rD   c                    K   t        d| j                  ddj                  t        |            |       d{         S 7 w)rE  r3   r}  rF  r  r  Nr  r  s      rE   _cls_update_lines_asynczInvoice._cls_update_lines_async  r  r  c                    K   ywrI  rC   r  s     rE   update_lines_asynczInvoice.update_lines_async-  r  r  c                    K   ywrI  rC   r  s     rE   rP  zInvoice.update_lines_async7  r  r  rN  c                    K   t        d| j                  ddj                  t        | j	                  d                  |       d{         S 7 w)rE  r3   r}  rF  r`  r  r  Nr  r  s     rE   rP  zInvoice.update_lines_async@  r  r  rB  c                 p    t        d| j                  ddj                  t        |            |            S )  
        Mark a finalized invoice as void. This cannot be undone. Voiding an invoice is similar to [deletion](https://stripe.com/docs/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://stripe.com/docs/api#create_invoice) instead. Stripe recommends that you consult with your legal counsel for advice specific to your business.
        r3   r}  /v1/invoices/{invoice}/voidr  r  r  r  s      rE   _cls_void_invoicezInvoice._cls_void_invoiceR  r(  rD   c                      yrT  NrC   r  s     rE   void_invoicezInvoice.void_invoicef  r+  rD   c                      yrX  rC   r  s     rE   rY  zInvoice.void_invoicer  r-  rD   rV  c                     t        d| j                  ddj                  t        | j	                  d                  |            S )rT  r3   r}  rU  r`  r  r  r  r  s     rE   rY  zInvoice.void_invoice}  r/  rD   c                    K   t        d| j                  ddj                  t        |            |       d{         S 7 w)rT  r3   r}  rU  r  r  Nr  r  s      rE   _cls_void_invoice_asynczInvoice._cls_void_invoice_async  r2  r  c                    K   ywrX  rC   r  s     rE   void_invoice_asynczInvoice.void_invoice_async  r5  r  c                    K   ywrX  rC   r  s     rE   r_  zInvoice.void_invoice_async  r7  r  r]  c                    K   t        d| j                  ddj                  t        | j	                  d                  |       d{         S 7 w)rT  r3   r}  rU  r`  r  r  Nr  r  s     rE   r_  zInvoice.void_invoice_async  r9  r  kwargsr  c                 *     | j                   |ddi|S )  
        Search for invoices you've previously created using Stripe's [Search Query Language](https://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  argsrb  s      rE   searchzInvoice.search  s      s{{dM&;MfMMrD   c                 F   K    | j                   |ddi| d{   S 7 w)rd  re  rf  N)_search_asyncrh  s      rE   search_asynczInvoice.search_async  s:      'S&&/3
,
7=
 
 	
 
s   !!c                 B     | j                   |i |j                         S N)rj  auto_paging_iterrh  s      rE   search_auto_paging_iterzInvoice.search_auto_paging_iter  s#     szz4*6*;;==rD   c                 ^   K    | j                   |i | d {   j                         S 7 wro  )rm  rp  rh  s      rE   search_auto_paging_iter_asyncz%Invoice.search_auto_paging_iter_async  s/      'c&&777IIKK7s   -+-rx  c                 ~    t        t        d   | j                  ddj                  t	        |            |            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  s      rE   
list_lineszInvoice.list_lines  sP     ().55'0 6     	
 		
rD   c                    K   t        t        d   | j                  ddj                  t	        |            |       d{         S 7 w)ru  r%   r  rv  r  r  N)r   r   r  r  r   r  s      rE   list_lines_asynczInvoice.list_lines_async  s^      ()++.55'0 6   ,  	
 		
s   >A A	
	A)rw  r  N(G  r?   r@   rA   __doc__r5   r   r   rB   r   rR   rY   rd   rp   r   r   r   r  r$  r4  rS  rX  r_  rc  rm  rq  ru  rz  r~  r	   r  r   r  r  r  r  r  r  r  r   r  r  r  r  r  r  r  r  r$  r(  r,  r1  r6  r?  rE  rI  rL  rP  rT  rX  r]  ra  rg  rj  ro  rw  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  r"  r(  r,  r0  r3  r7  r;  r?  rB  rI  rN  r[  rc  rg  rj  rm  rp  rs  rv  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  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r.  r1  r3  r7  r:  r>  r@  rB  rD  rG  rK  rN  rP  rR  rT  rW  r^  rb  rd  rf  ri  rk  rn  rq  rt  rv  ry  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  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&  r(  r,  r0  r3  r5  r8  r:  r>  r@  rC  r   rX   r   r   r3  rP   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  r  r  r   r#  r'  r  r1  r4  rT  r=  rA  rC  rG  rJ  rN  rP  rV  rY  r]  r_  r
   rj  rm  r   rq  r   rs  rw  ry  rQ   rC   rD   rE   r3   r3   :   s@$   !F 1:K'),-9"6| "6Hl , 4,2< ,2\n n`l  Q QfIN, INV*L *2;,| ;,z,2, ,2\L $l :, :*l , (& &P|  4Y 4lY 9 i < ,i  1 1fH~ HT9 I ) y ) Y i $*) *X9 I i  " 9  4	 (9 
9 
"9 "H9 



i &i Y 49 Fn FP
) 
9 Y <I 4Y I 4	 m) m^i F FP y ) 0I Y $n) n`	 8 4
i 


9 )   

&i &Pi y 8

i 0 0d2Y 2hY i 8

~  . $)^ )VI $I $. x~ xt9 I ) y Y i $*) *X9 I i  " 9  4	 (9 
9 
"9 "H9 



i &i Y 49 N @N 	  ~ $N Hn HT
) 
9 Y <I 4Y I 4	 m) m^i F FP y ) 0I Y $n) n`	 8 4
i 


9 )   

&i &Pi y 8

i 0 0d2Y 2hY i 8

2i 2hy i y <	 v vpY i 	 <y 4	 y 49 mY m^ DI DLI ) Y 0y 	  lY l\9 89 I 0
 
) i Y I  ) & &P)  ) <9  0I 0d2	 2h 	  <) 2 2h)  ) 89 N 4	 4l	 i  <I ,  1I 1fN  c]" 3- d?7#;<== O    /-899 %SM)  O 4.    (- 
	
 
 _X.// EFF L M D-.. z233 // SM! C=  SM!   011 "'*E"FGG tM233 %__%EFF DE	
 
 I& # z"" OJ/00 sm 3- SM! SM ;'' !% 	 # N%&;<< oi899 '(( N tCH~&& #3-' SM I ?9566 J  __=>> &%O  '*) &)( OG,-- SM! 	"" L)) //  #3-' WMNOO *)?>:;; ##677 "*#. M %SM) 
# 566 //J %T*=%>?? "#& "*$/F*G!HH N++ L)) $C=( gdm$$ 

%+,D%E
	
 
"  &'? @	   78	  *+
78
	
 ,
" 

%+,D%E
	
 
"  &'? @	   78	  01
78
	
 2
" 
f%;< 
 
 
 
45
	
 
 
;<
	
 
* 
;<
	
 
* 

!'(>!?
	
 
  "#9:	   v&<= )   -(

56

	

 )

 

!'(>!?
	
 
  "#9:	   56	  -.

56

	

 /

 

%+,K%L
	
 
"  &'F G	   >?	  12
>?
	
 3
" 

%+,K%L
	
 
"  &'F G	   >?	  78
>?
	
 9
" 23	I	 & 23	I	 & 

%+,M%N
	
 
"  &'H I	   @A	  34
@A
	
 5
" 

%+,M%N
	
 
"  &'H I	   @A	  9:
@A
	
 ;
" 

 &'= >
	
 
* 

 &'= >
	
 
* 

%+,?%@
	
 
" S F+>$? I    F#67 I   *%
23
	
 &
" 

%+,?%@
	
 
"  &': ;	   23	  *+
23
	
 ,
" 

%+,G%H
	
 
"  &'B C	   :;	  -.
:;
	
 /
" 

%+,G%H
	
 
"  &'B C	   :;	  34
:;
	
 5
"  &'? @	   &'? @	  

%+,G%H
	
 
&  &'B C	   :;	  -.
:;
	
 /
& 

%+,G%H
	
 
&  &'B C	   :;	  34
:;
	
 5
& 
'? @ 
Y 
 
& 
67
	
 
* 
;<
	%	&
 
 
;<
	%	&
 
 

%+,G%H
	
 
"  &'B C	   :;	  -.
:;
	
 /
" 

%+,G%H
	
 
"  &'B C	   :;	  34
:;
	
 5
" 

%+,G%H
	
 
&  &'B C	   :;	  -.
:;
	
 /
& 

%+,G%H
	
 
&  &'B C	   :;	  34
:;
	
 5
& 	N$%;<	N	I	&	N 	N 
$%;<
	I	&
 
 >$%;<>	)	> >
 L$%;<L	y	!L L
 

%+,E%F
	%	&
 
" 

%+,E%F
	%	&
 
" 	O 	-	
 	M 	 	& 	"#8 	O 	Y 	 	O 	/ 	 3 	O  	!"5!" 	&'>#$ ,%'rD   r3   N)Qstripe._createable_api_resourcer   stripe._deletable_api_resourcer   stripe._expandable_fieldr   stripe._list_objectr   stripe._listable_api_resourcer   %stripe._nested_resource_class_methodsr   stripe._request_optionsr	   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   r   r   stripe._accountr   stripe._applicationr   stripe._bank_accountr    stripe._cardr!   r  stripe._charger"   stripe._customerr#   stripe._discountr$   stripe._invoice_line_itemr%   stripe._payment_intentr&   stripe._payment_methodr'   stripe._quoter(   stripe._setup_intentr)   stripe._shipping_rater*   stripe._sourcer+   stripe._subscriptionr,   stripe._tax_idr-   stripe._tax_rater.   *stripe.billing._credit_balance_transactionr/   stripe.test_helpers._test_clockr0   r3   rC   rD   rE   <module>r     s    B ? 4 * = O 2 ; A . A :
 
 
  '/01%))944#02%1$( : v&s{)$#	")$)$s{ 's{rD   