
    (gm                        S SK Jr  S SKJr  S SKJr  S SKJr  S SKJ	r	  S SK
Jr  S SKJr  S SKJrJrJr  S S	KJrJrJr   " S
 S\5      rg)    )Invoice)InvoiceLineItemService)
ListObject)RequestOptions)SearchResultObject)StripeService)sanitize_id)DictListcast)LiteralNotRequired	TypedDictc            	       "  ^  \ rS rSrU 4S jr " S S\5      r " S S\5      r " S S\5      r " S	 S
\5      r	 " S S\5      r
 " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S \5      r " S! S"\5      r " S# S$\5      r " S% S&\5      r " S' S(\5      r " S) S*\5      r " S+ S,\5      r " S- S.\5      r " S/ S0\5      r " S1 S2\5      r " S3 S4\5      r " S5 S6\5      r " S7 S8\5      r  " S9 S:\5      r! " S; S<\5      r" " S= S>\5      r# " S? S@\5      r$ " SA SB\5      r% " SC SD\5      r& " SE SF\5      r' " SG SH\5      r( " SI SJ\5      r) " SK SL\5      r* " SM SN\5      r+ " SO SP\5      r, " SQ SR\5      r- " SS ST\5      r. " SU SV\5      r/ " SW SX\5      r0 " SY SZ\5      r1 " S[ S\\5      r2 " S] S^\5      r3 " S_ S`\5      r4 " Sa Sb\5      r5 " Sc Sd\5      r6 " Se Sf\5      r7 " Sg Sh\5      r8 " Si Sj\5      r9 " Sk Sl\5      r: " Sm Sn\5      r; " So Sp\5      r< " Sq Sr\5      r= " Ss St\5      r> " Su Sv\5      r? " Sw Sx\5      r@ " Sy Sz\5      rA " S{ S|\5      rB " S} S~\5      rC " S S\5      rD " S S\5      rE " S S\5      rF " S S\5      rG " S S\5      rH " S S\5      rI " S S\5      rJ " S S\5      rK " S S\5      rL " S S\5      rM " S S\5      rN " S S\5      rO " S S\5      rP " S S\5      rQ " S S\5      rR " S S\5      rS " S S\5      rT " S S\5      rU " S S\5      rV " S S\5      rW " S S\5      rX " S S\5      rY " S S\5      rZ " S S\5      r[ " S S\5      r\ " S S\5      r] " S S\5      r^ " S S\5      r_ " S S\5      r` " S S\5      ra " S S\5      rb " S S\5      rc " S S\5      rd " S S\5      re " S S\5      rf " S S\5      rg " S S\5      rh " S S\5      ri " S S\5      rj " S S\5      rk " S S\5      rl " S S\5      rm " S S\5      rn " S S\5      ro " S S\5      rp " S S\5      rq " S S\5      rr " S S\5      rs " S S\5      rt " S S\5      ru " S S\5      rv " S S\5      rw " S S\5      rx " S S\5      ry " S S\5      rz " S S\5      r{ " S S\5      r| " S S\5      r} " S S\5      r~ " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S GS \5      r " GS GS\5      r " GS GS\5      r " GS GS\5      r " GS GS\5      r " GS	 GS
\5      r " GS GS\5      r " GS GS\5      r " GS GS\5      r0 0 4GS\GSGSGS\GS\4GS jjr0 0 4GS\GSGSGS\GS\4GS jjr0 0 4GS\GSGSGS\GS\4GS jjr0 0 4GS\GSGSGS\GS\4GS jjr0 0 4GS\GSGSGS\GS\4GS jjr0 0 4GS\GSGSGS\GS\4GS jjr0 0 4GSGSGS\GS\\   4GS jjr0 0 4GSGSGS\GS\\   4GS  jjr0 0 4GSGS!GS\GS\4GS" jjr0 0 4GSGS!GS\GS\4GS# jjr0 4GSGS$GS\GS\\   4GS% jjr0 4GSGS$GS\GS\\   4GS& jjr0 4GS\GSGS'GS\GS\4GS( jjr0 4GS\GSGS'GS\GS\4GS) jjr0 0 4GS\GSGS*GS\GS\4GS+ jjr0 0 4GS\GSGS*GS\GS\4GS, jjr0 0 4GS\GSGS-GS\GS\4GS. jjr0 0 4GS\GSGS-GS\GS\4GS/ jjr0 0 4GS\GSGS0GS\GS\4GS1 jjr0 0 4GS\GSGS0GS\GS\4GS2 jjr0 4GS\GSGS3GS\GS\4GS4 jjr0 4GS\GSGS3GS\GS\4GS5 jjr0 0 4GS\GSGS6GS\GS\4GS7 jjr0 0 4GS\GSGS6GS\GS\4GS8 jjr0 4GS\GSGS9GS\GS\4GS: jjr0 4GS\GSGS9GS\GS\4GS; jjr0 0 4GS\GSGS<GS\GS\4GS= jjr0 0 4GS\GSGS<GS\GS\4GS> jjr0 0 4GSGS?GS\GS\4GS@ jjr0 0 4GSGS?GS\GS\4GSA jjrGSBrU =r$ (C  InvoiceService   c                 X   > [         TU ]  U5        [        U R                  5      U l        g )N)super__init__r   
_requestor
line_items)self	requestor	__class__s     \C:\Suresh\moveshuttle\MDcreated\moveengine\venv\Lib\site-packages\stripe/_invoice_service.pyr   InvoiceService.__init__   s     #0A    c                   P    \ rS rSr% \\\      \S'    \S   \S'    \S   \S'   Srg)	InvoiceService.AddLinesParams   expandLiteral['']|Dict[str, str]invoice_metadata!InvoiceService.AddLinesParamsLinelines N	__name__
__module____qualname____firstlineno__r   r   str__annotations____static_attributes__r&   r   r   AddLinesParamsr      s<    DI&&	 &&BCC	 788	r   r/   c                       \ rS rSr% \\   \S'    \\   \S'    \\   \S'    \S   \S'    \\   \S'    \S   \S	'    \S
   \S'    \S   \S'    \S   \S'    \\   \S'    \S   \S'    \S   \S'   Sr	g)r$   !   amountdescriptiondiscountablez;Literal['']|List[InvoiceService.AddLinesParamsLineDiscount]	discountsinvoice_itemr"   metadata'InvoiceService.AddLinesParamsLinePeriodperiod*InvoiceService.AddLinesParamsLinePriceData
price_data(InvoiceService.AddLinesParamsLinePricingpricingquantityz<Literal['']|List[InvoiceService.AddLinesParamsLineTaxAmount]tax_amountsLiteral['']|List[str]	tax_ratesr&   N
r(   r)   r*   r+   r   intr-   r,   boolr.   r&   r   r   AddLinesParamsLine!InvoiceService.AddLinesParamsLine!   s    C  	 !%%	 "$''	 I
 	
	 "#&&	 :;;	 EFF	   LMM	 GHH	 c""	 !J
 	
	 677	r   rE   c                   J    \ rS rSr% \\   \S'    \\   \S'    \\   \S'   Srg))InvoiceService.AddLinesParamsLineDiscountW   coupondiscountpromotion_coder&   Nr(   r)   r*   r+   r   r,   r-   r.   r&   r   r   AddLinesParamsLineDiscountrH   W   6    C  	 c""	 $C((	r   rN   c                   ,    \ rS rSr% \\S'    \\S'   Srg)r8   e   endstartr&   Nr(   r)   r*   r+   rC   r-   r.   r&   r   r   AddLinesParamsLinePeriod'InvoiceService.AddLinesParamsLinePeriode       	 
	r   rU   c                       \ rS rSr% \\S'    \\   \S'    \S   \S'    \\S      \S'    \\   \S'    \\   \S	'   S
r	g)r:   o   currencyproduct5InvoiceService.AddLinesParamsLinePriceDataProductDataproduct_data	exclusive	inclusiveunspecifiedtax_behaviorunit_amountunit_amount_decimalr&   N
r(   r)   r*   r+   r,   r-   r   r   rC   r.   r&   r   r   AddLinesParamsLinePriceData*InvoiceService.AddLinesParamsLinePriceDatao   sv    	 S!!	 "C
 	
	 ";<
 	
	 !%%	 )--	r   rf   c                   x    \ rS rSr% \\   \S'    \\\      \S'    \\\\4      \S'    \\S'    \\   \S'   Sr	g)	r\      r3   imagesr7   nametax_coder&   N
r(   r)   r*   r+   r   r,   r-   r   r
   r.   r&   r   r   &AddLinesParamsLinePriceDataProductData5InvoiceService.AddLinesParamsLinePriceDataProductData   `     %%	 DI&&	 d38n--	 		 c""	r   rn   c                   &    \ rS rSr% \\   \S'   Srg)r<      pricer&   NrM   r&   r   r   AddLinesParamsLinePricing(InvoiceService.AddLinesParamsLinePricing       3	r   rt   c                   P    \ rS rSr% \\S'    S\S'    \\S      \S'    \\S'   Srg	)
*InvoiceService.AddLinesParamsLineTaxAmount   r2   5InvoiceService.AddLinesParamsLineTaxAmountTaxRateDatatax_rate_datacustomer_exemptnot_collectingnot_subject_to_taxnot_supportedportion_product_exemptportion_reduced_ratedportion_standard_ratedproduct_exemptproduct_exempt_holidayproportionally_ratedreduced_ratedreverse_chargestandard_ratedtaxable_basis_reduced
zero_ratedtaxability_reasontaxable_amountr&   N	r(   r)   r*   r+   rC   r-   r   r   r.   r&   r   r   AddLinesParamsLineTaxAmountrx      sH    	 ON	
 '
 	
&	 	r   r   c                       \ rS rSr% \\   \S'    \\   \S'    \\S'    \\S'    \\   \S'    \\S      \S'    \	\S	'    \\   \S
'    \\S      \S'   Sr
g)rz      countryr3   display_namer`   jurisdictioncityr   countydistrictmultiplestatejurisdiction_level
percentager   amusement_taxcommunications_taxgsthstigstjct	lease_taxpstqstretail_delivery_feerst	sales_taxservice_taxvattax_typer&   Nr(   r)   r*   r+   r   r,   r-   rD   r   floatr.   r&   r   r   &AddLinesParamsLineTaxAmountTaxRateData5InvoiceService.AddLinesParamsLineTaxAmountTaxRateData       S!!	 !%%	 	 	 "#&&	 (L
 	

	 	 3	 
 	
$	r   r   c                   l   \ rS rSr% \S   \S'    \\   \S'    \\   \S'    \S   \S'    \\   \S'    \\S	      \S
'    \\	   \S'    \S   \S'    \\	   \S'    \\   \S'    \\	   \S'    \\	   \S'    \\
\	      \S'    \\	   \S'    \S   \S'    \\   \S'    \\   \S'    \\
\	      \S'    \\	   \S'    \S   \S'    \S   \S'    \S   \S'    \\	   \S '    \\	   \S!'    \S"   \S#'    \\S$      \S%'    \S&   \S''    \S(   \S)'    \S*   \S+'    \\	   \S,'    \\	   \S-'    \S.   \S/'   S0rg1)2InvoiceService.CreateParamsi
  r@   account_tax_idsapplication_fee_amountauto_advance'InvoiceService.CreateParamsAutomaticTaxautomatic_taxautomatically_finalizes_atcharge_automaticallysend_invoicecollection_methodrZ   z8Literal['']|List[InvoiceService.CreateParamsCustomField]custom_fieldscustomerdays_until_duedefault_payment_methoddefault_sourcedefault_tax_ratesr3   z5Literal['']|List[InvoiceService.CreateParamsDiscount]r5   due_dateeffective_atr!   footer&InvoiceService.CreateParamsFromInvoicefrom_invoice!InvoiceService.CreateParamsIssuerissuerr"   r7   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_datar&   Nr(   r)   r*   r+   r   r-   rC   rD   r   r,   r   r.   r&   r   r   CreateParamsr   
  sz   $%<==	 !,C 00	 "$''	 ##LMM	 %0$44	 ':;
 	
	 c""	 #F
 	
	 c""	 $C((	 !,C 00	 $C((	 'tCy11	 !%%	 C
 	
	 c""	 "#&&	 DI&&	 C  	 ""JKK	 ?@@	 :;;	 C  	 "#&&	 &8
 	
	 )4())
 	
	 EFF	 ##LMM	 &8
 	
	 *#..	 "#&&	 ##LMM	r   r   c                   2    \ rS rSr% \\S'    \S   \S'   Srg)r   i  enabled0InvoiceService.CreateParamsAutomaticTaxLiability	liabilityr&   Nr(   r)   r*   r+   rD   r-   r   r.   r&   r   r   CreateParamsAutomaticTax'InvoiceService.CreateParamsAutomaticTax  #    	 >
 	
	r   r   c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)r   i  accountr   r   typer&   N	r(   r)   r*   r+   r   r,   r-   r   r.   r&   r   r   !CreateParamsAutomaticTaxLiability0InvoiceService.CreateParamsAutomaticTaxLiability  %    S!!	 '((	r   r   c                   ,    \ rS rSr% \\S'    \\S'   Srg)&InvoiceService.CreateParamsCustomFieldi  rk   valuer&   Nr(   r)   r*   r+   r,   r-   r.   r&   r   r   CreateParamsCustomFieldr         		 
	r   r   c                   J    \ rS rSr% \\   \S'    \\   \S'    \\   \S'   Srg)#InvoiceService.CreateParamsDiscounti  rJ   rK   rL   r&   NrM   r&   r   r   CreateParamsDiscountr     rO   r   r   c                   2    \ rS rSr% \S   \S'    \\S'   Srg)r   i  revisionactioninvoicer&   Nr(   r)   r*   r+   r   r-   r,   r.   r&   r   r   CreateParamsFromInvoice&InvoiceService.CreateParamsFromInvoice  s    
##	 	r   r   c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)r   i  r   r   r   r&   Nr   r&   r   r   CreateParamsIssuer!InvoiceService.CreateParamsIssuer  r   r   r   c                   J    \ rS rSr% \S   \S'    \S   \S'    \S   \S'   Srg	)
r   i  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', 'jp_credit_transfer', 'kakao_pay', 'klarna', 'konbini', 'kr_card', 'link', 'multibanco', 'naver_pay', 'nz_bank_account', 'p24', 'payco', 'paynow', 'paypal', 'promptpay', 'revolut_pay', 'sepa_credit_transfer', 'sepa_debit', 'sofort', 'swish', 'us_bank_account', 'wechat_pay']]payment_method_typesr&   Nr(   r)   r*   r+   r   r-   r.   r&   r   r   CreateParamsPaymentSettings*InvoiceService.CreateParamsPaymentSettings  D    $%677	 !,L!
 	
	 * F
 	
	r   r	  c                       \ rS rSr% \S   \S'    \S   \S'    \S   \S'    \S   \S	'    \S
   \S'    \S   \S'    \S   \S'   Srg)r  i  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_accountr&   Nr  r&   r   r   /CreateParamsPaymentSettingsPaymentMethodOptions>InvoiceService.CreateParamsPaymentSettingsPaymentMethodOptions      a
 	
	  b
 	
	 \
 	
	 &g
 	
	 _
 	
	  a
 	
	 %e
 	
	r   r  c                   >    \ rS rSr% \S   \S'    \\S      \S'   Srg)GInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsAcssDebiti  UInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsAcssDebitMandateOptionsmandate_options	automaticinstantmicrodepositsverification_methodr&   Nr(   r)   r*   r+   r   r-   r   r.   r&   r   r   8CreateParamsPaymentSettingsPaymentMethodOptionsAcssDebitr    4    $c
 	
	 );<
 	
	r   r!  c                   ,    \ rS rSr% \\S      \S'   Srg)r  i&  businesspersonaltransaction_typer&   Nr(   r)   r*   r+   r   r   r-   r.   r&   r   r   FCreateParamsPaymentSettingsPaymentMethodOptionsAcssDebitMandateOptionsUInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsAcssDebitMandateOptions&       &g.D&EFF	r   r)  c                   ,    \ rS rSr% \\S      \S'   Srg)HInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsBancontacti.  deenfrnlpreferred_languager&   Nr(  r&   r   r   9CreateParamsPaymentSettingsPaymentMethodOptionsBancontactr-  .      '0F(GHH	r   r4  c                   >    \ rS rSr% \S   \S'    \\S      \S'   Srg)BInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsCardi4  NInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsinstallmentsanyr  	challengerequest_three_d_securer&   Nr   r&   r   r   3CreateParamsPaymentSettingsPaymentMethodOptionsCardr7  4  4    !\
 	
	
 !,34!
 	
	r   r>  c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)r8  iD  r   z^Literal['']|InvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlanplanr&   Nr(   r)   r*   r+   r   rD   r-   r.   r&   r   r   ?CreateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsNInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsD  +     T""	 l
 	
	r   rC  c                   P    \ rS rSr% \\   \S'    \\S      \S'    \S   \S'   Srg)	RInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlaniS  countmonthintervalfixed_countr   r&   N	r(   r)   r*   r+   r   rC   r-   r   r.   r&   r   r   CCreateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlanrG  S  =     3	 gg.//	 m$$	r   rM  c                   8    \ rS rSr% \S   \S'    \\   \S'   Srg)MInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceid  YInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferbank_transferfunding_typer&   Nr(   r)   r*   r+   r   r-   r,   r.   r&   r   r   >CreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalancerP  d  +     #g
 	
	 "#&&	r   rU  c                   8    \ rS rSr% \S   \S'    \\   \S'   Srg)rQ  ir  gInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfereu_bank_transferr   r&   NrT  r&   r   r   JCreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferYInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferr  +     &u
 	
	 #	r   rZ  c                        \ rS rSr% \\S'   Srg)rX  i  r   r&   Nr   r&   r   r   XCreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfergInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer       	r   r^  c                       \ rS rSrSrg)EInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsKonbinii  r&   Nr(   r)   r*   r+   r.   r&   r   r   6CreateParamsPaymentSettingsPaymentMethodOptionsKonbinirb        r   rd  c                       \ rS rSrSrg)GInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsSepaDebiti  r&   Nrc  r&   r   r   8CreateParamsPaymentSettingsPaymentMethodOptionsSepaDebitrg    re  r   rh  c                   >    \ rS rSr% \S   \S'    \\S      \S'   Srg)KInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccounti  _InvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsfinancial_connectionsr  r  r&   Nr   r&   r   r   <CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountrj    6      +m 
 	
	 );<
 	
	r   rm  c                   b    \ rS rSr% \S   \S'    \\\S         \S'    \\\S         \S'   Srg	)
rk  i  fInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFiltersfiltersbalances	ownershippayment_methodtransactionspermissionsrs  rt  rv  prefetchr&   N	r(   r)   r*   r+   r   r-   r   r   r.   r&   r   r   PCreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections_InvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections  b     t
 	
	 !M
 	
	 @AB
 	
	r   r{  c                   2    \ rS rSr% \\\S         \S'   Srg)rp  i  checkingsavingsaccount_subcategoriesr&   N	r(   r)   r*   r+   r   r   r   r-   r.   r&   r   r   WCreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFiltersfInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters  $      +./0 
 	
	r   r  c                   \    \ rS rSr% \S   \S'    \S   \S'    \\   \S'    \S   \S'   S	rg
)r   i  ;Literal['']|Literal['exclude_tax', 'include_inclusive_tax']amount_tax_display'InvoiceService.CreateParamsRenderingPdfpdftemplateLiteral['']|inttemplate_versionr&   NrT  r&   r   r   CreateParamsRendering$InvoiceService.CreateParamsRendering  O    'I
 	
	 BCC	 c""	 &&788	r   r  c                   ,    \ rS rSr% \\S      \S'   Srg)r  i  a4autoletter	page_sizer&   Nr(  r&   r   r   CreateParamsRenderingPdf'InvoiceService.CreateParamsRenderingPdf      w'=>??	r   r  c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)r   i  shipping_rate7InvoiceService.CreateParamsShippingCostShippingRateDatashipping_rate_datar&   NrM   r&   r   r   CreateParamsShippingCost'InvoiceService.CreateParamsShippingCost  )    "3''	 (E
 	
	r   r  c                       \ rS rSr% \S   \S'    \\S'    \S   \S'    \\\\4      \S'    \\S      \S	'    \\   \S
'    \\S      \S'   Sr	g)r  i  GInvoiceService.CreateParamsShippingCostShippingRateDataDeliveryEstimatedelivery_estimater   BInvoiceService.CreateParamsShippingCostShippingRateDataFixedAmountfixed_amountr7   r^   rb   rl   r   r&   N
r(   r)   r*   r+   r   r-   r,   r
   r   r.   r&   r   r   (CreateParamsShippingCostShippingRateData7InvoiceService.CreateParamsShippingCostShippingRateData      &U
 	
	 	 "P
 	
	 d38n--	 ";<
 	
	 c""	 '.122	r   r  c                   8    \ rS rSr% \S   \S'    \S   \S'   Srg)r  i  NInvoiceService.CreateParamsShippingCostShippingRateDataDeliveryEstimateMaximummaximumNInvoiceService.CreateParamsShippingCostShippingRateDataDeliveryEstimateMinimumminimumr&   Nr  r&   r   r   8CreateParamsShippingCostShippingRateDataDeliveryEstimateGInvoiceService.CreateParamsShippingCostShippingRateDataDeliveryEstimate  .    \
 	
	 \
 	
	r   r  c                   2    \ rS rSr% \S   \S'    \\S'   Srg)r  i  business_daydayhourrI  weekunitr   r&   Nr(   r)   r*   r+   r   r-   rC   r.   r&   r   r   ?CreateParamsShippingCostShippingRateDataDeliveryEstimateMaximumNInvoiceService.CreateParamsShippingCostShippingRateDataDeliveryEstimateMaximum  !     DEE	 
	r   r  c                   2    \ rS rSr% \S   \S'    \\S'   Srg)r  i(  r  r  r   r&   Nr  r&   r   r   ?CreateParamsShippingCostShippingRateDataDeliveryEstimateMinimumNInvoiceService.CreateParamsShippingCostShippingRateDataDeliveryEstimateMinimum(  r  r   r  c                   H    \ rS rSr% \\S'    \\S'    \\\S4      \S'   Sr	g)r  i4  r2   rZ   QInvoiceService.CreateParamsShippingCostShippingRateDataFixedAmountCurrencyOptionscurrency_optionsr&   N
r(   r)   r*   r+   rC   r-   r,   r   r
   r.   r&   r   r   3CreateParamsShippingCostShippingRateDataFixedAmountBInvoiceService.CreateParamsShippingCostShippingRateDataFixedAmount4  @    	 	 &ce
 	
	r   r  c                   8    \ rS rSr% \\S'    \\S      \S'   Srg)r  iG  r2   r^   rb   r&   Nr   r&   r   r   BCreateParamsShippingCostShippingRateDataFixedAmountCurrencyOptionsQInvoiceService.CreateParamsShippingCostShippingRateDataFixedAmountCurrencyOptionsG  +     	 ";<
 	
	r   r  c                   >    \ rS rSr% S\S'    \\S'    \S   \S'   Srg)	r   iU  1InvoiceService.CreateParamsShippingDetailsAddressaddressrk   r  phoner&   Nr(   r)   r*   r+   r-   r,   r   r.   r&   r   r   CreateParamsShippingDetails*InvoiceService.CreateParamsShippingDetailsU  ,    DD	 		 ,--	r   r  c                       \ rS rSr% \\   \S'    \\   \S'    \\   \S'    \\   \S'    \\   \S'    \\   \S'   Srg	)
r  ic  r   r   line1line2postal_coder   r&   NrM   r&   r   r   "CreateParamsShippingDetailsAddress1InvoiceService.CreateParamsShippingDetailsAddressc  l    #	 S!!	 3	 3	 !%%	 3	r   r  c                   2    \ rS rSr% \\   \S'    \\S'   Srg)r   i}  r2   destinationr&   N	r(   r)   r*   r+   r   rC   r-   r,   r.   r&   r   r   CreateParamsTransferData'InvoiceService.CreateParamsTransferData}      C  	 	r   r  c                   "   \ rS rSr% \S   \S'    \\   \S'    \\   \S'    \S   \S'    \S   \S	'    \\\      \S
'    \\S      \S'    \S   \S'    \S   \S'    \\S      \S'    \\   \S'    \S   \S'    \\   \S'    \S   \S'   Sr	g)"InvoiceService.CreatePreviewParamsi  .InvoiceService.CreatePreviewParamsAutomaticTaxr   rZ   r   1InvoiceService.CreatePreviewParamsCustomerDetailscustomer_detailsz<Literal['']|List[InvoiceService.CreatePreviewParamsDiscount]r5   r!   -InvoiceService.CreatePreviewParamsInvoiceIteminvoice_items(InvoiceService.CreatePreviewParamsIssuerr   r  r   )next	recurringpreview_modeschedule1InvoiceService.CreatePreviewParamsScheduleDetailsschedule_detailsr   5InvoiceService.CreatePreviewParamsSubscriptionDetailssubscription_detailsr&   N)
r(   r)   r*   r+   r   r-   r,   r   r   r.   r&   r   r   CreatePreviewParamsr    s,   "<
 	
	 c""	 c""	 &?
 	
	 J
 	
	 DI&&	 #@A
 	
	 FGG	 ""344	 "'*=">??	 c""	 &?
 	
	 "#&&	 *C
 	
	r   r  c                   2    \ rS rSr% \\S'    \S   \S'   Srg)r  i  r   7InvoiceService.CreatePreviewParamsAutomaticTaxLiabilityr   r&   Nr   r&   r   r   CreatePreviewParamsAutomaticTax.InvoiceService.CreatePreviewParamsAutomaticTax  s#    	 E
 	
	r   r  c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)r  i  r   r   r   r&   Nr   r&   r   r   (CreatePreviewParamsAutomaticTaxLiability7InvoiceService.CreatePreviewParamsAutomaticTaxLiability  r   r   r  c                   t    \ rS rSr% \S   \S'    \S   \S'    \S   \S'    \S   \S	'    \\S
      \S'   Srg)r  i  zDLiteral['']|InvoiceService.CreatePreviewParamsCustomerDetailsAddressr  zELiteral['']|InvoiceService.CreatePreviewParamsCustomerDetailsShippingshipping4InvoiceService.CreatePreviewParamsCustomerDetailsTaxtaxz0Literal['']|Literal['exempt', 'none', 'reverse']
tax_exempt6InvoiceService.CreatePreviewParamsCustomerDetailsTaxIdtax_idsr&   N)r(   r)   r*   r+   r   r-   r   r.   r&   r   r   "CreatePreviewParamsCustomerDetails1InvoiceService.CreatePreviewParamsCustomerDetails  sy    R
 	
	 S
 	
	 B
 	
	  >
 	
	 IJ
 	
	r   r   c                       \ rS rSr% \\   \S'    \\   \S'    \\   \S'    \\   \S'    \\   \S'    \\   \S'   Srg	)
8InvoiceService.CreatePreviewParamsCustomerDetailsAddressi  r   r   r  r  r  r   r&   NrM   r&   r   r   )CreatePreviewParamsCustomerDetailsAddressr    r  r   r  c                   >    \ rS rSr% S\S'    \\S'    \\   \S'   Srg)9InvoiceService.CreatePreviewParamsCustomerDetailsShippingi  @InvoiceService.CreatePreviewParamsCustomerDetailsShippingAddressr  rk   r  r&   Nr  r&   r   r   *CreatePreviewParamsCustomerDetailsShippingr    s-    N	
	 		 3	r   r  c                       \ rS rSr% \\   \S'    \\   \S'    \\   \S'    \\   \S'    \\   \S'    \\   \S'   Srg	)
r  i-  r   r   r  r  r  r   r&   NrM   r&   r   r   1CreatePreviewParamsCustomerDetailsShippingAddress@InvoiceService.CreatePreviewParamsCustomerDetailsShippingAddress-  r  r   r
  c                   &    \ rS rSr% \S   \S'   Srg)r  iG  r  
ip_addressr&   Nr  r&   r   r   %CreatePreviewParamsCustomerDetailsTax4InvoiceService.CreatePreviewParamsCustomerDetailsTaxG  s     122	r   r  c                   2    \ rS rSr% \S   \S'    \\S'   Srg)r  iM  )dad_nrtae_trnal_tinam_tinao_tinar_cuitau_abnau_arnba_tinbb_tinbg_uicbh_vatbo_tinbr_cnpjbr_cpfbs_tinby_tinca_bn
ca_gst_hst	ca_pst_bc	ca_pst_mb	ca_pst_skca_qstcd_nifch_uidch_vatcl_tincn_tinco_nitcr_tinde_stndo_rcnec_ruceg_tines_cif
eu_oss_vateu_vatgb_vatge_vatgn_nifhk_brhr_oibhu_tinid_npwpil_vatin_gstis_vatjp_cnjp_rnjp_trnke_pinkh_tinkr_brnkz_binli_uidli_vatma_vatmd_vatme_pibmk_vatmr_nifmx_rfcmy_frpmy_itnmy_sstng_tinno_vatno_voecnp_pannz_gstom_vatpe_rucph_tinro_tinrs_pibru_innru_kppsa_vatsg_gstsg_uensi_tinsn_nineasr_finsv_nitth_vattj_tintr_tintw_vattz_vatua_vatug_tinus_einuy_rucuz_tinuz_vatve_rifvn_tinza_vatzm_tinzw_tinr   r   r&   Nr   r&   r   r   'CreatePreviewParamsCustomerDetailsTaxId6InvoiceService.CreatePreviewParamsCustomerDetailsTaxIdM  s)    ce
 e	
L	 
	r   ru  c                   J    \ rS rSr% \\   \S'    \\   \S'    \\   \S'   Srg)*InvoiceService.CreatePreviewParamsDiscounti  rJ   rK   rL   r&   NrM   r&   r   r   CreatePreviewParamsDiscountrx    rO   r   ry  c                   :   \ rS rSr% \\   \S'    \\   \S'    \\   \S'    \\   \S'    \S   \S'    \\   \S'    \S	   \S
'    \S   \S'    \\   \S'    \S   \S'    \\   \S'    \\	S      \S'    \S   \S'    \S   \S'    \\   \S'    \\   \S'   Sr
g)r  i  r2   rZ   r3   r4   zGLiteral['']|List[InvoiceService.CreatePreviewParamsInvoiceItemDiscount]r5   invoiceitemr"   r7   3InvoiceService.CreatePreviewParamsInvoiceItemPeriodr9   rs   6InvoiceService.CreatePreviewParamsInvoiceItemPriceDatar;   r>   r^   rb   r  rl   r@   rA   rc   rd   r&   N)r(   r)   r*   r+   r   rC   r-   r,   rD   r   r.   r&   r   r   CreatePreviewParamsInvoiceItem-InvoiceService.CreatePreviewParamsInvoiceItem  s=   C  	 c""	 !%%	 "$''	 U
 	
	 !%%	 :;;	 A
 	
	 3	  D
 	
	 c""	 ";<
 	
	 /00	 677	 !%%	 )--	r   r~  c                   J    \ rS rSr% \\   \S'    \\   \S'    \\   \S'   Srg)5InvoiceService.CreatePreviewParamsInvoiceItemDiscounti  rJ   rK   rL   r&   NrM   r&   r   r   &CreatePreviewParamsInvoiceItemDiscountr    rO   r   r  c                   ,    \ rS rSr% \\S'    \\S'   Srg)r|  i"  rR   rS   r&   NrT   r&   r   r   $CreatePreviewParamsInvoiceItemPeriod3InvoiceService.CreatePreviewParamsInvoiceItemPeriod"  rW   r   r  c                   h    \ rS rSr% \\S'    \\S'    \\S      \S'    \\   \S'    \\   \S'   Sr	g	)
r}  i,  rZ   r[   r^   rb   rc   rd   r&   Nre   r&   r   r   'CreatePreviewParamsInvoiceItemPriceData6InvoiceService.CreatePreviewParamsInvoiceItemPriceData,  sY    	 	 ";<
 	
	 !%%	 )--	r   r  c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)r  iD  r   r   r   r&   Nr   r&   r   r   CreatePreviewParamsIssuer(InvoiceService.CreatePreviewParamsIssuerD  r   r   r  c                   \    \ rS rSr% \\S      \S'    \\S      \S'    \\S      \S'   Srg	)
r  iN  )cancelreleaseend_behavior6InvoiceService.CreatePreviewParamsScheduleDetailsPhasephasesalways_invoicecreate_prorationsnoneproration_behaviorr&   N)	r(   r)   r*   r+   r   r   r-   r   r.   r&   r   r   "CreatePreviewParamsScheduleDetails1InvoiceService.CreatePreviewParamsScheduleDetailsN  sR    !'*=">??	 IJ
 	
	 (AB
 	
	r   r  c                      \ rS rSr% \\S      \S'    \\   \S'    \S   \S'    \\S      \S'    \\S	      \S
'    \\	   \S'    \\	   \S'    \S   \S'    \S   \S'    \S   \S'    \S   \S'    \S   \S'    \S   \S'    \\
   \S'    \\\	\	4      \S'    \\	   \S'    \\S      \S'    \S   \S'    \S   \S '    \\   \S!'    \S   \S"'   S#rg$)%r  i`  DInvoiceService.CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemadd_invoice_itemsapplication_fee_percentBInvoiceService.CreatePreviewParamsScheduleDetailsPhaseAutomaticTaxr   )r  phase_startbilling_cycle_anchorr   r   rZ   r   r@   r   r  r3   zPLiteral['']|List[InvoiceService.CreatePreviewParamsScheduleDetailsPhaseDiscount]r5   zint|Literal['now']end_dateEInvoiceService.CreatePreviewParamsScheduleDetailsPhaseInvoiceSettingsinvoice_settings:InvoiceService.CreatePreviewParamsScheduleDetailsPhaseItemitems
iterationsr7   r   r  r  
start_dateBInvoiceService.CreatePreviewParamsScheduleDetailsPhaseTransferDatar   trial	trial_endr&   N)r(   r)   r*   r+   r   r   r-   r   r   r,   rC   r
   rD   r.   r&   r   r   'CreatePreviewParamsScheduleDetailsPhase6InvoiceService.CreatePreviewParamsScheduleDetailsPhase`  s   &V
 	

	 "-U!33	 #P
 	
	 *'2L*MNN	 ':;
 	
	 c""	 !,C 00	 ''>??	 !!233	 ^
 	
	 233	 &S
 	
	 H
 	
	  $$	 d38n--	 "#&&	 (AB
 	
	   455	 #P
 	
	 4  	 344	r   r  c                   t    \ rS rSr% \\S      \S'    \\   \S'    \S   \S'    \\   \S'    \S   \S	'   S
r	g)r  i  LInvoiceService.CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemDiscountr5   rs   MInvoiceService.CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemPriceDatar;   r>   r@   rA   r&   N)
r(   r)   r*   r+   r   r   r-   r,   rC   r.   r&   r   r   5CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemDInvoiceService.CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItem  sm    ^
 	

	 3	  [
 	
	 c""	 677	r   r  c                   J    \ rS rSr% \\   \S'    \\   \S'    \\   \S'   Srg)r  i  rJ   rK   rL   r&   NrM   r&   r   r   =CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemDiscountLInvoiceService.CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemDiscount  s8     C  	 c""	 $C((	r   r  c                   h    \ rS rSr% \\S'    \\S'    \\S      \S'    \\   \S'    \\   \S'   Sr	g	)
r  i  rZ   r[   r^   rb   rc   rd   r&   Nre   r&   r   r   >CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemPriceDataMInvoiceService.CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemPriceData  s[     	 	 ";<
 	
	 !%%	 )--	r   r  c                   2    \ rS rSr% \\S'    \S   \S'   Srg)r  i  r   KInvoiceService.CreatePreviewParamsScheduleDetailsPhaseAutomaticTaxLiabilityr   r&   Nr   r&   r   r   3CreatePreviewParamsScheduleDetailsPhaseAutomaticTaxBInvoiceService.CreatePreviewParamsScheduleDetailsPhaseAutomaticTax  s#    	 Y
 	
	r   r  c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)r  i  r   r   r   r&   Nr   r&   r   r   <CreatePreviewParamsScheduleDetailsPhaseAutomaticTaxLiabilityKInvoiceService.CreatePreviewParamsScheduleDetailsPhaseAutomaticTaxLiability  '     S!!	 '((	r   r  c                   J    \ rS rSr% \\   \S'    \\   \S'    \\   \S'   Srg)>InvoiceService.CreatePreviewParamsScheduleDetailsPhaseDiscounti&  rJ   rK   rL   r&   NrM   r&   r   r   /CreatePreviewParamsScheduleDetailsPhaseDiscountr  &  rO   r   r  c                   J    \ rS rSr% \S   \S'    \\   \S'    \S   \S'   Srg)	r  i4  r@   r   r   KInvoiceService.CreatePreviewParamsScheduleDetailsPhaseInvoiceSettingsIssuerr   r&   N)r(   r)   r*   r+   r   r-   rC   r.   r&   r   r   6CreatePreviewParamsScheduleDetailsPhaseInvoiceSettingsEInvoiceService.CreatePreviewParamsScheduleDetailsPhaseInvoiceSettings4  s<    $%<==	 $C((	 Y
 	
	r   r  c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)r  iD  r   r   r   r&   Nr   r&   r   r   <CreatePreviewParamsScheduleDetailsPhaseInvoiceSettingsIssuerKInvoiceService.CreatePreviewParamsScheduleDetailsPhaseInvoiceSettingsIssuerD  r  r   r  c                       \ rS rSr% \S   \S'    \\\\4      \S'    \\   \S'    \\   \S'    \S   \S'    \\   \S	'    \S
   \S'   Sr	g)r  iP  zTLiteral['']|List[InvoiceService.CreatePreviewParamsScheduleDetailsPhaseItemDiscount]r5   r7   rA  rs   CInvoiceService.CreatePreviewParamsScheduleDetailsPhaseItemPriceDatar;   r>   r@   rA   r&   N)
r(   r)   r*   r+   r   r-   r
   r,   rC   r.   r&   r   r   +CreatePreviewParamsScheduleDetailsPhaseItem:InvoiceService.CreatePreviewParamsScheduleDetailsPhaseItemP  s    b
 	
	 d38n--	 #	 3	  Q
 	
	 c""	 677	r   r  c                   J    \ rS rSr% \\   \S'    \\   \S'    \\   \S'   Srg)BInvoiceService.CreatePreviewParamsScheduleDetailsPhaseItemDiscountir  rJ   rK   rL   r&   NrM   r&   r   r   3CreatePreviewParamsScheduleDetailsPhaseItemDiscountr  r  rO   r   r  c                   t    \ rS rSr% \\S'    \\S'    S\S'    \\S      \S'    \\   \S'    \\   \S	'   S
r	g)r  i  rZ   r[   LInvoiceService.CreatePreviewParamsScheduleDetailsPhaseItemPriceDataRecurringr  r^   rb   rc   rd   r&   Nre   r&   r   r   4CreatePreviewParamsScheduleDetailsPhaseItemPriceDataCInvoiceService.CreatePreviewParamsScheduleDetailsPhaseItemPriceData  sg    	 	 ba	 ";<
 	
	 !%%	 )--	r   r  c                   8    \ rS rSr% \S   \S'    \\   \S'   Srg)r  i  r  rI  r  yearrJ  interval_countr&   N	r(   r)   r*   r+   r   r-   r   rC   r.   r&   r   r   =CreatePreviewParamsScheduleDetailsPhaseItemPriceDataRecurringLInvoiceService.CreatePreviewParamsScheduleDetailsPhaseItemPriceDataRecurring  '     899	 $C((	r   r  c                   2    \ rS rSr% \\   \S'    \\S'   Srg)r  i  amount_percentr  r&   N)	r(   r)   r*   r+   r   r   r-   r,   r.   r&   r   r   3CreatePreviewParamsScheduleDetailsPhaseTransferDataBInvoiceService.CreatePreviewParamsScheduleDetailsPhaseTransferData  s    #E**	 	r   r  c                       \ rS rSr% \S   \S'    \S   \S'    \\   \S'    \\   \S'    \S   \S	'    \\S
      \S'    \\S      \S'    \\	   \S'    \\S      \S'    \\	   \S'    \S   \S'   Sr
g)r  i  zLiteral['now', 'unchanged']|intr  r  	cancel_atcancel_at_period_end
cancel_nowr@   r   9InvoiceService.CreatePreviewParamsSubscriptionDetailsItemr  r  r  proration_datenow	resume_atr  zLiteral['now']|intr  r&   N)r(   r)   r*   r+   r   r-   rD   r   r   rC   r.   r&   r   r   &CreatePreviewParamsSubscriptionDetails5InvoiceService.CreatePreviewParamsSubscriptionDetails  s    )*KLL	 011	 *$//	  %%	 ''>??	 LM
 	
	 (AB
 	
	 $C((	 wu~..	  $$	 344	r   r  c                       \ rS rSr% \\   \S'    \\   \S'    \S   \S'    \\   \S'    \S   \S'    \\   \S	'    \\   \S
'    \S   \S'    \\   \S'    \S   \S'   Sr	g)r  i  clear_usagedeletedzSLiteral['']|List[InvoiceService.CreatePreviewParamsSubscriptionDetailsItemDiscount]r5   idr"   r7   rA  rs   BInvoiceService.CreatePreviewParamsSubscriptionDetailsItemPriceDatar;   r>   r@   rA   r&   N)
r(   r)   r*   r+   r   rD   r-   r,   rC   r.   r&   r   r   *CreatePreviewParamsSubscriptionDetailsItem9InvoiceService.CreatePreviewParamsSubscriptionDetailsItem  s     &&	 T""	 a
 	
	 	 :;;	 #	 3	  P
 	
	 c""	 677	r   r  c                   J    \ rS rSr% \\   \S'    \\   \S'    \\   \S'   Srg)AInvoiceService.CreatePreviewParamsSubscriptionDetailsItemDiscounti  rJ   rK   rL   r&   NrM   r&   r   r   2CreatePreviewParamsSubscriptionDetailsItemDiscountr    rO   r   r  c                   t    \ rS rSr% \\S'    \\S'    S\S'    \\S      \S'    \\   \S'    \\   \S	'   S
r	g)r  i   rZ   r[   KInvoiceService.CreatePreviewParamsSubscriptionDetailsItemPriceDataRecurringr  r^   rb   rc   rd   r&   Nre   r&   r   r   3CreatePreviewParamsSubscriptionDetailsItemPriceDataBInvoiceService.CreatePreviewParamsSubscriptionDetailsItemPriceData   sg    	 	 a`	 ";<
 	
	 !%%	 )--	r   r  c                   8    \ rS rSr% \S   \S'    \\   \S'   Srg)r  i<  r  rJ  r  r&   Nr  r&   r   r   <CreatePreviewParamsSubscriptionDetailsItemPriceDataRecurringKInvoiceService.CreatePreviewParamsSubscriptionDetailsItemPriceDataRecurring<  r  r   r  c                       \ rS rSrSrg)InvoiceService.DeleteParamsiH  r&   Nrc  r&   r   r   DeleteParamsr  H  re  r   r  c                   >    \ rS rSr% \\   \S'    \\\      \S'   Sr	g)$InvoiceService.FinalizeInvoiceParamsiK  r   r!   r&   N)
r(   r)   r*   r+   r   rD   r-   r   r,   r.   r&   r   r   FinalizeInvoiceParamsr  K  s(    !$''	 DI&&	r   r   c                       \ rS rSr% \\S      \S'    \S   \S'    \\   \S'    \S   \S'   \\   \S	'    \\\      \S
'    \\	   \S'    \\   \S'    \\S      \S'    \\   \S'   Sr
g)InvoiceService.ListParamsiU  r   r   z$InvoiceService.ListParamsCreated|intcreatedr   z$InvoiceService.ListParamsDueDate|intr   ending_beforer!   limitstarting_after)draftopenpaiduncollectiblevoidstatusr   r&   N)r(   r)   r*   r+   r   r   r-   r,   r   rC   r.   r&   r   r   
ListParamsr  U  s    &:;
 	
	 CDD	 c""	 DEE"3''	 DI&&	 3	 $C((	 DE
 	
	 "#&&	r   r  c                   \    \ rS rSr% \\   \S'    \\   \S'    \\   \S'    \\   \S'   Srg) InvoiceService.ListParamsCreatedi  gtgteltlter&   Nr(   r)   r*   r+   r   rC   r-   r.   r&   r   r   ListParamsCreatedr    H    	 	 	 	r   r  c                   \    \ rS rSr% \\   \S'    \\   \S'    \\   \S'    \\   \S'   Srg) InvoiceService.ListParamsDueDatei  r  r  r  r  r&   Nr  r&   r   r   ListParamsDueDater    r  r   r  c                   ,    \ rS rSr% \\\      \S'   Srg)&InvoiceService.MarkUncollectibleParamsi  r!   r&   Nr'   r&   r   r   MarkUncollectibleParamsr        DI&&	r   r  c                       \ rS rSr% \\\      \S'    \\   \S'    \S   \S'    \\   \S'    \\   \S'    \\   \S'    \\   \S	'   S
r	g)InvoiceService.PayParamsi  r!   forgiver  mandateoff_sessionpaid_out_of_bandru  sourcer&   N)
r(   r)   r*   r+   r   r   r,   r-   rD   r.   r&   r   r   	PayParamsr    s    DI&&	 T""	
 .//	 !&&	 &d++	 $C((	 C  	r   r%  c                   P    \ rS rSr% \\\      \S'    \S   \S'    \S   \S'   Srg)	 InvoiceService.RemoveLinesParamsi  r!   r"   r#   $InvoiceService.RemoveLinesParamsLiner%   r&   Nr'   r&   r   r   RemoveLinesParamsr'    <    DI&&	 &&BCC	 :;;	r   r)  c                   2    \ rS rSr% \S   \S'    \\S'   Srg)r(  i  )deleteunassignbehaviorr  r&   Nr   r&   r   r   RemoveLinesParamsLine$InvoiceService.RemoveLinesParamsLine  s    .//	 	r   r/  c                   ,    \ rS rSr% \\\      \S'   Srg)InvoiceService.RetrieveParamsi  r!   r&   Nr'   r&   r   r   RetrieveParamsr2    r  r   r3  c                   \    \ rS rSr% \\\      \S'    \\   \S'    \\   \S'    \\S'   Sr	g)InvoiceService.SearchParamsi  r!   r  pagequeryr&   N)
r(   r)   r*   r+   r   r   r,   r-   rC   r.   r&   r   r   SearchParamsr5    sF    DI&&	 3	 #	 
	r   r8  c                   ,    \ rS rSr% \\\      \S'   Srg) InvoiceService.SendInvoiceParamsi  r!   r&   Nr'   r&   r   r   SendInvoiceParamsr:    r  r   r;  c                   P    \ rS rSr% \\\      \S'    \S   \S'    \S   \S'   Srg)	 InvoiceService.UpdateLinesParamsi   r!   r"   r#   $InvoiceService.UpdateLinesParamsLiner%   r&   Nr'   r&   r   r   UpdateLinesParamsr=     r*  r   r?  c                       \ rS rSr% \\   \S'    \\   \S'    \\   \S'    \S   \S'    \\S'    \S   \S	'    \S
   \S'    \S   \S'    \S   \S'    \\   \S'    \S   \S'    \S   \S'   Sr	g)r>  i  r2   r3   r4   z>Literal['']|List[InvoiceService.UpdateLinesParamsLineDiscount]r5   r  r"   r7   *InvoiceService.UpdateLinesParamsLinePeriodr9   -InvoiceService.UpdateLinesParamsLinePriceDatar;   +InvoiceService.UpdateLinesParamsLinePricingr=   r>   z?Literal['']|List[InvoiceService.UpdateLinesParamsLineTaxAmount]r?   r@   rA   r&   NrB   r&   r   r   UpdateLinesParamsLine$InvoiceService.UpdateLinesParamsLine  s    C  	 !%%	 "$''	 L
 	
	 	 :;;	 HII	  ;
 	
	 JKK	 c""	 !M
 	
	 677	r   rD  c                   J    \ rS rSr% \\   \S'    \\   \S'    \\   \S'   Srg),InvoiceService.UpdateLinesParamsLineDiscountiF  rJ   rK   rL   r&   NrM   r&   r   r   UpdateLinesParamsLineDiscountrG  F  rO   r   rH  c                   ,    \ rS rSr% \\S'    \\S'   Srg)rA  iT  rR   rS   r&   NrT   r&   r   r   UpdateLinesParamsLinePeriod*InvoiceService.UpdateLinesParamsLinePeriodT  rW   r   rJ  c                       \ rS rSr% \\S'    \\   \S'    \S   \S'    \\S      \S'    \\   \S'    \\   \S	'   S
r	g)rB  i^  rZ   r[   8InvoiceService.UpdateLinesParamsLinePriceDataProductDatar]   r^   rb   rc   rd   r&   Nre   r&   r   r   UpdateLinesParamsLinePriceData-InvoiceService.UpdateLinesParamsLinePriceData^  sv    	 S!!	 "F
 	
	 ";<
 	
	 !%%	 )--	r   rN  c                   x    \ rS rSr% \\   \S'    \\\      \S'    \\\\4      \S'    \\S'    \\   \S'   Sr	g)	rM  i|  r3   rj   r7   rk   rl   r&   Nrm   r&   r   r   )UpdateLinesParamsLinePriceDataProductData8InvoiceService.UpdateLinesParamsLinePriceDataProductData|  rp   r   rQ  c                   &    \ rS rSr% \\   \S'   Srg)rC  i  rs   r&   NrM   r&   r   r   UpdateLinesParamsLinePricing+InvoiceService.UpdateLinesParamsLinePricing  rv   r   rT  c                   P    \ rS rSr% \\S'    S\S'    \\S      \S'    \\S'   Srg	)
-InvoiceService.UpdateLinesParamsLineTaxAmounti  r2   8InvoiceService.UpdateLinesParamsLineTaxAmountTaxRateDatar{   r|   r   r   r&   Nr   r&   r   r   UpdateLinesParamsLineTaxAmountrW    sJ    	 G	
	
 '
 	
&	 	r   rY  c                       \ rS rSr% \\   \S'    \\   \S'    \\S'    \\S'    \\   \S'    \\S      \S'    \	\S	'    \\   \S
'    \\S      \S'   Sr
g)rX  i  r   r3   r   r`   r   r   r   r   r   r   r   r&   Nr   r&   r   r   )UpdateLinesParamsLineTaxAmountTaxRateData8InvoiceService.UpdateLinesParamsLineTaxAmountTaxRateData  r   r   r[  c                      \ rS rSr% \S   \S'    \\   \S'    \\   \S'    \S   \S'    \\   \S'    \\S	      \S
'    \S   \S'    \\   \S'    \\	   \S'    \S   \S'    \S   \S'    \\	   \S'    \S   \S'    \\   \S'    \S   \S'    \\
\	      \S'    \\	   \S'    \S   \S'    \S   \S'    \S   \S'    \S   \S'    \S    \S!'    \S"   \S#'    \S$   \S%'    \S&   \S''    \\	   \S('    \S)   \S*'   S+rg,)-InvoiceService.UpdateParamsi  r@   r   r   r   'InvoiceService.UpdateParamsAutomaticTaxr   r   r   r   z8Literal['']|List[InvoiceService.UpdateParamsCustomField]r   r   r   r  r   r   r3   z5Literal['']|List[InvoiceService.UpdateParamsDiscount]r5   r   r  r   r!   r   !InvoiceService.UpdateParamsIssuerr   r"   r7   r   r   *InvoiceService.UpdateParamsPaymentSettingsr   $InvoiceService.UpdateParamsRenderingr   z3Literal['']|InvoiceService.UpdateParamsShippingCostr   z6Literal['']|InvoiceService.UpdateParamsShippingDetailsr   r   z3Literal['']|InvoiceService.UpdateParamsTransferDatar   r&   Nr   r&   r   r   UpdateParamsr^    s   $%<==	 !,C 00	 "$''	 ##LMM	 %0$44	 ':;
 	
	 #F
 	
	 $C((	 !,C 00	 $$566	 ''>??	 !%%	 C
 	
	 c""	 ""344	 DI&&	 C  	 ?@@	 :;;	 -..	 ""344	 &8
 	
	 EFF	 #A
 	
	 &D
 	
	 *#..	 #A
 	
	r   rc  c                   2    \ rS rSr% \\S'    \S   \S'   Srg)r_  iw	  r   0InvoiceService.UpdateParamsAutomaticTaxLiabilityr   r&   Nr   r&   r   r   UpdateParamsAutomaticTax'InvoiceService.UpdateParamsAutomaticTaxw	  r   r   rf  c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)re  i	  r   r   r   r&   Nr   r&   r   r   !UpdateParamsAutomaticTaxLiability0InvoiceService.UpdateParamsAutomaticTaxLiability	  r   r   ri  c                   ,    \ rS rSr% \\S'    \\S'   Srg)&InvoiceService.UpdateParamsCustomFieldi	  rk   r   r&   Nr   r&   r   r   UpdateParamsCustomFieldrl  	  r   r   rm  c                   J    \ rS rSr% \\   \S'    \\   \S'    \\   \S'   Srg)#InvoiceService.UpdateParamsDiscounti	  rJ   rK   rL   r&   NrM   r&   r   r   UpdateParamsDiscountro  	  rO   r   rp  c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)r`  i	  r   r   r   r&   Nr   r&   r   r   UpdateParamsIssuer!InvoiceService.UpdateParamsIssuer	  r   r   rr  c                   J    \ rS rSr% \S   \S'    \S   \S'    \S   \S'   Srg	)
ra  i	  r  r  >InvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsr  r  r  r&   Nr  r&   r   r   UpdateParamsPaymentSettings*InvoiceService.UpdateParamsPaymentSettings	  r  r   rv  c                       \ rS rSr% \S   \S'    \S   \S'    \S   \S'    \S   \S	'    \S
   \S'    \S   \S'    \S   \S'   Srg)ru  i	  zSLiteral['']|InvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsAcssDebitr  zTLiteral['']|InvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsBancontactr  zNLiteral['']|InvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCardr  zYLiteral['']|InvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCustomerBalancer  zQLiteral['']|InvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsKonbinir  zSLiteral['']|InvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsSepaDebitr  zWLiteral['']|InvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountr  r&   Nr  r&   r   r   /UpdateParamsPaymentSettingsPaymentMethodOptions>InvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptions	  r  r   ry  c                   >    \ rS rSr% \S   \S'    \\S      \S'   Srg)GInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsAcssDebiti	  UInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsAcssDebitMandateOptionsr  r  r  r&   Nr   r&   r   r   8UpdateParamsPaymentSettingsPaymentMethodOptionsAcssDebitr|  	  r"  r   r~  c                   ,    \ rS rSr% \\S      \S'   Srg)r}  i	  r$  r'  r&   Nr(  r&   r   r   FUpdateParamsPaymentSettingsPaymentMethodOptionsAcssDebitMandateOptionsUInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsAcssDebitMandateOptions	  r+  r   r  c                   ,    \ rS rSr% \\S      \S'   Srg)HInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsBancontacti
  r.  r3  r&   Nr(  r&   r   r   9UpdateParamsPaymentSettingsPaymentMethodOptionsBancontactr  
  r5  r   r  c                   >    \ rS rSr% \S   \S'    \\S      \S'   Srg)BInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCardi	
  NInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsr9  r:  r=  r&   Nr   r&   r   r   3UpdateParamsPaymentSettingsPaymentMethodOptionsCardr  	
  r?  r   r  c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)r  i
  r   z^Literal['']|InvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlanrA  r&   NrB  r&   r   r   ?UpdateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsNInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCardInstallments
  rE  r   r  c                   P    \ rS rSr% \\   \S'    \\S      \S'    \S   \S'   Srg)	RInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlani(
  rH  rI  rJ  rK  r   r&   NrL  r&   r   r   CUpdateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlanr  (
  rN  r   r  c                   8    \ rS rSr% \S   \S'    \\   \S'   Srg)MInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCustomerBalancei9
  YInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferrR  rS  r&   NrT  r&   r   r   >UpdateParamsPaymentSettingsPaymentMethodOptionsCustomerBalancer  9
  rV  r   r  c                   8    \ rS rSr% \S   \S'    \\   \S'   Srg)r  iG
  gInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferrY  r   r&   NrT  r&   r   r   JUpdateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferYInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferG
  r\  r   r  c                        \ rS rSr% \\S'   Srg)r  iU
  r   r&   Nr   r&   r   r   XUpdateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfergInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferU
  r`  r   r  c                       \ rS rSrSrg)EInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsKonbinii]
  r&   Nrc  r&   r   r   6UpdateParamsPaymentSettingsPaymentMethodOptionsKonbinir  ]
  re  r   r  c                       \ rS rSrSrg)GInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsSepaDebiti`
  r&   Nrc  r&   r   r   8UpdateParamsPaymentSettingsPaymentMethodOptionsSepaDebitr  `
  re  r   r  c                   >    \ rS rSr% \S   \S'    \\S      \S'   Srg)KInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountic
  _InvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsrl  r  r  r&   Nr   r&   r   r   <UpdateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountr  c
  rn  r   r  c                   b    \ rS rSr% \S   \S'    \\\S         \S'    \\\S         \S'   Srg	)
r  is
  fInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFiltersrq  rr  rw  rx  ry  r&   Nrz  r&   r   r   PUpdateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections_InvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionss
  r}  r   r  c                   2    \ rS rSr% \\\S         \S'   Srg)r  i
  r  r  r&   Nr  r&   r   r   WUpdateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFiltersfInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters
  r  r   r  c                   \    \ rS rSr% \S   \S'    \S   \S'    \\   \S'    \S   \S'   S	rg
)rb  i
  r  r  'InvoiceService.UpdateParamsRenderingPdfr  r  r  r  r&   NrT  r&   r   r   UpdateParamsRendering$InvoiceService.UpdateParamsRendering
  r  r   r  c                   ,    \ rS rSr% \\S      \S'   Srg)r  i
  r  r  r&   Nr(  r&   r   r   UpdateParamsRenderingPdf'InvoiceService.UpdateParamsRenderingPdf
  r  r   r  c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)'InvoiceService.UpdateParamsShippingCosti
  r  7InvoiceService.UpdateParamsShippingCostShippingRateDatar  r&   NrM   r&   r   r   UpdateParamsShippingCostr  
  r  r   r  c                       \ rS rSr% \S   \S'    \\S'    \S   \S'    \\\\4      \S'    \\S      \S	'    \\   \S
'    \\S      \S'   Sr	g)r  i
  GInvoiceService.UpdateParamsShippingCostShippingRateDataDeliveryEstimater  r   BInvoiceService.UpdateParamsShippingCostShippingRateDataFixedAmountr  r7   r^   rb   rl   r   r&   Nr  r&   r   r   (UpdateParamsShippingCostShippingRateData7InvoiceService.UpdateParamsShippingCostShippingRateData
  r  r   r  c                   8    \ rS rSr% \S   \S'    \S   \S'   Srg)r  i
  NInvoiceService.UpdateParamsShippingCostShippingRateDataDeliveryEstimateMaximumr  NInvoiceService.UpdateParamsShippingCostShippingRateDataDeliveryEstimateMinimumr  r&   Nr  r&   r   r   8UpdateParamsShippingCostShippingRateDataDeliveryEstimateGInvoiceService.UpdateParamsShippingCostShippingRateDataDeliveryEstimate
  r  r   r  c                   2    \ rS rSr% \S   \S'    \\S'   Srg)r  i
  r  r  r   r&   Nr  r&   r   r   ?UpdateParamsShippingCostShippingRateDataDeliveryEstimateMaximumNInvoiceService.UpdateParamsShippingCostShippingRateDataDeliveryEstimateMaximum
  r  r   r  c                   2    \ rS rSr% \S   \S'    \\S'   Srg)r  i
  r  r  r   r&   Nr  r&   r   r   ?UpdateParamsShippingCostShippingRateDataDeliveryEstimateMinimumNInvoiceService.UpdateParamsShippingCostShippingRateDataDeliveryEstimateMinimum
  r  r   r  c                   H    \ rS rSr% \\S'    \\S'    \\\S4      \S'   Sr	g)r  i	  r2   rZ   QInvoiceService.UpdateParamsShippingCostShippingRateDataFixedAmountCurrencyOptionsr  r&   Nr  r&   r   r   3UpdateParamsShippingCostShippingRateDataFixedAmountBInvoiceService.UpdateParamsShippingCostShippingRateDataFixedAmount	  r  r   r  c                   8    \ rS rSr% \\S'    \\S      \S'   Srg)r  i  r2   r^   rb   r&   Nr   r&   r   r   BUpdateParamsShippingCostShippingRateDataFixedAmountCurrencyOptionsQInvoiceService.UpdateParamsShippingCostShippingRateDataFixedAmountCurrencyOptions  r  r   r  c                   >    \ rS rSr% S\S'    \\S'    \S   \S'   Srg)	*InvoiceService.UpdateParamsShippingDetailsi*  1InvoiceService.UpdateParamsShippingDetailsAddressr  rk   r  r  r&   Nr  r&   r   r   UpdateParamsShippingDetailsr  *  r  r   r  c                       \ rS rSr% \\   \S'    \\   \S'    \\   \S'    \\   \S'    \\   \S'    \\   \S'   Srg	)
r  i8  r   r   r  r  r  r   r&   NrM   r&   r   r   "UpdateParamsShippingDetailsAddress1InvoiceService.UpdateParamsShippingDetailsAddress8  r  r   r  c                   2    \ rS rSr% \\   \S'    \\S'   Srg)'InvoiceService.UpdateParamsTransferDataiR  r2   r  r&   Nr  r&   r   r   UpdateParamsTransferDatar  R  r  r   r  c                   ,    \ rS rSr% \\\      \S'   Srg) InvoiceService.VoidInvoiceParamsi\  r!   r&   Nr'   r&   r   r   VoidInvoiceParamsr  \  r  r   r  r   paramsr  optionsreturnc                 p    [        [        U R                  SSR                  [	        U5      S9SUUS95      $ )  
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   apibase_addressr  r  r   r   _requestformatr	   r   r   r  r  s       r   r,  InvoiceService.deleteb  sG     MM(//G8L/M"  	
 		
r   c                    #    [        [        U R                  SSR                  [	        U5      S9SUUS9I Sh  vN 5      $  N7f)r  r,  r  r  r  r  Nr   r   _request_asyncr  r	   r  s       r   delete_asyncInvoiceService.delete_asyncv  sV      %%(//G8L/M" &  	
 		
   7AA
	Ar2  c                 p    [        [        U R                  SSR                  [	        U5      S9SUUS95      $ )*
Retrieves the invoice with the given ID.
getr  r  r  r  r  r  s       r   retrieveInvoiceService.retrieve  sG     MM(//G8L/M"  	
 		
r   c                    #    [        [        U R                  SSR                  [	        U5      S9SUUS9I Sh  vN 5      $  N7f)r  r  r  r  r  r  Nr  r  s       r   retrieve_asyncInvoiceService.retrieve_async  sV      %%(//G8L/M" &  	
 		
r  r^  c                 p    [        [        U R                  SSR                  [	        U5      S9SUUS95      $ )  
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  s       r   updateInvoiceService.update  sG     MM(//G8L/M"  	
 		
r   c                    #    [        [        U R                  SSR                  [	        U5      S9SUUS9I Sh  vN 5      $  N7f)r  r  r  r  r  r  Nr  r  s       r   update_asyncInvoiceService.update_async  sV      %%(//G8L/M" &  	
 		
r  r  c                 R    [        [        [           U R                  SSSUUS95      $ )
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  s      r   listInvoiceService.list  s9     wMM"  	
 		
r   c                 n   #    [        [        [           U R                  SSSUUS9I Sh  vN 5      $  N7f)r   r  r  r  r  N)r   r   r   r  r  s      r   
list_asyncInvoiceService.list_async  sH      w%%" &  	
 		
   (53
	5r   c                 D    [        [        U R                  SSSUUS95      $ )  
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  s      r   createInvoiceService.create
  s4     MM"  	
 		
r   c                 `   #    [        [        U R                  SSSUUS9I Sh  vN 5      $  N7f)r
  r  r  r  r  Nr   r   r  r  s      r   create_asyncInvoiceService.create_async  sC      %%" &  	
 		
   !.,
	.r5  c                 R    [        [        [           U R                  SSSUUS95      $ )  
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  s      r   searchInvoiceService.search0  s9     w'MM%"  	
 		
r   c                 n   #    [        [        [           U R                  SSSUUS9I Sh  vN 5      $  N7f)r  r  r  r  r  N)r   r   r   r  r  s      r   search_asyncInvoiceService.search_asyncF  sH      w'%%%" &  	
 		
r  r   c                 p    [        [        U R                  SSR                  [	        U5      S9SUUS95      $ )a
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  s       r   	add_linesInvoiceService.add_lines\  sN     MM299'0 :  #  
 	
r   c                    #    [        [        U R                  SSR                  [	        U5      S9SUUS9I Sh  vN 5      $  N7f)r  r  r  r  r  r  Nr  r  s       r   add_lines_asyncInvoiceService.add_lines_asyncr  s]      %%299'0 :  # &  
 	
r  r  c                 p    [        [        U R                  SSR                  [	        U5      S9SUUS95      $ )
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  s       r   finalize_invoiceInvoiceService.finalize_invoice  sN     MM188'0 9  #  
 	
r   c                    #    [        [        U R                  SSR                  [	        U5      S9SUUS9I Sh  vN 5      $  N7f)r$  r  r%  r  r  r  Nr  r  s       r   finalize_invoice_async%InvoiceService.finalize_invoice_async  s]      %%188'0 9  # &  
 	
r  r  c                 p    [        [        U R                  SSR                  [	        U5      S9SUUS95      $ )
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  s       r   mark_uncollectible!InvoiceService.mark_uncollectible  sO     MM;BB'0 C  #  
 	
r   c                    #    [        [        U R                  SSR                  [	        U5      S9SUUS9I Sh  vN 5      $  N7f)r,  r  r-  r  r  r  Nr  r  s       r   mark_uncollectible_async'InvoiceService.mark_uncollectible_async  s^      %%;BB'0 C  # &  
 	
r  r  c                 p    [        [        U R                  SSR                  [	        U5      S9SUUS95      $ )Y  
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  s       r   payInvoiceService.pay  sN     MM,33'0 4  #  
 	
r   c                    #    [        [        U R                  SSR                  [	        U5      S9SUUS9I Sh  vN 5      $  N7f)r4  r  r5  r  r  r  Nr  r  s       r   	pay_asyncInvoiceService.pay_async  s]      %%,33'0 4  # &  
 	
r  r'  c                 p    [        [        U R                  SSR                  [	        U5      S9SUUS95      $ )f
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  s       r   remove_linesInvoiceService.remove_lines  N     MM5<<'0 =  #  
 	
r   c                    #    [        [        U R                  SSR                  [	        U5      S9SUUS9I Sh  vN 5      $  N7f)r<  r  r=  r  r  r  Nr  r  s       r   remove_lines_async!InvoiceService.remove_lines_async"  ]      %%5<<'0 =  # &  
 	
r  r:  c                 p    [        [        U R                  SSR                  [	        U5      S9SUUS95      $ )  
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  s       r   r   InvoiceService.send_invoice8  N     MM-44'0 5  #  
 	
r   c                    #    [        [        U R                  SSR                  [	        U5      S9SUUS9I Sh  vN 5      $  N7f)rF  r  rG  r  r  r  Nr  r  s       r   send_invoice_async!InvoiceService.send_invoice_asyncP  ]      %%-44'0 5  # &  
 	
r  r=  c                 p    [        [        U R                  SSR                  [	        U5      S9SUUS95      $ )d
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  s       r   update_linesInvoiceService.update_linesh  r@  r   c                    #    [        [        U R                  SSR                  [	        U5      S9SUUS9I Sh  vN 5      $  N7f)rO  r  rP  r  r  r  Nr  r  s       r   update_lines_async!InvoiceService.update_lines_async~  rD  r  r  c                 p    [        [        U R                  SSR                  [	        U5      S9SUUS95      $ )  
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  s       r   void_invoiceInvoiceService.void_invoice  rI  r   c                    #    [        [        U R                  SSR                  [	        U5      S9SUUS9I Sh  vN 5      $  N7f)rW  r  rX  r  r  r  Nr  r  s       r   void_invoice_async!InvoiceService.void_invoice_async  rM  r  r  c                 D    [        [        U R                  SSSUUS95      $ )  
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/create_previewr  r  r  r  s      r   create_previewInvoiceService.create_preview  s4     MM-"  	
 		
r   c                 `   #    [        [        U R                  SSSUUS9I Sh  vN 5      $  N7f)r_  r  r`  r  r  Nr  r  s      r   create_preview_async#InvoiceService.create_preview_async  sC      %%-" &  	
 		
r  )r   )r(   r)   r*   r+   r   r   r/   rE   rN   rU   rf   rn   rt   r   r   r   r   r   r   r   r   r   r	  r  r!  r)  r4  r>  rC  rM  rU  rZ  r^  rd  rh  rm  r{  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r  r  r
  r  ru  ry  r~  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r  r  r  r  r%  r)  r/  r3  r8  r;  r?  rD  rH  rJ  rN  rQ  rT  rY  r[  rc  rf  ri  rm  rp  rr  rv  ry  r~  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r,   r   r   r,  r  r  r  r  r  r   r  r  r  r  r   r  r  r  r!  r&  r)  r.  r1  r6  r9  r>  rB  r   rK  rQ  rT  rY  r\  ra  rd  r.   __classcell__)r   s   @r   r   r      sH   B 4Y 4lY 9 i < ,I $i $L9 9vLy L\
9 
I ) y ) Y i $*) *X9 I i  " 9  4	 (9 
9 
"9 "H9 



i &i Y 49 Di DL
) 
9 Y @I 4Y  I 4	 m) m^i H HT y ) 0I Y $f) fP	 8 4
i 


)   

 i  Di y 8

i 0 0d,Y ,\Y i 8

y 	 )Y )VI $I $) I @I 	  y $I I 6	 6p	 i  <I ,y & &P9I 9vzy zx
9 
I ) y Y i $*) *X9 I i  " 9  4	 (9 
9 
"9 "H9 



i &i Y 49 I  13"$	

 .
  	

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

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

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

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

 

8 13"$	

 .
  	

 

6 /1"$
+
  
 
G		
* /1"$
+
  
 
G		
* 13"$
-
  
 
	
* 13"$
-
  
 
	
, #%
-
  
 
G	$	
2 #%
-
  
 
G	$	
4 #%	

 0
  	

 

4 #%	

 0
  	

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

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

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

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

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

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

 

4 #%	

 3
  	

 

4 #%	

 3
  	

 

2 68"$	

 3
  	

 

6 68"$	

 3
  	

 

8 #%	

 3
  	

 

4 #%	

 3
  	

 

2 68"$	

 3
  	

 

6 68"$	

 3
  	

 

4 8:"$
4
  
 
	
6 8:"$
4
  
 
	
 
r   r   N)stripe._invoicer   !stripe._invoice_line_item_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>rp     s6    $ D * 2 ; 0 $ # # = =f7
] f7
r   