
    jofgn                        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mZ d d
lmZmZmZ  G d de          ZdS )    )Invoice)InvoiceLineItemService)InvoiceUpcomingLinesService)
ListObject)RequestOptions)SearchResultObject)StripeService)sanitize_id)DictListcast)LiteralNotRequired	TypedDictc            	           e Zd Z fd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          Z0 G dZ d[e          Z1 G d\ d]e          Z2 G d^ d_e          Z3 G d` dae          Z4 G db dce          Z5 G dd dee          Z6 G df dge          Z7 G dh die          Z8 G dj dke          Z9 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          ZA G d| d}e          ZB G d~ de          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          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  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          Zi i fdhedidjdkedlefdmZi i fdhedidjdkedlefdnZi i fdhedidodkedlefdpZi i fdhedidodkedlefdqZi i fdhedidrdkedlefdsZi i fdhedidrdkedlefdtZi i fdidudkedlee         fdvZi i fdidudkedlee         fdwZi i fdidxdkedlefdyZi i fdidxdkedlefdzZi fdid{dkedlee         fd|Zi fdid{dkedlee         fd}Zi i fdid~dkedlefdZi i fdid~dkedlefdZi fdhediddkedlefdZi fdhediddkedlefdZi i fdhediddkedlefdZi i fdhediddkedlefdZi i fdhediddkedlefdZi i fdhediddkedlefdZi i fdhediddkedlefdZi i fdhediddkedlefdZi fdhediddkedlefdZi fdhediddkedlefdZi i fdhediddkedlefdZi i fdhediddkedlefdZi fdhediddkedlefdZi fdhediddkedlefdZi i fdhediddkedlefdZi i fdhediddkedlefdZi i fdiddkedlefdZi i fdiddkedlefdZ܈ xZS (  InvoiceServicec                     t                                          |           t          | j                  | _        t          | j                  | _        d S )N)super__init__r   
_requestor
line_itemsr   upcoming_lines)self	requestor	__class__s     Q/var/www/html/Alfredo/env/lib/python3.11/site-packages/stripe/_invoice_service.pyr   zInvoiceService.__init__   sD    ###0AA9$/JJ    c                   b    e Zd ZU eee                  ed<   	 ed         ed<   	 ed         ed<   dS )InvoiceService.AddLinesParamsexpandLiteral['']|Dict[str, str]invoice_metadata!InvoiceService.AddLinesParamsLinelinesN__name__
__module____qualname__r   r   str__annotations__ r   r   AddLinesParamsr      s]         DI&&&&	 &&BCCCC	 78888	 	r   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<   dS )r#   amountdescriptiondiscountablez;Literal['']|List[InvoiceService.AddLinesParamsLineDiscount]	discountsinvoice_itemr!   metadata'InvoiceService.AddLinesParamsLinePeriodperiodprice*InvoiceService.AddLinesParamsLinePriceData
price_dataquantityz<Literal['']|List[InvoiceService.AddLinesParamsLineTaxAmount]tax_amountsLiteral['']|List[str]	tax_ratesNr&   r'   r(   r   intr*   r)   boolr+   r   r   AddLinesParamsLinez!InvoiceService.AddLinesParamsLine#   sE        C    	 !%%%%	 "$''''	 I
 	
 	
 	
	 "#&&&&	 :;;;;	 EFFFF	 3	   LMMMM	 c""""	 !J
 	
 	
 	
	 67777	 	r   r@   c                   V    e Zd ZU ee         ed<   	 ee         ed<   	 ee         ed<   dS ))InvoiceService.AddLinesParamsLineDiscountcoupondiscountpromotion_codeNr&   r'   r(   r   r)   r*   r+   r   r   AddLinesParamsLineDiscountrB   Y   W         C    	 c""""	 $C((((	 	r   rG   c                   &    e Zd ZU eed<   	 eed<   dS )r4   endstartNr&   r'   r(   r>   r*   r+   r   r   AddLinesParamsLinePeriodz'InvoiceService.AddLinesParamsLinePeriodg   /         	 


	 	r   rM   c                       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<   d	S )
r7   currencyproduct5InvoiceService.AddLinesParamsLinePriceDataProductDataproduct_data	exclusive	inclusiveunspecifiedtax_behaviorunit_amountunit_amount_decimalNr&   r'   r(   r)   r*   r   r   r>   r+   r   r   AddLinesParamsLinePriceDataz*InvoiceService.AddLinesParamsLinePriceDataq   s         	 S!!!!	 "C
 	
 	
 	
	 ";<
 	
 	
 	
	 !%%%%	 )----	 	r   r\   c                       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<   dS )rR   r/   imagesr3   nametax_codeNr&   r'   r(   r   r)   r*   r   r   r+   r   r   &AddLinesParamsLinePriceDataProductDataz5InvoiceService.AddLinesParamsLinePriceDataProductData             %%%%	 DI&&&&	 d38n----	 				 c""""	 	r   rb   c                   2    e Zd ZU eed<   	 ded<   	 eed<   dS )*InvoiceService.AddLinesParamsLineTaxAmountr.   5InvoiceService.AddLinesParamsLineTaxAmountTaxRateDatatax_rate_datataxable_amountNrL   r+   r   r   AddLinesParamsLineTaxAmountre      sF         	 ONNN	
 	 	r   ri   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	<   d
S )rf   countryr/   display_namerV   jurisdiction
percentagestateamusement_taxcommunications_taxgsthstigstjct	lease_taxpstqstrst	sales_taxvattax_typeN	r&   r'   r(   r   r)   r*   r?   floatr   r+   r   r   &AddLinesParamsLineTaxAmountTaxRateDataz5InvoiceService.AddLinesParamsLineTaxAmountTaxRateData            S!!!!	 !%%%%	 	 	 "#&&&&	 	 3	 
 	
 	
 	
 	 	r   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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-<   d.S )/InvoiceService.CreateParamsr;   account_tax_idsapplication_fee_amountauto_advance'InvoiceService.CreateParamsAutomaticTaxautomatic_taxcharge_automaticallysend_invoicecollection_methodrP   z8Literal['']|List[InvoiceService.CreateParamsCustomField]custom_fieldscustomerdays_until_duedefault_payment_methoddefault_sourcedefault_tax_ratesr/   z5Literal['']|List[InvoiceService.CreateParamsDiscount]r1   due_dateeffective_atr    footer&InvoiceService.CreateParamsFromInvoicefrom_invoice!InvoiceService.CreateParamsIssuerissuerr!   r3   numberon_behalf_of*InvoiceService.CreateParamsPaymentSettingspayment_settings)excludeincludepending_invoice_items_behavior$InvoiceService.CreateParamsRendering	rendering'InvoiceService.CreateParamsShippingCostshipping_cost*InvoiceService.CreateParamsShippingDetailsshipping_detailsstatement_descriptorsubscription'InvoiceService.CreateParamsTransferDatatransfer_dataN
r&   r'   r(   r   r*   r>   r?   r   r)   r   r+   r   r   CreateParamsr      sI        $%<====	 !,C 0000	 "$''''	 ##LMMMM	 ':;
 	
 	
 	
	 c""""	 #F
 	
 	
 	
	 c""""	 $C((((	 !,C 0000	 $C((((	 'tCy1111	 !%%%%	 C
 	
 	
 	
	 c""""	 "#&&&&	 DI&&&&	 C    	 ""JKKKK	 ?@@@@	 :;;;;	 C    	 "#&&&&	 &8
 	
 	
 	
	 )4())
 	
 	
 	
	 EFFFF	 ##LMMMM	 &8
 	
 	
 	
	 *#....	 "#&&&&	 ##LMMMM	 	r   r   c                   2    e Zd ZU eed<   	 ed         ed<   dS )r   enabled0InvoiceService.CreateParamsAutomaticTaxLiability	liabilityNr&   r'   r(   r?   r*   r   r+   r   r   CreateParamsAutomaticTaxz'InvoiceService.CreateParamsAutomaticTaxp  @         	 >
 	
 	
 	
	 	r   r   c                   >    e Zd ZU ee         ed<   	 ed         ed<   dS )r   accountr   r   typeNr&   r'   r(   r   r)   r*   r   r+   r   r   !CreateParamsAutomaticTaxLiabilityz0InvoiceService.CreateParamsAutomaticTaxLiability|  @         S!!!!	 '((((	 	r   r   c                   &    e Zd ZU eed<   	 eed<   dS )&InvoiceService.CreateParamsCustomFieldr_   valueNr&   r'   r(   r)   r*   r+   r   r   CreateParamsCustomFieldr     /         				 


	 	r   r   c                   V    e Zd ZU ee         ed<   	 ee         ed<   	 ee         ed<   dS )#InvoiceService.CreateParamsDiscountrC   rD   rE   NrF   r+   r   r   CreateParamsDiscountr     rH   r   r   c                   2    e Zd ZU ed         ed<   	 eed<   dS )r   revisionactioninvoiceNr&   r'   r(   r   r*   r)   r+   r   r   CreateParamsFromInvoicez&InvoiceService.CreateParamsFromInvoice  s7         
####	 	 	r   r   c                   >    e Zd ZU ee         ed<   	 ed         ed<   dS )r   r   r   r   Nr   r+   r   r   CreateParamsIssuerz!InvoiceService.CreateParamsIssuer  r   r   r   c                   V    e Zd ZU ed         ed<   	 ed         ed<   	 ed         ed<   dS )r   Literal['']|strdefault_mandate>InvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionspayment_method_options  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', 'konbini', 'link', 'p24', 'paynow', 'paypal', 'promptpay', 'revolut_pay', 'sepa_credit_transfer', 'sepa_debit', 'sofort', 'swish', 'us_bank_account', 'wechat_pay']]payment_method_typesNr&   r'   r(   r   r*   r+   r   r   CreateParamsPaymentSettingsz*InvoiceService.CreateParamsPaymentSettings  m         $%67777	 !,L!
 	
 	
 	
	 * W
 	
 	
 	
	 	r   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<   dS )r   zSLiteral['']|InvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsAcssDebit
acss_debitzTLiteral['']|InvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsBancontact
bancontactzNLiteral['']|InvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsCardcardzYLiteral['']|InvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalancecustomer_balancezQLiteral['']|InvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsKonbinikonbinizSLiteral['']|InvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsSepaDebit
sepa_debitzWLiteral['']|InvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountus_bank_accountNr   r+   r   r   /CreateParamsPaymentSettingsPaymentMethodOptionsz>InvoiceService.CreateParamsPaymentSettingsPaymentMethodOptions           a
 	
 	
 	
	  b
 	
 	
 	
	 \
 	
 	
 	
	 &g
 	
 	
 	
	 _
 	
 	
 	
	  a
 	
 	
 	
	 %e
 	
 	
 	
	 	r   r   c                   J    e Zd ZU ed         ed<   	 eed                  ed<   dS )GInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsAcssDebitUInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsAcssDebitMandateOptionsmandate_options	automaticinstantmicrodepositsverification_methodNr&   r'   r(   r   r*   r   r+   r   r   8CreateParamsPaymentSettingsPaymentMethodOptionsAcssDebitr     W         $c
 	
 	
 	
	 );<
 	
 	
 	
	 	r   r   c                   2    e Zd ZU eed                  ed<   dS )r   businesspersonaltransaction_typeNr&   r'   r(   r   r   r*   r+   r   r   FCreateParamsPaymentSettingsPaymentMethodOptionsAcssDebitMandateOptionszUInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsAcssDebitMandateOptions  /          &g.D&EFFFF	 	r   r   c                   2    e Zd ZU eed                  ed<   dS )HInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsBancontactdeenfrnlpreferred_languageNr   r+   r   r   9CreateParamsPaymentSettingsPaymentMethodOptionsBancontactr     -         '0F(GHHHH	 	r   r   c                   J    e Zd ZU ed         ed<   	 eed                  ed<   dS )BInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsCardNInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsinstallmentsanyr   	challengerequest_three_d_secureNr   r+   r   r   3CreateParamsPaymentSettingsPaymentMethodOptionsCardr     W         !\
 	
 	
 	
	
 !,34!
 	
 	
 	
	 	r   r  c                   >    e Zd ZU ee         ed<   	 ed         ed<   dS )r   r   z^Literal['']|InvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlanplanNr&   r'   r(   r   r?   r*   r+   r   r   ?CreateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentszNInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsCardInstallments  J          T""""	 l
 	
 	
 	
	 	r   r  c                   J    e Zd ZU eed<   	 ed         ed<   	 ed         ed<   dS )RInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlancountmonthintervalfixed_countr   Nr&   r'   r(   r>   r*   r   r+   r   r   CCreateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlanr  +  Q          


	 '""""	 m$$$$	 	r   r  c                   >    e Zd ZU ed         ed<   	 ee         ed<   dS )MInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceYInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferbank_transferfunding_typeNr&   r'   r(   r   r*   r)   r+   r   r   >CreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalancer  <  J          #g
 	
 	
 	
	 "#&&&&	 	r   r  c                   >    e Zd ZU ed         ed<   	 ee         ed<   dS )r  gInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfereu_bank_transferr   Nr  r+   r   r   JCreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferzYInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferJ  J          &u
 	
 	
 	
	 #	 	r   r!  c                       e Zd ZU eed<   dS )r  rk   Nr   r+   r   r   XCreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferzgInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferX  !          	 	r   r$  c                       e Zd ZdS )EInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsKonbiniNr&   r'   r(   r+   r   r   6CreateParamsPaymentSettingsPaymentMethodOptionsKonbinir'  `          r   r)  c                       e Zd ZdS )GInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsSepaDebitNr(  r+   r   r   8CreateParamsPaymentSettingsPaymentMethodOptionsSepaDebitr,  c  r*  r   r-  c                   J    e Zd ZU ed         ed<   	 eed                  ed<   dS )KInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccount_InvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsfinancial_connectionsr   r   Nr   r+   r   r   <CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountr/  f  Y           +m 
 	
 	
 	
	 );<
 	
 	
 	
	 	r   r2  c                       e Zd ZU ed         ed<   	 eeed                           ed<   	 eeed                           ed<   dS )r0  fInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFiltersfiltersbalances	ownershippayment_methodtransactionspermissionsr8  r9  r;  prefetchNr&   r'   r(   r   r*   r   r   r+   r   r   PCreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsz_InvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsv            t
 	
 	
 	
	 !M
 	
 	
 	
	 @AB
 	
 	
 	
	 	r   r@  c                   >    e Zd ZU eeed                           ed<   dS )r5  checkingsavingsaccount_subcategoriesNr&   r'   r(   r   r   r   r*   r+   r   r   WCreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilterszfInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters  =           +./0 
 	
 	
 	
	 	r   rH  c                   >    e Zd ZU ed         ed<   	 ed         ed<   dS )r   ;Literal['']|Literal['exclude_tax', 'include_inclusive_tax']amount_tax_display'InvoiceService.CreateParamsRenderingPdfpdfNr   r+   r   r   CreateParamsRenderingz$InvoiceService.CreateParamsRendering  I         'I
 	
 	
 	
	 BCCCC	 	r   rO  c                   2    e Zd ZU eed                  ed<   dS )rM  a4autoletter	page_sizeNr   r+   r   r   CreateParamsRenderingPdfz'InvoiceService.CreateParamsRenderingPdf  -         w'=>????	 	r   rW  c                   >    e Zd ZU ee         ed<   	 ed         ed<   dS )r   shipping_rate7InvoiceService.CreateParamsShippingCostShippingRateDatashipping_rate_dataNrF   r+   r   r   CreateParamsShippingCostz'InvoiceService.CreateParamsShippingCost  H         "3''''	 (E
 	
 	
 	
	 	r   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
<   dS )r[  GInvoiceService.CreateParamsShippingCostShippingRateDataDeliveryEstimatedelivery_estimaterl   BInvoiceService.CreateParamsShippingCostShippingRateDataFixedAmountfixed_amountr3   rT   rX   r`   r   Nr&   r'   r(   r   r*   r)   r   r   r+   r   r   (CreateParamsShippingCostShippingRateDataz7InvoiceService.CreateParamsShippingCostShippingRateData           &U
 	
 	
 	
	 	 "P
 	
 	
 	
	 d38n----	 ";<
 	
 	
 	
	 c""""	 '.12222	 	r   re  c                   >    e Zd ZU ed         ed<   	 ed         ed<   dS )r`  NInvoiceService.CreateParamsShippingCostShippingRateDataDeliveryEstimateMaximummaximumNInvoiceService.CreateParamsShippingCostShippingRateDataDeliveryEstimateMinimumminimumNr   r+   r   r   8CreateParamsShippingCostShippingRateDataDeliveryEstimatezGInvoiceService.CreateParamsShippingCostShippingRateDataDeliveryEstimate  Q         \
 	
 	
 	
	 \
 	
 	
 	
	 	r   rl  c                   2    e Zd ZU ed         ed<   	 eed<   dS )rh  business_daydayhourr  weekunitr   Nr&   r'   r(   r   r*   r>   r+   r   r   ?CreateParamsShippingCostShippingRateDataDeliveryEstimateMaximumzNInvoiceService.CreateParamsShippingCostShippingRateDataDeliveryEstimateMaximum  :          DEEEE	 


	 	r   rv  c                   2    e Zd ZU ed         ed<   	 eed<   dS )rj  ro  rt  r   Nru  r+   r   r   ?CreateParamsShippingCostShippingRateDataDeliveryEstimateMinimumzNInvoiceService.CreateParamsShippingCostShippingRateDataDeliveryEstimateMinimum  rw  r   ry  c                   N    e Zd ZU eed<   	 eed<   	 eeedf                  ed<   dS )rb  r.   rP   QInvoiceService.CreateParamsShippingCostShippingRateDataFixedAmountCurrencyOptionscurrency_optionsNr&   r'   r(   r>   r*   r)   r   r   r+   r   r   3CreateParamsShippingCostShippingRateDataFixedAmountzBInvoiceService.CreateParamsShippingCostShippingRateDataFixedAmount  a         	 	 &ce
 	
 	
 	
	 	r   r~  c                   >    e Zd ZU eed<   	 eed                  ed<   dS )r{  r.   rT   rX   Nr&   r'   r(   r>   r*   r   r   r+   r   r   BCreateParamsShippingCostShippingRateDataFixedAmountCurrencyOptionszQInvoiceService.CreateParamsShippingCostShippingRateDataFixedAmountCurrencyOptions  H          	 ";<
 	
 	
 	
	 	r   r  c                   >    e Zd ZU ded<   	 eed<   	 ed         ed<   dS )r   1InvoiceService.CreateParamsShippingDetailsAddressaddressr_   r   phoneNr&   r'   r(   r*   r)   r   r+   r   r   CreateParamsShippingDetailsz*InvoiceService.CreateParamsShippingDetails%  K         DDDD	 				 ,----	 	r   r  c                       e Zd ZU ee         ed<   	 ee         ed<   	 ee         ed<   	 ee         ed<   	 ee         ed<   	 ee         ed<   dS )r  cityrk   line1line2postal_codero   NrF   r+   r   r   "CreateParamsShippingDetailsAddressz1InvoiceService.CreateParamsShippingDetailsAddress3           #	 S!!!!	 3	 3	 !%%%%	 3	 	r   r  c                   2    e Zd ZU ee         ed<   	 eed<   dS )r   r.   destinationNr&   r'   r(   r   r>   r*   r)   r+   r   r   CreateParamsTransferDataz'InvoiceService.CreateParamsTransferDataM  :         C    	 	 	r   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<   dS )"InvoiceService.CreatePreviewParams.InvoiceService.CreatePreviewParamsAutomaticTaxr   rC   rP   r   1InvoiceService.CreatePreviewParamsCustomerDetailscustomer_detailsz<Literal['']|List[InvoiceService.CreatePreviewParamsDiscount]r1   r    -InvoiceService.CreatePreviewParamsInvoiceIteminvoice_items(InvoiceService.CreatePreviewParamsIssuerr   r   r   next	recurringpreview_modeschedule1InvoiceService.CreatePreviewParamsScheduleDetailsschedule_detailsr   5InvoiceService.CreatePreviewParamsSubscriptionDetailssubscription_detailsN)r&   r'   r(   r   r*   r)   r   r   r+   r   r   CreatePreviewParamsr  W  s        "<
 	
 	
 	
	 C    	 c""""	 c""""	 &?
 	
 	
 	
	 J
 	
 	
 	
	 DI&&&&	 #@A
 	
 	
 	
	 FGGGG	 ""34444	 "'*=">????	 c""""	 &?
 	
 	
 	
	 "#&&&&	 *C
 	
 	
 	
	 	r   r  c                   2    e Zd ZU eed<   	 ed         ed<   dS )r  r   7InvoiceService.CreatePreviewParamsAutomaticTaxLiabilityr   Nr   r+   r   r   CreatePreviewParamsAutomaticTaxz.InvoiceService.CreatePreviewParamsAutomaticTax  s@         	 E
 	
 	
 	
	 	r   r  c                   >    e Zd ZU ee         ed<   	 ed         ed<   dS )r  r   r   r   Nr   r+   r   r   (CreatePreviewParamsAutomaticTaxLiabilityz7InvoiceService.CreatePreviewParamsAutomaticTaxLiability  r   r   r  c                       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
<   dS )r  zDLiteral['']|InvoiceService.CreatePreviewParamsCustomerDetailsAddressr  zELiteral['']|InvoiceService.CreatePreviewParamsCustomerDetailsShippingshipping4InvoiceService.CreatePreviewParamsCustomerDetailsTaxtax0Literal['']|Literal['exempt', 'none', 'reverse']
tax_exempt6InvoiceService.CreatePreviewParamsCustomerDetailsTaxIdtax_idsNr&   r'   r(   r   r*   r   r+   r   r   "CreatePreviewParamsCustomerDetailsz1InvoiceService.CreatePreviewParamsCustomerDetails  s         R
 	
 	
 	
	 S
 	
 	
 	
	 B
 	
 	
 	
	  >
 	
 	
 	
	 IJ
 	
 	
 	
	 	r   r  c                       e Zd ZU ee         ed<   	 ee         ed<   	 ee         ed<   	 ee         ed<   	 ee         ed<   	 ee         ed<   dS )8InvoiceService.CreatePreviewParamsCustomerDetailsAddressr  rk   r  r  r  ro   NrF   r+   r   r   )CreatePreviewParamsCustomerDetailsAddressr    r  r   r  c                   >    e Zd ZU ded<   	 eed<   	 ee         ed<   dS )9InvoiceService.CreatePreviewParamsCustomerDetailsShipping@InvoiceService.CreatePreviewParamsCustomerDetailsShippingAddressr  r_   r  Nr  r+   r   r   *CreatePreviewParamsCustomerDetailsShippingr    sP         N	
 	
 	
	 				 3	 	r   r  c                       e Zd ZU ee         ed<   	 ee         ed<   	 ee         ed<   	 ee         ed<   	 ee         ed<   	 ee         ed<   dS )r  r  rk   r  r  r  ro   NrF   r+   r   r   1CreatePreviewParamsCustomerDetailsShippingAddressz@InvoiceService.CreatePreviewParamsCustomerDetailsShippingAddress  r  r   r  c                   &    e Zd ZU ed         ed<   dS )r  r   
ip_addressNr   r+   r   r   %CreatePreviewParamsCustomerDetailsTaxz4InvoiceService.CreatePreviewParamsCustomerDetailsTax  (          12222	 	r   r  c                   2    e Zd ZU ed         ed<   	 eed<   dS )r  Iad_nrtae_trnar_cuitau_abnau_arnbg_uicbh_vatbo_tinbr_cnpjbr_cpfca_bn
ca_gst_hst	ca_pst_bc	ca_pst_mb	ca_pst_skca_qst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hk_brhu_tinid_npwpil_vatin_gstis_vatjp_cnjp_rnjp_trnke_pinkr_brnkz_binli_uidmx_rfcmy_frpmy_itnmy_sstng_tinno_vatno_voecnz_gstom_vatpe_rucph_tinro_tinrs_pibru_innru_kppsa_vatsg_gstsg_uensi_tinsv_nitth_vattr_tintw_vatua_vatus_einuy_rucve_rifvn_tinza_vatr   r   Nr   r+   r   r   'CreatePreviewParamsCustomerDetailsTaxIdz6InvoiceService.CreatePreviewParamsCustomerDetailsTaxId!  H         HJ
 J	
 J	
 J	
V	 


	 	r   r  c                   V    e Zd ZU ee         ed<   	 ee         ed<   	 ee         ed<   dS )*InvoiceService.CreatePreviewParamsDiscountrC   rD   rE   NrF   r+   r   r   CreatePreviewParamsDiscountr  u  rH   r   r  c                      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<   dS )r  r.   rP   r/   r0   zGLiteral['']|List[InvoiceService.CreatePreviewParamsInvoiceItemDiscount]r1   invoiceitemr!   r3   3InvoiceService.CreatePreviewParamsInvoiceItemPeriodr5   r6   6InvoiceService.CreatePreviewParamsInvoiceItemPriceDatar8   r9   rT   rX   r   r`   r;   r<   rY   rZ   N	r&   r'   r(   r   r>   r*   r)   r?   r   r+   r   r   CreatePreviewParamsInvoiceItemz-InvoiceService.CreatePreviewParamsInvoiceItem  s        C    	 c""""	 !%%%%	 "$''''	 U
 	
 	
 	
	 !%%%%	 :;;;;	 A
 	
 	
 	
	 3	  D
 	
 	
 	
	 c""""	 ";<
 	
 	
 	
	 /0000	 67777	 !%%%%	 )----	 	r   r  c                   V    e Zd ZU ee         ed<   	 ee         ed<   	 ee         ed<   dS )5InvoiceService.CreatePreviewParamsInvoiceItemDiscountrC   rD   rE   NrF   r+   r   r   &CreatePreviewParamsInvoiceItemDiscountr    rH   r   r  c                   &    e Zd ZU eed<   	 eed<   dS )r  rJ   rK   NrL   r+   r   r   $CreatePreviewParamsInvoiceItemPeriodz3InvoiceService.CreatePreviewParamsInvoiceItemPeriod  rN   r   r  c                   z    e Zd ZU eed<   	 eed<   	 eed                  ed<   	 ee         ed<   	 ee         ed<   dS )r  rP   rQ   rT   rX   rY   rZ   Nr[   r+   r   r   'CreatePreviewParamsInvoiceItemPriceDataz6InvoiceService.CreatePreviewParamsInvoiceItemPriceData           	 	 ";<
 	
 	
 	
	 !%%%%	 )----	 	r   r!  c                   >    e Zd ZU ee         ed<   	 ed         ed<   dS )r  r   r   r   Nr   r+   r   r   CreatePreviewParamsIssuerz(InvoiceService.CreatePreviewParamsIssuer  r   r   r$  c                   z    e Zd ZU eed                  ed<   	 eed                  ed<   	 eed                  ed<   dS )r  cancelreleaseend_behavior6InvoiceService.CreatePreviewParamsScheduleDetailsPhasephasesalways_invoicecreate_prorationsnoneproration_behaviorNr&   r'   r(   r   r   r*   r   r+   r   r   "CreatePreviewParamsScheduleDetailsz1InvoiceService.CreatePreviewParamsScheduleDetails  s{         !'*=">????	 IJ
 	
 	
 	
	 (AB
 	
 	
 	
	 	r   r2  c                   v   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$<   d%S )&r*  DInvoiceService.CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemadd_invoice_itemsapplication_fee_percentBInvoiceService.CreatePreviewParamsScheduleDetailsPhaseAutomaticTaxr   r   phase_startbilling_cycle_anchorzSLiteral['']|InvoiceService.CreatePreviewParamsScheduleDetailsPhaseBillingThresholdsbilling_thresholdsr   r   rC   rP   r   r;   r   r   r/   zPLiteral['']|List[InvoiceService.CreatePreviewParamsScheduleDetailsPhaseDiscount]r1   int|Literal['now']end_dateEInvoiceService.CreatePreviewParamsScheduleDetailsPhaseInvoiceSettingsinvoice_settings:InvoiceService.CreatePreviewParamsScheduleDetailsPhaseItemitems
iterationsr3   r   r,  r0  
start_dateBInvoiceService.CreatePreviewParamsScheduleDetailsPhaseTransferDatar   trial	trial_endNr&   r'   r(   r   r   r*   r   r   r)   r>   r   r?   r+   r   r   'CreatePreviewParamsScheduleDetailsPhasez6InvoiceService.CreatePreviewParamsScheduleDetailsPhase  s        &V
 	
 	
 	

	 "-U!3333	 #P
 	
 	
 	
	 *'2L*MNNNN	 (a
 	
 	
 	
	 ':;
 	
 	
 	
	 C    	 c""""	 !,C 0000	 ''>????	 !!23333	 ^
 	
 	
 	
	 23333	 &S
 	
 	
 	
	 H
 	
 	
 	
	  $$$$	 d38n----	 "#&&&&	 (AB
 	
 	
 	
	   45555	 #P
 	
 	
 	
	 4    	 34444	 	r   rH  c                       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<   d	S )
r4  LInvoiceService.CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemDiscountr1   r6   MInvoiceService.CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemPriceDatar8   r9   r;   r<   Nr&   r'   r(   r   r   r*   r)   r>   r+   r   r   5CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemzDInvoiceService.CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItem  s         ^
 	
 	
 	

	 3	  [
 	
 	
 	
	 c""""	 67777	 	r   rM  c                   V    e Zd ZU ee         ed<   	 ee         ed<   	 ee         ed<   dS )rJ  rC   rD   rE   NrF   r+   r   r   =CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemDiscountzLInvoiceService.CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemDiscount  sY          C    	 c""""	 $C((((	 	r   rO  c                   z    e Zd ZU eed<   	 eed<   	 eed                  ed<   	 ee         ed<   	 ee         ed<   dS )rK  rP   rQ   rT   rX   rY   rZ   Nr[   r+   r   r   >CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemPriceDatazMInvoiceService.CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemPriceData  s          	 	 ";<
 	
 	
 	
	 !%%%%	 )----	 	r   rQ  c                   2    e Zd ZU eed<   	 ed         ed<   dS )r7  r   KInvoiceService.CreatePreviewParamsScheduleDetailsPhaseAutomaticTaxLiabilityr   Nr   r+   r   r   3CreatePreviewParamsScheduleDetailsPhaseAutomaticTaxzBInvoiceService.CreatePreviewParamsScheduleDetailsPhaseAutomaticTax  s@         	 Y
 	
 	
 	
	 	r   rT  c                   >    e Zd ZU ee         ed<   	 ed         ed<   dS )rS  r   r   r   Nr   r+   r   r   <CreatePreviewParamsScheduleDetailsPhaseAutomaticTaxLiabilityzKInvoiceService.CreatePreviewParamsScheduleDetailsPhaseAutomaticTaxLiability  B          S!!!!	 '((((	 	r   rV  c                   >    e Zd ZU ee         ed<   	 ee         ed<   dS )GInvoiceService.CreatePreviewParamsScheduleDetailsPhaseBillingThresholds
amount_gtereset_billing_cycle_anchorNr&   r'   r(   r   r>   r*   r?   r+   r   r   8CreatePreviewParamsScheduleDetailsPhaseBillingThresholdsrY    ?         $$$$	 %0$5555	 	r   r]  c                   V    e Zd ZU ee         ed<   	 ee         ed<   	 ee         ed<   dS )>InvoiceService.CreatePreviewParamsScheduleDetailsPhaseDiscountrC   rD   rE   NrF   r+   r   r   /CreatePreviewParamsScheduleDetailsPhaseDiscountr`    rH   r   ra  c                   V    e Zd ZU ed         ed<   	 ee         ed<   	 ed         ed<   dS )r>  r;   r   r   KInvoiceService.CreatePreviewParamsScheduleDetailsPhaseInvoiceSettingsIssuerr   Nr&   r'   r(   r   r*   r>   r+   r   r   6CreatePreviewParamsScheduleDetailsPhaseInvoiceSettingszEInvoiceService.CreatePreviewParamsScheduleDetailsPhaseInvoiceSettings  sa         $%<====	 $C((((	 Y
 	
 	
 	
	 	r   re  c                   >    e Zd ZU ee         ed<   	 ed         ed<   dS )rc  r   r   r   Nr   r+   r   r   <CreatePreviewParamsScheduleDetailsPhaseInvoiceSettingsIssuerzKInvoiceService.CreatePreviewParamsScheduleDetailsPhaseInvoiceSettingsIssuer  rW  r   rg  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<   dS )r@  zWLiteral['']|InvoiceService.CreatePreviewParamsScheduleDetailsPhaseItemBillingThresholdsr;  zTLiteral['']|List[InvoiceService.CreatePreviewParamsScheduleDetailsPhaseItemDiscount]r1   r3   r	  r6   CInvoiceService.CreatePreviewParamsScheduleDetailsPhaseItemPriceDatar8   r9   r;   r<   Nr&   r'   r(   r   r*   r   r)   r>   r+   r   r   +CreatePreviewParamsScheduleDetailsPhaseItemz:InvoiceService.CreatePreviewParamsScheduleDetailsPhaseItem  s         'e
 	
 	
 	
	 b
 	
 	
 	
	 d38n----	 #	 3	  Q
 	
 	
 	
	 c""""	 67777	 	r   rk  c                       e Zd ZU eed<   dS )KInvoiceService.CreatePreviewParamsScheduleDetailsPhaseItemBillingThresholds	usage_gteNrL   r+   r   r   <CreatePreviewParamsScheduleDetailsPhaseItemBillingThresholdsrm  E  !          	 	r   ro  c                   V    e Zd ZU ee         ed<   	 ee         ed<   	 ee         ed<   dS )BInvoiceService.CreatePreviewParamsScheduleDetailsPhaseItemDiscountrC   rD   rE   NrF   r+   r   r   3CreatePreviewParamsScheduleDetailsPhaseItemDiscountrr  M  rH   r   rs  c                       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<   d	S )
ri  rP   rQ   LInvoiceService.CreatePreviewParamsScheduleDetailsPhaseItemPriceDataRecurringr  rT   rX   rY   rZ   Nr[   r+   r   r   4CreatePreviewParamsScheduleDetailsPhaseItemPriceDatazCInvoiceService.CreatePreviewParamsScheduleDetailsPhaseItemPriceData[  s         	 	 baaa	 ";<
 	
 	
 	
	 !%%%%	 )----	 	r   rv  c                   >    e Zd ZU ed         ed<   	 ee         ed<   dS )ru  rq  r  rs  yearr  interval_countNr&   r'   r(   r   r*   r   r>   r+   r   r   =CreatePreviewParamsScheduleDetailsPhaseItemPriceDataRecurringzLInvoiceService.CreatePreviewParamsScheduleDetailsPhaseItemPriceDataRecurringw  B          89999	 $C((((	 	r   r|  c                   2    e Zd ZU ee         ed<   	 eed<   dS )rD  amount_percentr  Nr&   r'   r(   r   r   r*   r)   r+   r   r   3CreatePreviewParamsScheduleDetailsPhaseTransferDatazBInvoiceService.CreatePreviewParamsScheduleDetailsPhaseTransferData  :         #E****	 	 	r   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<   dS )r  Literal['now', 'unchanged']|intr:  Literal['']|int	cancel_atcancel_at_period_end
cancel_nowr;   r   9InvoiceService.CreatePreviewParamsSubscriptionDetailsItemrA  r,  r0  proration_datenow	resume_atrC  Literal['now']|intrF  N	r&   r'   r(   r   r*   r?   r   r   r>   r+   r   r   &CreatePreviewParamsSubscriptionDetailsz5InvoiceService.CreatePreviewParamsSubscriptionDetails  s=        )*KLLLL	 01111	 *$////	  %%%%	 ''>????	 LM
 	
 	
 	
	 (AB
 	
 	
 	
	 $C((((	 wu~....	  $$$$	 34444	 	r   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<   dS )r  zVLiteral['']|InvoiceService.CreatePreviewParamsSubscriptionDetailsItemBillingThresholdsr;  clear_usagedeletedzSLiteral['']|List[InvoiceService.CreatePreviewParamsSubscriptionDetailsItemDiscount]r1   idr!   r3   r	  r6   BInvoiceService.CreatePreviewParamsSubscriptionDetailsItemPriceDatar8   r9   r;   r<   Nr&   r'   r(   r   r*   r?   r)   r>   r+   r   r   *CreatePreviewParamsSubscriptionDetailsItemz9InvoiceService.CreatePreviewParamsSubscriptionDetailsItem  s4        'd
 	
 	
 	
	 !&&&&	 T""""	 a
 	
 	
 	
	 	 :;;;;	 #	 3	  P
 	
 	
 	
	 c""""	 67777	 	r   r  c                       e Zd ZU eed<   dS )JInvoiceService.CreatePreviewParamsSubscriptionDetailsItemBillingThresholdsrn  NrL   r+   r   r   ;CreatePreviewParamsSubscriptionDetailsItemBillingThresholdsr    rp  r   r  c                   V    e Zd ZU ee         ed<   	 ee         ed<   	 ee         ed<   dS )AInvoiceService.CreatePreviewParamsSubscriptionDetailsItemDiscountrC   rD   rE   NrF   r+   r   r   2CreatePreviewParamsSubscriptionDetailsItemDiscountr    rH   r   r  c                       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<   d	S )
r  rP   rQ   KInvoiceService.CreatePreviewParamsSubscriptionDetailsItemPriceDataRecurringr  rT   rX   rY   rZ   Nr[   r+   r   r   3CreatePreviewParamsSubscriptionDetailsItemPriceDatazBInvoiceService.CreatePreviewParamsSubscriptionDetailsItemPriceData	  s         	 	 a```	 ";<
 	
 	
 	
	 !%%%%	 )----	 	r   r  c                   >    e Zd ZU ed         ed<   	 ee         ed<   dS )r  rx  r  rz  Nr{  r+   r   r   <CreatePreviewParamsSubscriptionDetailsItemPriceDataRecurringzKInvoiceService.CreatePreviewParamsSubscriptionDetailsItemPriceDataRecurring%  r}  r   r  c                       e Zd ZdS )InvoiceService.DeleteParamsNr(  r+   r   r   DeleteParamsr  1  r*  r   r  c                   J    e Zd ZU ee         ed<   	 eee                  ed<   dS )$InvoiceService.FinalizeInvoiceParamsr   r    N)r&   r'   r(   r   r?   r*   r   r)   r+   r   r   FinalizeInvoiceParamsr  4  sC         !$''''	 DI&&&&	 	r   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<   dS )InvoiceService.ListParamsr   r   z$InvoiceService.ListParamsCreated|intcreatedr   z$InvoiceService.ListParamsDueDate|intr   ending_beforer    limitstarting_after)draftopenpaiduncollectiblevoidstatusr   N)	r&   r'   r(   r   r   r*   r)   r   r>   r+   r   r   
ListParamsr  >  s        &:;
 	
 	
 	
	 CDDDD	 c""""	 DEEEE"3''''	 DI&&&&	 3	 $C((((	 DE
 	
 	
 	
	 "#&&&&	 	r   r  c                   n    e Zd ZU ee         ed<   	 ee         ed<   	 ee         ed<   	 ee         ed<   dS ) InvoiceService.ListParamsCreatedgtgteltlteNr&   r'   r(   r   r>   r*   r+   r   r   ListParamsCreatedr  i  o         	 	 	 	 	r   r  c                   n    e Zd ZU ee         ed<   	 ee         ed<   	 ee         ed<   	 ee         ed<   dS ) InvoiceService.ListParamsDueDater  r  r  r  Nr  r+   r   r   ListParamsDueDater  {  r  r   r  c                   2    e Zd ZU eee                  ed<   dS )&InvoiceService.MarkUncollectibleParamsr    Nr%   r+   r   r   MarkUncollectibleParamsr    +         DI&&&&	 	r   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<   d	S )
InvoiceService.PayParamsr    forgiver   mandateoff_sessionpaid_out_of_bandr:  sourceN)r&   r'   r(   r   r   r)   r*   r?   r+   r   r   	PayParamsr    s         DI&&&&	 T""""	
 .////	 !&&&&	 &d++++	 $C((((	 C    	 	r   r  c                   b    e Zd ZU eee                  ed<   	 ed         ed<   	 ed         ed<   dS ) InvoiceService.RemoveLinesParamsr    r!   r"   $InvoiceService.RemoveLinesParamsLiner$   Nr%   r+   r   r   RemoveLinesParamsr    ]         DI&&&&	 &&BCCCC	 :;;;;	 	r   r  c                   2    e Zd ZU ed         ed<   	 eed<   dS )r  )deleteunassignbehaviorr  Nr   r+   r   r   RemoveLinesParamsLinez$InvoiceService.RemoveLinesParamsLine  s8         .////	 	 	r   r  c                   2    e Zd ZU eee                  ed<   dS )InvoiceService.RetrieveParamsr    Nr%   r+   r   r   RetrieveParamsr    r  r   r  c                   n    e Zd ZU eee                  ed<   	 ee         ed<   	 ee         ed<   	 eed<   dS )InvoiceService.SearchParamsr    r  pagequeryN)r&   r'   r(   r   r   r)   r*   r>   r+   r   r   SearchParamsr    sk         DI&&&&	 3	 #	 


	 	r   r  c                   2    e Zd ZU eee                  ed<   dS ) InvoiceService.SendInvoiceParamsr    Nr%   r+   r   r   SendInvoiceParamsr    r  r   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+<   d,S )-InvoiceService.UpcomingParams)InvoiceService.UpcomingParamsAutomaticTaxr   rC   rP   r   ,InvoiceService.UpcomingParamsCustomerDetailsr  z7Literal['']|List[InvoiceService.UpcomingParamsDiscount]r1   r    (InvoiceService.UpcomingParamsInvoiceItemr  #InvoiceService.UpcomingParamsIssuerr   r   r   r  r  r  ,InvoiceService.UpcomingParamsScheduleDetailsr  r   r  !subscription_billing_cycle_anchorr  subscription_cancel_at!subscription_cancel_at_period_endsubscription_cancel_nowr;   subscription_default_tax_rates0InvoiceService.UpcomingParamsSubscriptionDetailsr  -InvoiceService.UpcomingParamsSubscriptionItemsubscription_itemsr,  subscription_proration_behaviorsubscription_proration_dater  subscription_resume_atsubscription_start_dater  subscription_trial_endsubscription_trial_from_planN)
r&   r'   r(   r   r*   r)   r   r   r?   r>   r+   r   r   UpcomingParamsr    s        "#NOOOO	 C    	 c""""	 c""""	 &:
 	
 	
 	
	 E
 	
 	
 	
	 DI&&&&	 #;<
 	
 	
 	
	 ABBBB	 ""34444	 "'*=">????	 c""""	 &:
 	
 	
 	
	 "#&&&&	 ,7-,
 	
 	
 	
	 !,,= >>>>	 ,7t+<<<<	 "-T!2222	 )44K(LLLL	 *>
 	
 	
 	
	 (@A
 	
 	
 	
	 *5AB*
 	
 	
 	
	 &1%5555	 !,GEN ;;;;	 "-S!1111	 !,,@ AAAA	 '2$&7777	 	r   r  c                   2    e Zd ZU eed<   	 ed         ed<   dS )r  r   2InvoiceService.UpcomingParamsAutomaticTaxLiabilityr   Nr   r+   r   r   UpcomingParamsAutomaticTaxz)InvoiceService.UpcomingParamsAutomaticTaxg  s@         	 @
 	
 	
 	
	 	r   r  c                   >    e Zd ZU ee         ed<   	 ed         ed<   dS )r  r   r   r   Nr   r+   r   r   #UpcomingParamsAutomaticTaxLiabilityz2InvoiceService.UpcomingParamsAutomaticTaxLiabilitys  r   r   r  c                       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
<   dS )r  z?Literal['']|InvoiceService.UpcomingParamsCustomerDetailsAddressr  z@Literal['']|InvoiceService.UpcomingParamsCustomerDetailsShippingr  /InvoiceService.UpcomingParamsCustomerDetailsTaxr  r  r  1InvoiceService.UpcomingParamsCustomerDetailsTaxIdr  Nr  r+   r   r   UpcomingParamsCustomerDetailsz,InvoiceService.UpcomingParamsCustomerDetails}  s         M
 	
 	
 	
	 N
 	
 	
 	
	 JKKKK	  >
 	
 	
 	
	 DE
 	
 	
 	
	 	r   r   c                       e Zd ZU ee         ed<   	 ee         ed<   	 ee         ed<   	 ee         ed<   	 ee         ed<   	 ee         ed<   dS )3InvoiceService.UpcomingParamsCustomerDetailsAddressr  rk   r  r  r  ro   NrF   r+   r   r   $UpcomingParamsCustomerDetailsAddressr    r  r   r  c                   >    e Zd ZU ded<   	 eed<   	 ee         ed<   dS )4InvoiceService.UpcomingParamsCustomerDetailsShipping;InvoiceService.UpcomingParamsCustomerDetailsShippingAddressr  r_   r  Nr  r+   r   r   %UpcomingParamsCustomerDetailsShippingr    sJ         NNNN	 				 3	 	r   r  c                       e Zd ZU ee         ed<   	 ee         ed<   	 ee         ed<   	 ee         ed<   	 ee         ed<   	 ee         ed<   dS )r  r  rk   r  r  r  ro   NrF   r+   r   r   ,UpcomingParamsCustomerDetailsShippingAddressz;InvoiceService.UpcomingParamsCustomerDetailsShippingAddress  r  r   r	  c                   &    e Zd ZU ed         ed<   dS )r  r   r  Nr   r+   r   r    UpcomingParamsCustomerDetailsTaxz/InvoiceService.UpcomingParamsCustomerDetailsTax  r  r   r  c                   2    e Zd ZU ed         ed<   	 eed<   dS )r  r  r   r   Nr   r+   r   r   "UpcomingParamsCustomerDetailsTaxIdz1InvoiceService.UpcomingParamsCustomerDetailsTaxId  r  r   r  c                   V    e Zd ZU ee         ed<   	 ee         ed<   	 ee         ed<   dS )%InvoiceService.UpcomingParamsDiscountrC   rD   rE   NrF   r+   r   r   UpcomingParamsDiscountr  7	  rH   r   r  c                      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<   dS )r  r.   rP   r/   r0   zBLiteral['']|List[InvoiceService.UpcomingParamsInvoiceItemDiscount]r1   r  r!   r3   .InvoiceService.UpcomingParamsInvoiceItemPeriodr5   r6   1InvoiceService.UpcomingParamsInvoiceItemPriceDatar8   r9   rT   rX   r   r`   r;   r<   rY   rZ   Nr  r+   r   r   UpcomingParamsInvoiceItemz(InvoiceService.UpcomingParamsInvoiceItemE	  s        C    	 c""""	 !%%%%	 "$''''	 P
 	
 	
 	
	 !%%%%	 :;;;;	 LMMMM	 3	  ?
 	
 	
 	
	 c""""	 ";<
 	
 	
 	
	 /0000	 67777	 !%%%%	 )----	 	r   r  c                   V    e Zd ZU ee         ed<   	 ee         ed<   	 ee         ed<   dS )0InvoiceService.UpcomingParamsInvoiceItemDiscountrC   rD   rE   NrF   r+   r   r   !UpcomingParamsInvoiceItemDiscountr  	  rH   r   r  c                   &    e Zd ZU eed<   	 eed<   dS )r  rJ   rK   NrL   r+   r   r   UpcomingParamsInvoiceItemPeriodz.InvoiceService.UpcomingParamsInvoiceItemPeriod	  rN   r   r  c                   z    e Zd ZU eed<   	 eed<   	 eed                  ed<   	 ee         ed<   	 ee         ed<   dS )r  rP   rQ   rT   rX   rY   rZ   Nr[   r+   r   r   "UpcomingParamsInvoiceItemPriceDataz1InvoiceService.UpcomingParamsInvoiceItemPriceData	  r"  r   r  c                   >    e Zd ZU ee         ed<   	 ed         ed<   dS )r  r   r   r   Nr   r+   r   r   UpcomingParamsIssuerz#InvoiceService.UpcomingParamsIssuer	  r   r   r  c                   z    e Zd ZU eed                  ed<   	 eed                  ed<   	 eed                  ed<   dS )r  r&  r)  1InvoiceService.UpcomingParamsScheduleDetailsPhaser+  r,  r0  Nr1  r+   r   r   UpcomingParamsScheduleDetailsz,InvoiceService.UpcomingParamsScheduleDetails	  s{         !'*=">????	 DE
 	
 	
 	
	 (AB
 	
 	
 	
	 	r   r   c                   v   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$<   d%S )&r  ?InvoiceService.UpcomingParamsScheduleDetailsPhaseAddInvoiceItemr5  r6  =InvoiceService.UpcomingParamsScheduleDetailsPhaseAutomaticTaxr   r8  r:  zNLiteral['']|InvoiceService.UpcomingParamsScheduleDetailsPhaseBillingThresholdsr;  r   r   rC   rP   r   r;   r   r   r/   zKLiteral['']|List[InvoiceService.UpcomingParamsScheduleDetailsPhaseDiscount]r1   r<  r=  @InvoiceService.UpcomingParamsScheduleDetailsPhaseInvoiceSettingsr?  5InvoiceService.UpcomingParamsScheduleDetailsPhaseItemrA  rB  r3   r   r,  r0  rC  =InvoiceService.UpcomingParamsScheduleDetailsPhaseTransferDatar   rE  rF  NrG  r+   r   r   "UpcomingParamsScheduleDetailsPhasez1InvoiceService.UpcomingParamsScheduleDetailsPhase	  s        &Q
 	
 	
 	

	 "-U!3333	 #K
 	
 	
 	
	 *'2L*MNNNN	 (\
 	
 	
 	
	 ':;
 	
 	
 	
	 C    	 c""""	 !,C 0000	 ''>????	 !!23333	 Y
 	
 	
 	
	 23333	 &N
 	
 	
 	
	 KLLLL	  $$$$	 d38n----	 "#&&&&	 (AB
 	
 	
 	
	   45555	 #K
 	
 	
 	
	 4    	 34444	 	r   r'  c                       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<   d	S )
r"  GInvoiceService.UpcomingParamsScheduleDetailsPhaseAddInvoiceItemDiscountr1   r6   HInvoiceService.UpcomingParamsScheduleDetailsPhaseAddInvoiceItemPriceDatar8   r9   r;   r<   NrL  r+   r   r   0UpcomingParamsScheduleDetailsPhaseAddInvoiceItemz?InvoiceService.UpcomingParamsScheduleDetailsPhaseAddInvoiceItemI
  s         Y
 	
 	
 	

	 3	  V
 	
 	
 	
	 c""""	 67777	 	r   r+  c                   V    e Zd ZU ee         ed<   	 ee         ed<   	 ee         ed<   dS )r)  rC   rD   rE   NrF   r+   r   r   8UpcomingParamsScheduleDetailsPhaseAddInvoiceItemDiscountzGInvoiceService.UpcomingParamsScheduleDetailsPhaseAddInvoiceItemDiscounte
  rH   r   r-  c                   z    e Zd ZU eed<   	 eed<   	 eed                  ed<   	 ee         ed<   	 ee         ed<   dS )r*  rP   rQ   rT   rX   rY   rZ   Nr[   r+   r   r   9UpcomingParamsScheduleDetailsPhaseAddInvoiceItemPriceDatazHInvoiceService.UpcomingParamsScheduleDetailsPhaseAddInvoiceItemPriceDatas
  r"  r   r/  c                   2    e Zd ZU eed<   	 ed         ed<   dS )r#  r   FInvoiceService.UpcomingParamsScheduleDetailsPhaseAutomaticTaxLiabilityr   Nr   r+   r   r   .UpcomingParamsScheduleDetailsPhaseAutomaticTaxz=InvoiceService.UpcomingParamsScheduleDetailsPhaseAutomaticTax
  s@         	 T
 	
 	
 	
	 	r   r2  c                   >    e Zd ZU ee         ed<   	 ed         ed<   dS )r1  r   r   r   Nr   r+   r   r   7UpcomingParamsScheduleDetailsPhaseAutomaticTaxLiabilityzFInvoiceService.UpcomingParamsScheduleDetailsPhaseAutomaticTaxLiability
  r   r   r4  c                   >    e Zd ZU ee         ed<   	 ee         ed<   dS )BInvoiceService.UpcomingParamsScheduleDetailsPhaseBillingThresholdsrZ  r[  Nr\  r+   r   r   3UpcomingParamsScheduleDetailsPhaseBillingThresholdsr6  
  r^  r   r7  c                   V    e Zd ZU ee         ed<   	 ee         ed<   	 ee         ed<   dS )9InvoiceService.UpcomingParamsScheduleDetailsPhaseDiscountrC   rD   rE   NrF   r+   r   r   *UpcomingParamsScheduleDetailsPhaseDiscountr9  
  rH   r   r:  c                   V    e Zd ZU ed         ed<   	 ee         ed<   	 ed         ed<   dS )r$  r;   r   r   FInvoiceService.UpcomingParamsScheduleDetailsPhaseInvoiceSettingsIssuerr   Nrd  r+   r   r   1UpcomingParamsScheduleDetailsPhaseInvoiceSettingsz@InvoiceService.UpcomingParamsScheduleDetailsPhaseInvoiceSettings
  sa         $%<====	 $C((((	 T
 	
 	
 	
	 	r   r=  c                   >    e Zd ZU ee         ed<   	 ed         ed<   dS )r<  r   r   r   Nr   r+   r   r   7UpcomingParamsScheduleDetailsPhaseInvoiceSettingsIssuerzFInvoiceService.UpcomingParamsScheduleDetailsPhaseInvoiceSettingsIssuer
  r   r   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<   dS )r%  zRLiteral['']|InvoiceService.UpcomingParamsScheduleDetailsPhaseItemBillingThresholdsr;  zOLiteral['']|List[InvoiceService.UpcomingParamsScheduleDetailsPhaseItemDiscount]r1   r3   r	  r6   >InvoiceService.UpcomingParamsScheduleDetailsPhaseItemPriceDatar8   r9   r;   r<   Nrj  r+   r   r   &UpcomingParamsScheduleDetailsPhaseItemz5InvoiceService.UpcomingParamsScheduleDetailsPhaseItem
  s         '`
 	
 	
 	
	 ]
 	
 	
 	
	 d38n----	 #	 3	  L
 	
 	
 	
	 c""""	 67777	 	r   rB  c                       e Zd ZU eed<   dS )FInvoiceService.UpcomingParamsScheduleDetailsPhaseItemBillingThresholdsrn  NrL   r+   r   r   7UpcomingParamsScheduleDetailsPhaseItemBillingThresholdsrD  
           	 	r   rE  c                   V    e Zd ZU ee         ed<   	 ee         ed<   	 ee         ed<   dS )=InvoiceService.UpcomingParamsScheduleDetailsPhaseItemDiscountrC   rD   rE   NrF   r+   r   r   .UpcomingParamsScheduleDetailsPhaseItemDiscountrH    rH   r   rI  c                       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<   d	S )
rA  rP   rQ   GInvoiceService.UpcomingParamsScheduleDetailsPhaseItemPriceDataRecurringr  rT   rX   rY   rZ   Nr[   r+   r   r   /UpcomingParamsScheduleDetailsPhaseItemPriceDataz>InvoiceService.UpcomingParamsScheduleDetailsPhaseItemPriceData  s         	 	 ]\\\	 ";<
 	
 	
 	
	 !%%%%	 )----	 	r   rL  c                   >    e Zd ZU ed         ed<   	 ee         ed<   dS )rK  rx  r  rz  Nr{  r+   r   r   8UpcomingParamsScheduleDetailsPhaseItemPriceDataRecurringzGInvoiceService.UpcomingParamsScheduleDetailsPhaseItemPriceDataRecurring+  @         89999	 $C((((	 	r   rN  c                   2    e Zd ZU ee         ed<   	 eed<   dS )r&  r  r  Nr  r+   r   r   .UpcomingParamsScheduleDetailsPhaseTransferDataz=InvoiceService.UpcomingParamsScheduleDetailsPhaseTransferData5  r  r   rQ  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<   dS )r  r  r:  r  r  r  r  r;   r   4InvoiceService.UpcomingParamsSubscriptionDetailsItemrA  r,  r0  r  r  r  rC  r  rF  Nr  r+   r   r   !UpcomingParamsSubscriptionDetailsz0InvoiceService.UpcomingParamsSubscriptionDetails?  s=        )*KLLLL	 01111	 *$////	  %%%%	 ''>????	 GH
 	
 	
 	
	 (AB
 	
 	
 	
	 $C((((	 wu~....	  $$$$	 34444	 	r   rT  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<   dS )rS  zQLiteral['']|InvoiceService.UpcomingParamsSubscriptionDetailsItemBillingThresholdsr;  r  r  zNLiteral['']|List[InvoiceService.UpcomingParamsSubscriptionDetailsItemDiscount]r1   r  r!   r3   r	  r6   =InvoiceService.UpcomingParamsSubscriptionDetailsItemPriceDatar8   r9   r;   r<   Nr  r+   r   r   %UpcomingParamsSubscriptionDetailsItemz4InvoiceService.UpcomingParamsSubscriptionDetailsItemq  s4        '_
 	
 	
 	
	 !&&&&	 T""""	 \
 	
 	
 	
	 	 :;;;;	 #	 3	  K
 	
 	
 	
	 c""""	 67777	 	r   rW  c                       e Zd ZU eed<   dS )EInvoiceService.UpcomingParamsSubscriptionDetailsItemBillingThresholdsrn  NrL   r+   r   r   6UpcomingParamsSubscriptionDetailsItemBillingThresholdsrY    rF  r   rZ  c                   V    e Zd ZU ee         ed<   	 ee         ed<   	 ee         ed<   dS )<InvoiceService.UpcomingParamsSubscriptionDetailsItemDiscountrC   rD   rE   NrF   r+   r   r   -UpcomingParamsSubscriptionDetailsItemDiscountr\    rH   r   r]  c                       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<   d	S )
rV  rP   rQ   FInvoiceService.UpcomingParamsSubscriptionDetailsItemPriceDataRecurringr  rT   rX   rY   rZ   Nr[   r+   r   r   .UpcomingParamsSubscriptionDetailsItemPriceDataz=InvoiceService.UpcomingParamsSubscriptionDetailsItemPriceData  s         	 	 \[[[	 ";<
 	
 	
 	
	 !%%%%	 )----	 	r   r`  c                   >    e Zd ZU ed         ed<   	 ee         ed<   dS )r_  rx  r  rz  Nr{  r+   r   r   7UpcomingParamsSubscriptionDetailsItemPriceDataRecurringzFInvoiceService.UpcomingParamsSubscriptionDetailsItemPriceDataRecurring  rO  r   rb  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<   dS )r  zJLiteral['']|InvoiceService.UpcomingParamsSubscriptionItemBillingThresholdsr;  r  r  zGLiteral['']|List[InvoiceService.UpcomingParamsSubscriptionItemDiscount]r1   r  r!   r3   r	  r6   6InvoiceService.UpcomingParamsSubscriptionItemPriceDatar8   r9   r;   r<   Nr  r+   r   r   UpcomingParamsSubscriptionItemz-InvoiceService.UpcomingParamsSubscriptionItem  s4        'X
 	
 	
 	
	 !&&&&	 T""""	 U
 	
 	
 	
	 	 :;;;;	 #	 3	  D
 	
 	
 	
	 c""""	 67777	 	r   re  c                       e Zd ZU eed<   dS )>InvoiceService.UpcomingParamsSubscriptionItemBillingThresholdsrn  NrL   r+   r   r   /UpcomingParamsSubscriptionItemBillingThresholdsrg    rF  r   rh  c                   V    e Zd ZU ee         ed<   	 ee         ed<   	 ee         ed<   dS )5InvoiceService.UpcomingParamsSubscriptionItemDiscountrC   rD   rE   NrF   r+   r   r   &UpcomingParamsSubscriptionItemDiscountrj    rH   r   rk  c                       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<   d	S )
rd  rP   rQ   ?InvoiceService.UpcomingParamsSubscriptionItemPriceDataRecurringr  rT   rX   rY   rZ   Nr[   r+   r   r   'UpcomingParamsSubscriptionItemPriceDataz6InvoiceService.UpcomingParamsSubscriptionItemPriceData'  s         	 	 N	
 	
 	
	 ";<
 	
 	
 	
	 !%%%%	 )----	 	r   rn  c                   >    e Zd ZU ed         ed<   	 ee         ed<   dS )rm  rx  r  rz  Nr{  r+   r   r   0UpcomingParamsSubscriptionItemPriceDataRecurringz?InvoiceService.UpcomingParamsSubscriptionItemPriceDataRecurringE  rO  r   rp  c                   b    e Zd ZU eee                  ed<   	 ed         ed<   	 ed         ed<   dS ) InvoiceService.UpdateLinesParamsr    r!   r"   $InvoiceService.UpdateLinesParamsLiner$   Nr%   r+   r   r   UpdateLinesParamsrr  O  r  r   rt  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<   dS )rs  r.   r/   r0   z>Literal['']|List[InvoiceService.UpdateLinesParamsLineDiscount]r1   r  r!   r3   *InvoiceService.UpdateLinesParamsLinePeriodr5   r6   -InvoiceService.UpdateLinesParamsLinePriceDatar8   r9   z?Literal['']|List[InvoiceService.UpdateLinesParamsLineTaxAmount]r:   r;   r<   Nr=   r+   r   r   UpdateLinesParamsLinez$InvoiceService.UpdateLinesParamsLine]  sE        C    	 !%%%%	 "$''''	 L
 	
 	
 	
	 	 :;;;;	 HIIII	 3	  ;
 	
 	
 	
	 c""""	 !M
 	
 	
 	
	 67777	 	r   rx  c                   V    e Zd ZU ee         ed<   	 ee         ed<   	 ee         ed<   dS ),InvoiceService.UpdateLinesParamsLineDiscountrC   rD   rE   NrF   r+   r   r   UpdateLinesParamsLineDiscountrz    rH   r   r{  c                   &    e Zd ZU eed<   	 eed<   dS )rv  rJ   rK   NrL   r+   r   r   UpdateLinesParamsLinePeriodz*InvoiceService.UpdateLinesParamsLinePeriod  rN   r   r}  c                       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<   d	S )
rw  rP   rQ   8InvoiceService.UpdateLinesParamsLinePriceDataProductDatarS   rT   rX   rY   rZ   Nr[   r+   r   r   UpdateLinesParamsLinePriceDataz-InvoiceService.UpdateLinesParamsLinePriceData  s         	 S!!!!	 "F
 	
 	
 	
	 ";<
 	
 	
 	
	 !%%%%	 )----	 	r   r  c                       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<   dS )r  r/   r^   r3   r_   r`   Nra   r+   r   r   )UpdateLinesParamsLinePriceDataProductDataz8InvoiceService.UpdateLinesParamsLinePriceDataProductData  rc   r   r  c                   2    e Zd ZU eed<   	 ded<   	 eed<   dS )-InvoiceService.UpdateLinesParamsLineTaxAmountr.   8InvoiceService.UpdateLinesParamsLineTaxAmountTaxRateDatarg   rh   NrL   r+   r   r   UpdateLinesParamsLineTaxAmountr    sL         	 G	
 	
 	
	
 	 	r   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	<   d
S )r  rk   r/   rl   rV   rm   rn   ro   rp   r}   Nr~   r+   r   r   )UpdateLinesParamsLineTaxAmountTaxRateDataz8InvoiceService.UpdateLinesParamsLineTaxAmountTaxRateData  r   r   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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(<   d)S )*InvoiceService.UpdateParamsr;   r   r   r   'InvoiceService.UpdateParamsAutomaticTaxr   r   r   z8Literal['']|List[InvoiceService.UpdateParamsCustomField]r   r   r   r   r   r   r/   z5Literal['']|List[InvoiceService.UpdateParamsDiscount]r1   r   r  r   r    r   !InvoiceService.UpdateParamsIssuerr   r!   r3   r   r   *InvoiceService.UpdateParamsPaymentSettingsr   $InvoiceService.UpdateParamsRenderingr   z3Literal['']|InvoiceService.UpdateParamsShippingCostr   z6Literal['']|InvoiceService.UpdateParamsShippingDetailsr   r   z3Literal['']|InvoiceService.UpdateParamsTransferDatar   Nr   r+   r   r   UpdateParamsr  $  s        $%<====	 !,C 0000	 "$''''	 ##LMMMM	 ':;
 	
 	
 	
	 #F
 	
 	
 	
	 $C((((	 !,C 0000	 $$56666	 ''>????	 !%%%%	 C
 	
 	
 	
	 c""""	 ""34444	 DI&&&&	 C    	 ?@@@@	 :;;;;	 -....	 ""34444	 &8
 	
 	
 	
	 EFFFF	 #A
 	
 	
 	
	 &D
 	
 	
 	
	 *#....	 #A
 	
 	
 	
	 	r   r  c                   2    e Zd ZU eed<   	 ed         ed<   dS )r  r   0InvoiceService.UpdateParamsAutomaticTaxLiabilityr   Nr   r+   r   r   UpdateParamsAutomaticTaxz'InvoiceService.UpdateParamsAutomaticTax  r   r   r  c                   >    e Zd ZU ee         ed<   	 ed         ed<   dS )r  r   r   r   Nr   r+   r   r   !UpdateParamsAutomaticTaxLiabilityz0InvoiceService.UpdateParamsAutomaticTaxLiability  r   r   r  c                   &    e Zd ZU eed<   	 eed<   dS )&InvoiceService.UpdateParamsCustomFieldr_   r   Nr   r+   r   r   UpdateParamsCustomFieldr    r   r   r  c                   V    e Zd ZU ee         ed<   	 ee         ed<   	 ee         ed<   dS )#InvoiceService.UpdateParamsDiscountrC   rD   rE   NrF   r+   r   r   UpdateParamsDiscountr    rH   r   r  c                   >    e Zd ZU ee         ed<   	 ed         ed<   dS )r  r   r   r   Nr   r+   r   r   UpdateParamsIssuerz!InvoiceService.UpdateParamsIssuer  r   r   r  c                   V    e Zd ZU ed         ed<   	 ed         ed<   	 ed         ed<   dS )r  r   r   >InvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsr   r   r   Nr   r+   r   r   UpdateParamsPaymentSettingsz*InvoiceService.UpdateParamsPaymentSettings  r   r   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<   dS )r  zSLiteral['']|InvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsAcssDebitr   zTLiteral['']|InvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsBancontactr   zNLiteral['']|InvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCardr   zYLiteral['']|InvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCustomerBalancer   zQLiteral['']|InvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsKonbinir   zSLiteral['']|InvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsSepaDebitr   zWLiteral['']|InvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountr   Nr   r+   r   r   /UpdateParamsPaymentSettingsPaymentMethodOptionsz>InvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptions  r   r   r  c                   J    e Zd ZU ed         ed<   	 eed                  ed<   dS )GInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsAcssDebitUInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsAcssDebitMandateOptionsr   r   r   Nr   r+   r   r   8UpdateParamsPaymentSettingsPaymentMethodOptionsAcssDebitr    r   r   r  c                   2    e Zd ZU eed                  ed<   dS )r  r   r   Nr   r+   r   r   FUpdateParamsPaymentSettingsPaymentMethodOptionsAcssDebitMandateOptionszUInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsAcssDebitMandateOptions   r   r   r  c                   2    e Zd ZU eed                  ed<   dS )HInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsBancontactr   r   Nr   r+   r   r   9UpdateParamsPaymentSettingsPaymentMethodOptionsBancontactr  (  r   r   r  c                   J    e Zd ZU ed         ed<   	 eed                  ed<   dS )BInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCardNInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsr  r  r  Nr   r+   r   r   3UpdateParamsPaymentSettingsPaymentMethodOptionsCardr  .  r  r   r  c                   >    e Zd ZU ee         ed<   	 ed         ed<   dS )r  r   z^Literal['']|InvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlanr	  Nr
  r+   r   r   ?UpdateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentszNInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCardInstallments>  r  r   r  c                   J    e Zd ZU eed<   	 ed         ed<   	 ed         ed<   dS )RInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlanr  r  r  r  r   Nr  r+   r   r   CUpdateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlanr  M  r  r   r  c                   >    e Zd ZU ed         ed<   	 ee         ed<   dS )MInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceYInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferr  r  Nr  r+   r   r   >UpdateParamsPaymentSettingsPaymentMethodOptionsCustomerBalancer  ^  r  r   r  c                   >    e Zd ZU ed         ed<   	 ee         ed<   dS )r  gInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferr   r   Nr  r+   r   r   JUpdateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferzYInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferl  r"  r   r  c                       e Zd ZU eed<   dS )r  rk   Nr   r+   r   r   XUpdateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferzgInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferz  r%  r   r  c                       e Zd ZdS )EInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsKonbiniNr(  r+   r   r   6UpdateParamsPaymentSettingsPaymentMethodOptionsKonbinir    r*  r   r  c                       e Zd ZdS )GInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsSepaDebitNr(  r+   r   r   8UpdateParamsPaymentSettingsPaymentMethodOptionsSepaDebitr    r*  r   r  c                   J    e Zd ZU ed         ed<   	 eed                  ed<   dS )KInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsUsBankAccount_InvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsr1  r   r   Nr   r+   r   r   <UpdateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountr    r3  r   r  c                       e Zd ZU ed         ed<   	 eeed                           ed<   	 eeed                           ed<   dS )r  fInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFiltersr6  r7  r<  r=  r>  Nr?  r+   r   r   PUpdateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsz_InvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections  rA  r   r  c                   >    e Zd ZU eeed                           ed<   dS )r  rC  rF  NrG  r+   r   r   WUpdateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilterszfInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters  rI  r   r  c                   >    e Zd ZU ed         ed<   	 ed         ed<   dS )r  rK  rL  'InvoiceService.UpdateParamsRenderingPdfrN  Nr   r+   r   r   UpdateParamsRenderingz$InvoiceService.UpdateParamsRendering  rP  r   r  c                   2    e Zd ZU eed                  ed<   dS )r  rR  rV  Nr   r+   r   r   UpdateParamsRenderingPdfz'InvoiceService.UpdateParamsRenderingPdf  rX  r   r  c                   >    e Zd ZU ee         ed<   	 ed         ed<   dS )'InvoiceService.UpdateParamsShippingCostrZ  7InvoiceService.UpdateParamsShippingCostShippingRateDatar\  NrF   r+   r   r   UpdateParamsShippingCostr    r^  r   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
<   dS )r  GInvoiceService.UpdateParamsShippingCostShippingRateDataDeliveryEstimatera  rl   BInvoiceService.UpdateParamsShippingCostShippingRateDataFixedAmountrc  r3   rT   rX   r`   r   Nrd  r+   r   r   (UpdateParamsShippingCostShippingRateDataz7InvoiceService.UpdateParamsShippingCostShippingRateData  rf  r   r  c                   >    e Zd ZU ed         ed<   	 ed         ed<   dS )r  NInvoiceService.UpdateParamsShippingCostShippingRateDataDeliveryEstimateMaximumri  NInvoiceService.UpdateParamsShippingCostShippingRateDataDeliveryEstimateMinimumrk  Nr   r+   r   r   8UpdateParamsShippingCostShippingRateDataDeliveryEstimatezGInvoiceService.UpdateParamsShippingCostShippingRateDataDeliveryEstimate   rm  r   r  c                   2    e Zd ZU ed         ed<   	 eed<   dS )r  ro  rt  r   Nru  r+   r   r   ?UpdateParamsShippingCostShippingRateDataDeliveryEstimateMaximumzNInvoiceService.UpdateParamsShippingCostShippingRateDataDeliveryEstimateMaximum  rw  r   r  c                   2    e Zd ZU ed         ed<   	 eed<   dS )r  ro  rt  r   Nru  r+   r   r   ?UpdateParamsShippingCostShippingRateDataDeliveryEstimateMinimumzNInvoiceService.UpdateParamsShippingCostShippingRateDataDeliveryEstimateMinimum  rw  r   r  c                   N    e Zd ZU eed<   	 eed<   	 eeedf                  ed<   dS )r  r.   rP   QInvoiceService.UpdateParamsShippingCostShippingRateDataFixedAmountCurrencyOptionsr|  Nr}  r+   r   r   3UpdateParamsShippingCostShippingRateDataFixedAmountzBInvoiceService.UpdateParamsShippingCostShippingRateDataFixedAmount&  r  r   r  c                   >    e Zd ZU eed<   	 eed                  ed<   dS )r  r.   rT   rX   Nr  r+   r   r   BUpdateParamsShippingCostShippingRateDataFixedAmountCurrencyOptionszQInvoiceService.UpdateParamsShippingCostShippingRateDataFixedAmountCurrencyOptions9  r  r   r  c                   >    e Zd ZU ded<   	 eed<   	 ed         ed<   dS )*InvoiceService.UpdateParamsShippingDetails1InvoiceService.UpdateParamsShippingDetailsAddressr  r_   r   r  Nr  r+   r   r   UpdateParamsShippingDetailsr  G  r  r   r  c                       e Zd ZU ee         ed<   	 ee         ed<   	 ee         ed<   	 ee         ed<   	 ee         ed<   	 ee         ed<   dS )r  r  rk   r  r  r  ro   NrF   r+   r   r   "UpdateParamsShippingDetailsAddressz1InvoiceService.UpdateParamsShippingDetailsAddressU  r  r   r  c                   2    e Zd ZU ee         ed<   	 eed<   dS )'InvoiceService.UpdateParamsTransferDatar.   r  Nr  r+   r   r   UpdateParamsTransferDatar  o  r  r   r  c                   2    e Zd ZU eee                  ed<   dS ) InvoiceService.VoidInvoiceParamsr    Nr%   r+   r   r   VoidInvoiceParamsr  y  r  r   r  r   paramsr  optionsreturnc                     t          t          |                     dd                    t	          |                    dd||                    S )*  
        Permanently deletes a one-off invoice draft. This cannot be undone. Attempts to delete invoices that are no longer in a draft state will fail; once an invoice has been finalized or if an invoice is for a subscription, it must be [voided](https://stripe.com/docs/api#void_invoice).
        r  /v1/invoices/{invoice}r   V1apiapi_modebase_addressr  r  r   r   _requestformatr
   r   r   r  r  s       r   r  zInvoiceService.delete  sZ     MM(//G8L8L/MM"   

 

 
	
r   c                    K   t          t          |                     dd                    t	          |                    dd||           d{V           S )r  r  r  r  r  r  r  Nr   r   _request_asyncr   r
   r  s       r   delete_asynczInvoiceService.delete_async  s~       %%(//G8L8L/MM" &        

 

 
	
r   r  c                     t          t          |                     dd                    t	          |                    dd||                    S ):
        Retrieves the invoice with the given ID.
        getr  r  r  r  r  r  r  s       r   retrievezInvoiceService.retrieve  sZ     MM(//G8L8L/MM"   

 

 
	
r   c                    K   t          t          |                     dd                    t	          |                    dd||           d{V           S )r  r  r  r  r  r  r  Nr  r  s       r   retrieve_asynczInvoiceService.retrieve_async  s~       %%(//G8L8L/MM" &        

 

 
	
r   r  c                     t          t          |                     dd                    t	          |                    d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.
        postr  r  r  r  r  r  r  s       r   updatezInvoiceService.update  sZ     MM(//G8L8L/MM"   

 

 
	
r   c                    K   t          t          |                     dd                    t	          |                    dd||           d{V           S )r  r  r  r  r  r  r  Nr  r  s       r   update_asynczInvoiceService.update_async  s~       %%(//G8L8L/MM" &        

 

 
	
r   r  c                 t    t          t          t                   |                     dddd||                    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  /v1/invoicesr  r  r  )r   r   r   r  r   r  r  s      r   listzInvoiceService.list  sF     wMM"   

 

 
	
r   c                    K   t          t          t                   |                     dddd||           d{V           S )r  r  r  r  r  r  N)r   r   r   r  r  s      r   
list_asynczInvoiceService.list_async  sj       w%%" &        

 

 
	
r   r   c                 ^    t          t          |                     dddd||                    S )   
        This endpoint creates a draft invoice for a given customer. The invoice remains a draft until you [finalize the invoice, which allows you to [pay](#pay_invoice) or <a href="#send_invoice">send](https://stripe.com/docs/api#finalize_invoice) the invoice to your customers.
        r  r  r  r  r  r   r   r  r  s      r   createzInvoiceService.create/  sA     MM"   

 

 
	
r   c                 n   K   t          t          |                     dddd||           d{V           S )r  r  r  r  r  r  Nr   r   r  r  s      r   create_asynczInvoiceService.create_asyncC  se       %%" &        

 

 
	
r   r  c                 t    t          t          t                   |                     dddd||                    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.
        r  /v1/invoices/searchr  r  r  )r   r   r   r  r  s      r   searchzInvoiceService.searchW  sF     w'MM%"   

 

 
	
r   c                    K   t          t          t                   |                     dddd||           d{V           S )r!  r  r"  r  r  r  N)r   r   r   r  r  s      r   search_asynczInvoiceService.search_asyncn  sj       w'%%%" &        

 

 
	
r   r  c                 ^    t          t          |                     dd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)
        r  /v1/invoices/upcomingr  r  r  r  r  s      r   upcomingzInvoiceService.upcoming  sA     MM'"   

 

 
	
r   c                 n   K   t          t          |                     dddd||           d{V           S )r'  r  r(  r  r  r  Nr  r  s      r   upcoming_asynczInvoiceService.upcoming_async  se       %%'" &        

 

 
	
r   r   c                     t          t          |                     dd                    t	          |                    dd||                    S )q
        Adds multiple line items to an invoice. This is only possible when an invoice is still a draft.
        r   /v1/invoices/{invoice}/add_linesr  r  r  r  r  r  s       r   	add_lineszInvoiceService.add_lines  sc     MM299'00 :   "  	 	
 
 	
r   c                    K   t          t          |                     dd                    t	          |                    dd||           d{V           S )r-  r  r.  r  r  r  r  Nr  r  s       r   add_lines_asynczInvoiceService.add_lines_async  s       %%299'00 :   " & 	 	 	 	 	 	 	 	
 
 	
r   r  c                     t          t          |                     dd                    t	          |                    dd||                    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.
        r  /v1/invoices/{invoice}/finalizer  r  r  r  r  r  s       r   finalize_invoicezInvoiceService.finalize_invoice  sc     MM188'00 9   "  	 	
 
 	
r   c                    K   t          t          |                     dd                    t	          |                    dd||           d{V           S )r3  r  r4  r  r  r  r  Nr  r  s       r   finalize_invoice_asyncz%InvoiceService.finalize_invoice_async  s       %%188'00 9   " & 	 	 	 	 	 	 	 	
 
 	
r   r  c                     t          t          |                     dd                    t	          |                    dd||                    S )
        Marking an invoice as uncollectible is useful for keeping track of bad debts that can be written off for accounting purposes.
        r  )/v1/invoices/{invoice}/mark_uncollectibler  r  r  r  r  r  s       r   mark_uncollectiblez!InvoiceService.mark_uncollectible  sd     MM;BB'00 C   "  	 	
 
 	
r   c                    K   t          t          |                     dd                    t	          |                    dd||           d{V           S )r9  r  r:  r  r  r  r  Nr  r  s       r   mark_uncollectible_asyncz'InvoiceService.mark_uncollectible_async,  s       %%;BB'00 C   " & 	 	 	 	 	 	 	 	
 
 	
r   r  c                     t          t          |                     dd                    t	          |                    dd||                    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.
        r  /v1/invoices/{invoice}/payr  r  r  r  r  r  s       r   payzInvoiceService.payC  sc     MM,33'00 4   "  	 	
 
 	
r   c                    K   t          t          |                     dd                    t	          |                    dd||           d{V           S )r?  r  r@  r  r  r  r  Nr  r  s       r   	pay_asynczInvoiceService.pay_asyncZ  s       %%,33'00 4   " & 	 	 	 	 	 	 	 	
 
 	
r   r  c                     t          t          |                     dd                    t	          |                    dd||                    S )v
        Removes multiple line items from an invoice. This is only possible when an invoice is still a draft.
        r  #/v1/invoices/{invoice}/remove_linesr  r  r  r  r  r  s       r   remove_lineszInvoiceService.remove_linesq  c     MM5<<'00 =   "  	 	
 
 	
r   c                    K   t          t          |                     dd                    t	          |                    dd||           d{V           S )rE  r  rF  r  r  r  r  Nr  r  s       r   remove_lines_asyncz!InvoiceService.remove_lines_async         %%5<<'00 =   " & 	 	 	 	 	 	 	 	
 
 	
r   r  c                     t          t          |                     dd                    t	          |                    dd||                    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.
        r  /v1/invoices/{invoice}/sendr  r  r  r  r  r  s       r   r   zInvoiceService.send_invoice  c     MM-44'00 5   "  	 	
 
 	
r   c                    K   t          t          |                     dd                    t	          |                    dd||           d{V           S )rM  r  rN  r  r  r  r  Nr  r  s       r   send_invoice_asyncz!InvoiceService.send_invoice_async         %%-44'00 5   " & 	 	 	 	 	 	 	 	
 
 	
r   rr  c                     t          t          |                     dd                    t	          |                    dd||                    S )t
        Updates multiple line items on an invoice. This is only possible when an invoice is still a draft.
        r  #/v1/invoices/{invoice}/update_linesr  r  r  r  r  r  s       r   update_lineszInvoiceService.update_lines  rH  r   c                    K   t          t          |                     dd                    t	          |                    dd||           d{V           S )rT  r  rU  r  r  r  r  Nr  r  s       r   update_lines_asyncz!InvoiceService.update_lines_async  rK  r   r  c                     t          t          |                     dd                    t	          |                    dd||                    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.
        r  /v1/invoices/{invoice}/voidr  r  r  r  r  r  s       r   void_invoicezInvoiceService.void_invoice  rO  r   c                    K   t          t          |                     dd                    t	          |                    dd||           d{V           S )rZ  r  r[  r  r  r  r  Nr  r  s       r   void_invoice_asyncz!InvoiceService.void_invoice_async  rR  r   r  c                 ^    t          t          |                     dddd||                    S )r'  r  /v1/invoices/create_previewr  r  r  r  r  s      r   create_previewzInvoiceService.create_preview1  sA     MM-"   

 

 
	
r   c                 n   K   t          t          |                     dddd||           d{V           S )r'  r  r`  r  r  r  Nr  r  s      r   create_preview_asyncz#InvoiceService.create_preview_asyncK  se       %%-" &        

 

 
	
r   )r&   r'   r(   r   r   r,   r@   rG   rM   r\   rb   ri   r   r   r   r   r   r   r   r   r   r   r   r   r   r  r  r  r  r!  r$  r)  r-  r2  r@  rH  rO  rW  r]  re  rl  rv  ry  r~  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r!  r$  r2  rH  rM  rO  rQ  rT  rV  r]  ra  re  rg  rk  ro  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/  r2  r4  r7  r:  r=  r?  rB  rE  rI  rL  rN  rQ  rT  rW  rZ  r]  r`  rb  re  rh  rk  rn  rp  rt  rx  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/  r1  r5  r7  r;  r=  rA  rC  rG  rJ  r   rQ  rV  rX  r\  r^  ra  rc  __classcell__)r   s   @r   r   r      s&       K K K K K
       4 4 4 4 4Y 4 4 4l    Y       9       i   <       ,    i    / / / / / / / /bH H H H Hy H H HT
 
 
 
 
9 
 
 
    I       )       y       )       Y       i   $* * * * *) * * *X    9             I       i                "                             9                4      
 
 
 
 
	 
 
 
    9   
 
 
 
 
9 
 
 
" " " " "9 " " "H    9   
 
 
 
 

 
 

 
 
 
 

 
 
    i   &          i       Y   4    9   H H H H Hi H H HT
 
 
 
 
) 
 
 
    9       Y   @    I   4    Y        I   4    	   R R R R R) R R Rh    i   H H H H H H H HT           y       )   0    I       Y   $p p p p p) p p pd    	   8             4
 
 
 
 
i 
 
 

 
 
 
 

 
 
    9       )           
 
 
 
 

 
 
& & & & &i & & &P          i       y   8
 
 
 
 

 
 
    i   0 0 0 0 0 0 0 0d2 2 2 2 2Y 2 2 2h          Y       i   8
 
 
 
 

 
 
    y       	   ) ) ) ) )Y ) ) )V    I   $    I   $    )       I   @    I       	              y   $    I   | | | | | | | ||
 
 
 
 
Y 
 
 
    i       	   <    y   4    	       y   4    9   R R R R RY R R Rh       F F F F FI F F FP    I       )       Y   0    y       	   $n n n n nY n n n`    9   8    9       I   0
 
 
 
 
 
 
 
    )       i       Y       I        )   & & & & & & & &P    )              )   8    9          0 0 0 0 0I 0 0 0d2 2 2 2 2	 2 2 2h           	          8    )   2 2 2 2 2 2 2 2h    )              )   <    9       I   6 6 6 6 6	 6 6 6p    	       i          <    I   ,       $/ / / / /I / / /bv v v v vy v v vp
 
 
 
 
9 
 
 
    I       )       y       Y       i   $* * * * *) * * *X    9             I       i                "                             9                4      
 
 
 
 
	 
 
 
    9   
 
 
 
 
9 
 
 
" " " " "9 " " "H    9   
 
 
 
 

 
 

 
 
 
 

 
 
    i   &          i       Y   4    9       I    13"$	
 

 .
  	

 

 
 
 
0 13"$	
 

 .
  	

 

 
 
 
0 35"$	
 

 0
  	

 

 
 
 
0 35"$	
 

 0
  	

 

 
 
 
0 13"$	
 

 .
  	

 

 
 
 
: 13"$	
 

 .
  	

 

 
 
 
8 /1"$
 
+
  
 
G		
 
 
 
, /1"$
 
+
  
 
G		
 
 
 
, 13"$
 
-
  
 
	
 
 
 
, 13"$
 
-
  
 
	
 
 
 
. #%
 
-
  
 
G	$	
 
 
 
4 #%
 
-
  
 
G	$	
 
 
 
2 35"$
 
/
  
 
	
 
 
 
8 35"$
 
/
  
 
	
 
 
 
< #%	
 

 0
  	

 

 
 
 
6 #%	
 

 0
  	

 

 
 
 
4 :<"$	
 

 7
  	

 

 
 
 
4 :<"$	
 

 7
  	

 

 
 
 
4 <>"$	
 

 9
  	

 

 
 
 
4 <>"$	
 

 9
  	

 

 
 
 
4 .0"$	
 

 +
  	

 

 
 
 
4 .0"$	
 

 +
  	

 

 
 
 
6 #%	
 

 3
  	

 

 
 
 
6 #%	
 

 3
  	

 

 
 
 
4 68"$	
 

 3
  	

 

 
 
 
8 68"$	
 

 3
  	

 

 
 
 
: #%	
 

 3
  	

 

 
 
 
6 #%	
 

 3
  	

 

 
 
 
4 68"$	
 

 3
  	

 

 
 
 
8 68"$	
 

 3
  	

 

 
 
 
6 8:"$
 
4
  
 
	
 
 
 
8 8:"$
 
4
  
 
	
 
 
 
 
 
 
 
r   r   N)stripe._invoicer   !stripe._invoice_line_item_servicer   &stripe._invoice_upcoming_lines_servicer   stripe._list_objectr   stripe._request_optionsr   stripe._search_result_objectr   stripe._stripe_servicer	   stripe._utilr
   typingr   r   r   typing_extensionsr   r   r   r   r+   r   r   <module>ro     s   $ # # # # # D D D D D D N N N N N N * * * * * * 2 2 2 2 2 2 ; ; ; ; ; ; 0 0 0 0 0 0 $ $ $ $ $ $ # # # # # # # # # # = = = = = = = = = =TI
 TI
 TI
 TI
 TI
] TI
 TI
 TI
 TI
 TI
r   