
    Ch                        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      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      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S0 jjr0 0 4GS%\GS&GS/GS(\GS)\4GS1 jjr0 0 4GS&GS2GS(\GS)\\   4GS3 jjr0 0 4GS&GS2GS(\GS)\\   4GS4 jjr0 0 4GS&GS5GS(\GS)\4GS6 jjr0 0 4GS&GS5GS(\GS)\4GS7 jjr0 4GS&GS8GS(\GS)\\   4GS9 jjr0 4GS&GS8G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SAGS(\GS)\4GSB jjr0 0 4GS%\GS&GSAGS(\GS)\4GSC jjr0 0 4GS%\GS&GSDGS(\GS)\4GSE jjr0 0 4GS%\GS&GSDGS(\GS)\4GSF jjr0 0 4GS%\GS&GSGGS(\GS)\4GSH jjr0 0 4GS%\GS&GSGGS(\GS)\4GSI jjr0 4GS%\GS&GSJGS(\GS)\4GSK jjr0 4GS%\GS&GSJGS(\GS)\4GSL jjr0 0 4GS%\GS&GSMGS(\GS)\4GSN jjr0 0 4GS%\GS&GSMGS(\GS)\4GSO jjr0 4GS%\GS&GSPGS(\GS)\4GSQ jjr0 4GS%\GS&GSPGS(\GS)\4GSR jjr0 0 4GS%\GS&GSSGS(\GS)\4GST jjr0 0 4GS%\GS&GSSGS(\GS)\4GSU jjr0 0 4GS&GSVGS(\GS)\4GSW jjr0 0 4GS&GSVGS(\GS)\4GSX jjrGSYrU =r$ (Z  InvoiceService   c                 X   > [         TU ]  U5        [        U R                  5      U l        g )N)super__init__r   
_requestor
line_items)self	requestor	__class__s     Z/home/kali/devsecops-assessor/venv/lib/python3.13/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                   >    \ rS rSr% \\\      \S'    \\   \S'   Srg)"InvoiceService.AttachPaymentParamsi
  r!   payment_intentr&   Nr'   r&   r   r   AttachPaymentParamsr   
  s(    DI&&	 $C((	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', 'affirm', 'amazon_pay', 'au_becs_debit', 'bacs_debit', 'bancontact', 'boleto', 'card', 'cashapp', 'crypto', '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!
 	
	 * Z
 	
	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  i0  businesspersonaltransaction_typer&   Nr(   r)   r*   r+   r   r   r-   r.   r&   r   r   FCreateParamsPaymentSettingsPaymentMethodOptionsAcssDebitMandateOptionsUInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsAcssDebitMandateOptions0       &g.D&EFF	r   r-  c                   ,    \ rS rSr% \\S      \S'   Srg)HInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsBancontacti8  deenfrnlpreferred_languager&   Nr,  r&   r   r   9CreateParamsPaymentSettingsPaymentMethodOptionsBancontactr1  8      '0F(GHH	r   r8  c                   >    \ rS rSr% \S   \S'    \\S      \S'   Srg)BInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsCardi>  NInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsinstallmentsanyr   	challengerequest_three_d_securer&   Nr$  r&   r   r   3CreateParamsPaymentSettingsPaymentMethodOptionsCardr;  >  4    !\
 	
	
 !,34!
 	
	r   rB  c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)r<  iN  r   z^Literal['']|InvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlanplanr&   Nr(   r)   r*   r+   r   rD   r-   r.   r&   r   r   ?CreateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsNInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsN  +     T""	 l
 	
	r   rG  c                   P    \ rS rSr% \\   \S'    \\S      \S'    \S   \S'   Srg)	RInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlani]  countmonthintervalbonusfixed_count	revolvingr   r&   N	r(   r)   r*   r+   r   rC   r-   r   r.   r&   r   r   CCreateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlanrK  ]  >     3	 gg.//	 9::	r   rT  c                   8    \ rS rSr% \S   \S'    \\   \S'   Srg)MInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalancein  YInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferbank_transferfunding_typer&   Nr(   r)   r*   r+   r   r-   r,   r.   r&   r   r   >CreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalancerW  n  +     #g
 	
	 "#&&	r   r\  c                   8    \ rS rSr% \S   \S'    \\   \S'   Srg)rX  i|  gInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfereu_bank_transferr   r&   Nr[  r&   r   r   JCreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferYInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransfer|  +     &u
 	
	 #	r   ra  c                        \ rS rSr% \\S'   Srg)r_  i  r   r&   Nr   r&   r   r   XCreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfergInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer       	r   re  c                       \ rS rSrSrg)EInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsKonbinii  r&   Nr(   r)   r*   r+   r.   r&   r   r   6CreateParamsPaymentSettingsPaymentMethodOptionsKonbiniri        r   rk  c                       \ rS rSrSrg)GInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsSepaDebiti  r&   Nrj  r&   r   r   8CreateParamsPaymentSettingsPaymentMethodOptionsSepaDebitrn    rl  r   ro  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   <CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountrq    6      +m 
 	
	 );<
 	
	r   rt  c                   b    \ rS rSr% \S   \S'    \\\S         \S'    \\\S         \S'   Srg	)
rr  i  fInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFiltersfiltersbalances	ownershippayment_methodtransactionspermissionsrz  r{  r}  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)rw  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&   Nr[  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hourrM  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  i2  r  r  r   r&   Nr  r&   r   r   ?CreateParamsShippingCostShippingRateDataDeliveryEstimateMinimumNInvoiceService.CreateParamsShippingCostShippingRateDataDeliveryEstimateMinimum2  r  r   r  c                   H    \ rS rSr% \\S'    \\S'    \\\S4      \S'   Sr	g)r  i>  r2   rZ   QInvoiceService.CreateParamsShippingCostShippingRateDataFixedAmountCurrencyOptionscurrency_optionsr&   N
r(   r)   r*   r+   rC   r-   r,   r   r
   r.   r&   r   r   3CreateParamsShippingCostShippingRateDataFixedAmountBInvoiceService.CreateParamsShippingCostShippingRateDataFixedAmount>  @    	 	 &ce
 	
	r   r  c                   8    \ rS rSr% \\S'    \\S      \S'   Srg)r  iQ  r2   r^   rb   r&   Nr   r&   r   r   BCreateParamsShippingCostShippingRateDataFixedAmountCurrencyOptionsQInvoiceService.CreateParamsShippingCostShippingRateDataFixedAmountCurrencyOptionsQ  +     	 ";<
 	
	r   r  c                   >    \ rS rSr% S\S'    \\S'    \S   \S'   Srg)	r   i_  1InvoiceService.CreateParamsShippingDetailsAddressaddressrk   r  phoner&   Nr(   r)   r*   r+   r-   r,   r   r.   r&   r   r   CreateParamsShippingDetails*InvoiceService.CreateParamsShippingDetails_  ,    DD	 		 ,--	r   r  c                       \ rS rSr% \\   \S'    \\   \S'    \\   \S'    \\   \S'    \\   \S'    \\   \S'   Srg	)
r  im  r   r   line1line2postal_coder   r&   NrM   r&   r   r   "CreateParamsShippingDetailsAddress1InvoiceService.CreateParamsShippingDetailsAddressm  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  i7  r   r   r  r  r  r   r&   NrM   r&   r   r   1CreatePreviewParamsCustomerDetailsShippingAddress@InvoiceService.CreatePreviewParamsCustomerDetailsShippingAddress7  r  r   r  c                   &    \ rS rSr% \S   \S'   Srg)r  iQ  r  
ip_addressr&   Nr  r&   r   r   %CreatePreviewParamsCustomerDetailsTax4InvoiceService.CreatePreviewParamsCustomerDetailsTaxQ  s     122	r   r  c                   2    \ rS rSr% \S   \S'    \\S'   Srg)r  iW  )nad_nrtae_trnal_tinam_tinao_tinar_cuitau_abnau_arnaw_tinaz_tinba_tinbb_tinbd_binbf_ifubg_uicbh_vatbj_ifubo_tinbr_cnpjbr_cpfbs_tinby_tinca_bn
ca_gst_hst	ca_pst_bc	ca_pst_mb	ca_pst_skca_qstcd_nifch_uidch_vatcl_tincm_niucn_tinco_nitcr_tincv_nifde_stndo_rcnec_ruceg_tines_cifet_tin
eu_oss_vateu_vatgb_vatge_vatgn_nifhk_brhr_oibhu_tinid_npwpil_vatin_gstis_vatjp_cnjp_rnjp_trnke_pinkg_tinkh_tinkr_brnkz_binla_tinli_uidli_vatma_vatmd_vatme_pibmk_vatmr_nifmx_rfcmy_frpmy_itnmy_sstng_tinno_vatno_voecnp_pannz_gstom_vatpe_rucph_tinro_tinrs_pibru_innru_kppsa_vatsg_gstsg_uensi_tinsn_nineasr_finsv_nitth_vattj_tintr_tintw_vattz_vatua_vatug_tin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.CreatePreviewParamsCustomerDetailsTaxIdW  s)    mo
 o	
`	 
	r   r  c                   J    \ rS rSr% \\   \S'    \\   \S'    \\   \S'   Srg)*InvoiceService.CreatePreviewParamsDiscounti  rJ   rK   rL   r&   NrM   r&   r   r   CreatePreviewParamsDiscountr    rO   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)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  i6  rR   rS   r&   NrT   r&   r   r   $CreatePreviewParamsInvoiceItemPeriod3InvoiceService.CreatePreviewParamsInvoiceItemPeriod6  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  iX  r   r   r   r&   Nr   r&   r   r   CreatePreviewParamsIssuer(InvoiceService.CreatePreviewParamsIssuerX  r   r   r  c                   n    \ rS rSr% \S   \S'    \\S      \S'    \\S      \S'    \\S      \S	'   S
rg)r  ib  <InvoiceService.CreatePreviewParamsScheduleDetailsBillingModebilling_mode)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.CreatePreviewParamsScheduleDetailsb  si    !J
 	
	 "'*=">??	 IJ
 	
	 (AB
 	
	r   r  c                   &    \ rS rSr% \S   \S'   Srg)r  iz  classicflexibler   r&   Nr(   r)   r*   r+   r   r-   r.   r&   r   r   -CreatePreviewParamsScheduleDetailsBillingMode<InvoiceService.CreatePreviewParamsScheduleDetailsBillingModez      +,,	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'    \\\	\	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_anchorzSLiteral['']|InvoiceService.CreatePreviewParamsScheduleDetailsPhaseBillingThresholdsbilling_thresholdsr   r   rZ   r   r@   r   r  r3   zPLiteral['']|List[InvoiceService.CreatePreviewParamsScheduleDetailsPhaseDiscount]r5   >InvoiceService.CreatePreviewParamsScheduleDetailsPhaseDurationdurationz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	 (a
 	
	 ':;
 	
	 c""	 !,C 00	 ''>??	 !!233	 ^
 	
	 L
 	
	 233	 &S
 	
	 H
 	
	  $$	 d38n--	 "#&&	 (AB
 	
	   455	 #P
 	
	 4  	 344	r   r  c                       \ rS rSr% \\S      \S'    \\\\4      \S'    \S   \S'    \\   \S'    \S   \S	'    \\	   \S
'    \S   \S'   Sr
g)r  i  LInvoiceService.CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemDiscountr5   r7   JInvoiceService.CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemPeriodr9   rs   MInvoiceService.CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemPriceDatar;   r>   r@   rA   r&   N)r(   r)   r*   r+   r   r   r-   r
   r,   rC   r.   r&   r   r   5CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemDInvoiceService.CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItem  s    ^
 	

	 d38n--	 X
 	
	 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                   ,    \ rS rSr% S\S'    S\S'   Srg)r  i*  MInvoiceService.CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemPeriodEndrR   OInvoiceService.CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemPeriodStartrS   r&   N)r(   r)   r*   r+   r-   r.   r&   r   r   ;CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemPeriodJInvoiceService.CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemPeriod*  s     ]\	 a`	r   r  c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)r  i6  	timestamp)min_item_period_end	phase_endr  r   r&   NrS  r&   r   r   >CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemPeriodEndMInvoiceService.CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemPeriodEnd6  s'     s##	 EFF	r   r  c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)r  iB  r  )max_item_period_startr  r  r   r&   NrS  r&   r   r   @CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemPeriodStartOInvoiceService.CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemPeriodStartB  s'     s##	 IJJ	r   r  c                   h    \ rS rSr% \\S'    \\S'    \\S      \S'    \\   \S'    \\   \S'   Sr	g	)
r  iN  rZ   r[   r^   rb   rc   rd   r&   Nre   r&   r   r   >CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemPriceDataMInvoiceService.CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemPriceDataN  s[     	 	 ";<
 	
	 !%%	 )--	r   r  c                   2    \ rS rSr% \\S'    \S   \S'   Srg)r  ih  r   KInvoiceService.CreatePreviewParamsScheduleDetailsPhaseAutomaticTaxLiabilityr   r&   Nr   r&   r   r   3CreatePreviewParamsScheduleDetailsPhaseAutomaticTaxBInvoiceService.CreatePreviewParamsScheduleDetailsPhaseAutomaticTaxh  s#    	 Y
 	
	r   r  c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)r  it  r   r   r   r&   Nr   r&   r   r   <CreatePreviewParamsScheduleDetailsPhaseAutomaticTaxLiabilityKInvoiceService.CreatePreviewParamsScheduleDetailsPhaseAutomaticTaxLiabilityt  '     S!!	 '((	r   r  c                   8    \ rS rSr% \\   \S'    \\   \S'   Srg)GInvoiceService.CreatePreviewParamsScheduleDetailsPhaseBillingThresholdsi  
amount_gtereset_billing_cycle_anchorr&   N)	r(   r)   r*   r+   r   rC   r-   rD   r.   r&   r   r   8CreatePreviewParamsScheduleDetailsPhaseBillingThresholdsr    s$    $$	 %0$55	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                   8    \ rS rSr% \S   \S'    \\   \S'   Srg)r  i  r  rM  r  yearrN  interval_countr&   N	r(   r)   r*   r+   r   r-   r   rC   r.   r&   r   r   /CreatePreviewParamsScheduleDetailsPhaseDuration>InvoiceService.CreatePreviewParamsScheduleDetailsPhaseDuration  s%    899	 $C((	r   r  c                   J    \ rS rSr% \S   \S'    \\   \S'    \S   \S'   Srg)	r  i  r@   r   r   KInvoiceService.CreatePreviewParamsScheduleDetailsPhaseInvoiceSettingsIssuerr   r&   N)r(   r)   r*   r+   r   r-   rC   r.   r&   r   r   6CreatePreviewParamsScheduleDetailsPhaseInvoiceSettingsEInvoiceService.CreatePreviewParamsScheduleDetailsPhaseInvoiceSettings  s<    $%<==	 $C((	 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   <CreatePreviewParamsScheduleDetailsPhaseInvoiceSettingsIssuerKInvoiceService.CreatePreviewParamsScheduleDetailsPhaseInvoiceSettingsIssuer  r  r   r  c                       \ rS rSr% \S   \S'    \S   \S'    \\\\4      \S'    \\   \S'    \\   \S'    \S	   \S
'    \\   \S'    \S   \S'   Sr	g)r  i  zWLiteral['']|InvoiceService.CreatePreviewParamsScheduleDetailsPhaseItemBillingThresholdsr  zTLiteral['']|List[InvoiceService.CreatePreviewParamsScheduleDetailsPhaseItemDiscount]r5   r7   rE  rs   CInvoiceService.CreatePreviewParamsScheduleDetailsPhaseItemPriceDatar;   r>   r@   rA   r&   N)
r(   r)   r*   r+   r   r-   r
   r,   rC   r.   r&   r   r   +CreatePreviewParamsScheduleDetailsPhaseItem:InvoiceService.CreatePreviewParamsScheduleDetailsPhaseItem  s    'e
 	
	 b
 	
	 d38n--	 #	 3	  Q
 	
	 c""	 677	r   r  c                        \ rS rSr% \\S'   Srg)KInvoiceService.CreatePreviewParamsScheduleDetailsPhaseItemBillingThresholdsi  	usage_gter&   NrT   r&   r   r   <CreatePreviewParamsScheduleDetailsPhaseItemBillingThresholdsr         	r   r
  c                   J    \ rS rSr% \\   \S'    \\   \S'    \\   \S'   Srg)BInvoiceService.CreatePreviewParamsScheduleDetailsPhaseItemDiscounti  rJ   rK   rL   r&   NrM   r&   r   r   3CreatePreviewParamsScheduleDetailsPhaseItemDiscountr    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  rN  r  r&   Nr  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   \S'   Sr
g)r  i.  zLiteral['now', 'unchanged']|intr  @InvoiceService.CreatePreviewParamsSubscriptionDetailsBillingModer  z;Literal['']|int|Literal['max_period_end', 'min_period_end']	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	 "N
 	
	 I
 	
	 *$//	  %%	 ''>??	 LM
 	
	 (AB
 	
	 $C((	 wu~..	  $$	 344	r   r$  c                   &    \ rS rSr% \S   \S'   Srg)r  ih  r  r   r&   Nr  r&   r   r   1CreatePreviewParamsSubscriptionDetailsBillingMode@InvoiceService.CreatePreviewParamsSubscriptionDetailsBillingModeh  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r	g)r   in  zVLiteral['']|InvoiceService.CreatePreviewParamsSubscriptionDetailsItemBillingThresholdsr  clear_usagedeletedzSLiteral['']|List[InvoiceService.CreatePreviewParamsSubscriptionDetailsItemDiscount]r5   idr"   r7   rE  rs   BInvoiceService.CreatePreviewParamsSubscriptionDetailsItemPriceDatar;   r>   r@   rA   r&   N)
r(   r)   r*   r+   r   r-   rD   r,   rC   r.   r&   r   r   *CreatePreviewParamsSubscriptionDetailsItem9InvoiceService.CreatePreviewParamsSubscriptionDetailsItemn  s    'd
 	
	 !&&	 T""	 a
 	
	 	 :;;	 #	 3	  P
 	
	 c""	 677	r   r.  c                        \ rS rSr% \\S'   Srg)JInvoiceService.CreatePreviewParamsSubscriptionDetailsItemBillingThresholdsi  r	  r&   NrT   r&   r   r   ;CreatePreviewParamsSubscriptionDetailsItemBillingThresholdsr1    r  r   r2  c                   J    \ rS rSr% \\   \S'    \\   \S'    \\   \S'   Srg)AInvoiceService.CreatePreviewParamsSubscriptionDetailsItemDiscounti  rJ   rK   rL   r&   NrM   r&   r   r   2CreatePreviewParamsSubscriptionDetailsItemDiscountr4    rO   r   r5  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   r8  c                   8    \ rS rSr% \S   \S'    \\   \S'   Srg)r7  i  r  rN  r  r&   Nr  r&   r   r   <CreatePreviewParamsSubscriptionDetailsItemPriceDataRecurringKInvoiceService.CreatePreviewParamsSubscriptionDetailsItemPriceDataRecurring  r  r   r;  c                       \ rS rSrSrg)InvoiceService.DeleteParamsi  r&   Nrj  r&   r   r   DeleteParamsr>    rl  r   r?  c                   >    \ rS rSr% \\   \S'    \\\      \S'   Sr	g)$InvoiceService.FinalizeInvoiceParamsi  r   r!   r&   N)
r(   r)   r*   r+   r   rD   r-   r   r,   r.   r&   r   r   FinalizeInvoiceParamsrA    s(    !$''	 DI&&	r   rB  c                       \ rS rSr% \\S      \S'    \S   \S'    \\   \S'    \S   \S'   \\   \S	'    \\\      \S
'    \\	   \S'    \\   \S'    \\S      \S'    \\   \S'   Sr
g)InvoiceService.ListParamsi  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   
ListParamsrD    s    &:;
 	
	 CDD	 c""	 DEE"3''	 DI&&	 3	 $C((	 DE
 	
	 "#&&	r   rO  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   ListParamsCreatedrQ    H    	 	 	 	r   rW  c                   \    \ rS rSr% \\   \S'    \\   \S'    \\   \S'    \\   \S'   Srg) InvoiceService.ListParamsDueDatei*  rR  rS  rT  rU  r&   NrV  r&   r   r   ListParamsDueDaterZ  *  rX  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.PayParamsiB  r!   forgiver  mandateoff_sessionpaid_out_of_bandr|  sourcer&   N)
r(   r)   r*   r+   r   r   r,   r-   rD   r.   r&   r   r   	PayParamsra  B  s    DI&&	 T""	
 .//	 !&&	 &d++	 $C((	 C  	r   rg  c                   P    \ rS rSr% \\\      \S'    \S   \S'    \S   \S'   Srg)	 InvoiceService.RemoveLinesParamsib  r!   r"   r#   $InvoiceService.RemoveLinesParamsLiner%   r&   Nr'   r&   r   r   RemoveLinesParamsri  b  <    DI&&	 &&BCC	 :;;	r   rk  c                   2    \ rS rSr% \S   \S'    \\S'   Srg)rj  ip  )deleteunassignbehaviorr,  r&   Nr   r&   r   r   RemoveLinesParamsLine$InvoiceService.RemoveLinesParamsLinep  s    .//	 	r   rq  c                   ,    \ rS rSr% \\\      \S'   Srg)InvoiceService.RetrieveParamsiz  r!   r&   Nr'   r&   r   r   RetrieveParamsrt  z  r_  r   ru  c                   \    \ rS rSr% \\\      \S'    \\   \S'    \\   \S'    \\S'   Sr	g)InvoiceService.SearchParamsi  r!   rG  pagequeryr&   N)
r(   r)   r*   r+   r   r   r,   r-   rC   r.   r&   r   r   SearchParamsrw    sF    DI&&	 3	 #	 
	r   rz  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    rl  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   r  c                   J    \ rS rSr% \\   \S'    \\   \S'    \\   \S'   Srg),InvoiceService.UpdateLinesParamsLineDiscounti  rJ   rK   rL   r&   NrM   r&   r   r   UpdateLinesParamsLineDiscountr    rO   r   r  c                   ,    \ rS rSr% \\S'    \\S'   Srg)r  i  rR   rS   r&   NrT   r&   r   r   UpdateLinesParamsLinePeriod*InvoiceService.UpdateLinesParamsLinePeriod  rW   r   r  c                       \ rS rSr% \\S'    \\   \S'    \S   \S'    \\S      \S'    \\   \S'    \\   \S	'   S
r	g)r  i  rZ   r[   8InvoiceService.UpdateLinesParamsLinePriceDataProductDatar]   r^   rb   rc   rd   r&   Nre   r&   r   r   UpdateLinesParamsLinePriceData-InvoiceService.UpdateLinesParamsLinePriceData  sv    	 S!!	 "F
 	
	 ";<
 	
	 !%%	 )--	r   r  c                   x    \ rS rSr% \\   \S'    \\\      \S'    \\\\4      \S'    \\S'    \\   \S'   Sr	g)	r  i	  r3   rj   r7   rk   rl   r&   Nrm   r&   r   r   )UpdateLinesParamsLinePriceDataProductData8InvoiceService.UpdateLinesParamsLinePriceDataProductData	  rp   r   r  c                   &    \ rS rSr% \\   \S'   Srg)r  i*	  rs   r&   NrM   r&   r   r   UpdateLinesParamsLinePricing+InvoiceService.UpdateLinesParamsLinePricing*	  rv   r   r  c                   P    \ rS rSr% \\S'    S\S'    \\S      \S'    \\S'   Srg	)
-InvoiceService.UpdateLinesParamsLineTaxAmounti0	  r2   8InvoiceService.UpdateLinesParamsLineTaxAmountTaxRateDatar{   r|   r   r   r&   Nr   r&   r   r   UpdateLinesParamsLineTaxAmountr  0	  sJ    	 G	
	
 '
 	
&	 	r   r  c                       \ rS rSr% \\   \S'    \\   \S'    \\S'    \\S'    \\   \S'    \\S      \S'    \	\S	'    \\   \S
'    \\S      \S'   Sr
g)r  iX	  r   r3   r   r`   r   r   r   r   r   r   r   r&   Nr   r&   r   r   )UpdateLinesParamsLineTaxAmountTaxRateData8InvoiceService.UpdateLinesParamsLineTaxAmountTaxRateDataX	  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   r  c                   2    \ rS rSr% \\S'    \S   \S'   Srg)r  i
  r   0InvoiceService.UpdateParamsAutomaticTaxLiabilityr   r&   Nr   r&   r   r   UpdateParamsAutomaticTax'InvoiceService.UpdateParamsAutomaticTax
  r   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   !UpdateParamsAutomaticTaxLiability0InvoiceService.UpdateParamsAutomaticTaxLiability
  r   r   r  c                   ,    \ rS rSr% \\S'    \\S'   Srg)&InvoiceService.UpdateParamsCustomFieldi%
  rk   r   r&   Nr   r&   r   r   UpdateParamsCustomFieldr  %
  r   r   r  c                   J    \ rS rSr% \\   \S'    \\   \S'    \\   \S'   Srg)#InvoiceService.UpdateParamsDiscounti/
  rJ   rK   rL   r&   NrM   r&   r   r   UpdateParamsDiscountr  /
  rO   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   UpdateParamsIssuer!InvoiceService.UpdateParamsIssuer=
  r   r   r  c                   J    \ rS rSr% \S   \S'    \S   \S'    \S   \S'   Srg	)
r  iG
  r  r  >InvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsr	  r
  r  r&   Nr  r&   r   r   UpdateParamsPaymentSettings*InvoiceService.UpdateParamsPaymentSettingsG
  r  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  iY
  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.UpdateParamsPaymentSettingsPaymentMethodOptionsY
  r  r   r  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
  r2  r7  r&   Nr,  r&   r   r   9UpdateParamsPaymentSettingsPaymentMethodOptionsBancontactr  
  r9  r   r  c                   >    \ rS rSr% \S   \S'    \\S      \S'   Srg)BInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCardi
  NInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsr=  r>  rA  r&   Nr$  r&   r   r   3UpdateParamsPaymentSettingsPaymentMethodOptionsCardr  
  rC  r   r  c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)r  i
  r   z^Literal['']|InvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlanrE  r&   NrF  r&   r   r   ?UpdateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsNInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCardInstallments
  rI  r   r  c                   P    \ rS rSr% \\   \S'    \\S      \S'    \S   \S'   Srg)	RInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlani
  rL  rM  rN  rO  r   r&   NrS  r&   r   r   CUpdateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlanr  
  rU  r   r  c                   8    \ rS rSr% \S   \S'    \\   \S'   Srg)MInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCustomerBalancei
  YInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferrY  rZ  r&   Nr[  r&   r   r   >UpdateParamsPaymentSettingsPaymentMethodOptionsCustomerBalancer  
  r]  r   r  c                   8    \ rS rSr% \S   \S'    \\   \S'   Srg)r  i
  gInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferr`  r   r&   Nr[  r&   r   r   JUpdateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferYInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransfer
  rc  r   r  c                        \ rS rSr% \\S'   Srg)r  i
  r   r&   Nr   r&   r   r   XUpdateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfergInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer
  rg  r   r  c                       \ rS rSrSrg)EInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsKonbinii
  r&   Nrj  r&   r   r   6UpdateParamsPaymentSettingsPaymentMethodOptionsKonbinir  
  rl  r   r  c                       \ rS rSrSrg)GInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsSepaDebiti
  r&   Nrj  r&   r   r   8UpdateParamsPaymentSettingsPaymentMethodOptionsSepaDebitr  
  rl  r   r  c                   >    \ rS rSr% \S   \S'    \\S      \S'   Srg)KInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsUsBankAccounti
  _InvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsrs  r  r#  r&   Nr$  r&   r   r   <UpdateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountr  
  ru  r   r  c                   b    \ rS rSr% \S   \S'    \\\S         \S'    \\\S         \S'   Srg	)
r  i  fInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFiltersrx  ry  r~  r  r  r&   Nr  r&   r   r   PUpdateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections_InvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections  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
)r  i/  r  r  'InvoiceService.UpdateParamsRenderingPdfr  r  r  r  r&   Nr[  r&   r   r   UpdateParamsRendering$InvoiceService.UpdateParamsRendering/  r  r   r  c                   ,    \ rS rSr% \\S      \S'   Srg)r  iC  r  r  r&   Nr,  r&   r   r   UpdateParamsRenderingPdf'InvoiceService.UpdateParamsRenderingPdfC  r  r   r  c                   8    \ rS rSr% \\   \S'    \S   \S'   Srg)'InvoiceService.UpdateParamsShippingCostiK  r  7InvoiceService.UpdateParamsShippingCostShippingRateDatar  r&   NrM   r&   r   r   UpdateParamsShippingCostr  K  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  iW  GInvoiceService.UpdateParamsShippingCostShippingRateDataDeliveryEstimater  r   BInvoiceService.UpdateParamsShippingCostShippingRateDataFixedAmountr  r7   r^   rb   rl   r   r&   Nr  r&   r   r   (UpdateParamsShippingCostShippingRateData7InvoiceService.UpdateParamsShippingCostShippingRateDataW  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  i  r   r   r  r  r  r   r&   NrM   r&   r   r   "UpdateParamsShippingDetailsAddress1InvoiceService.UpdateParamsShippingDetailsAddress  r  r   r  c                   2    \ rS rSr% \\   \S'    \\S'   Srg)'InvoiceService.UpdateParamsTransferDatai  r2   r  r&   Nr  r&   r   r   UpdateParamsTransferDatar    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://docs.stripe.com/api#void_invoice).
rn  /v1/invoices/{invoice}r   apibase_addressr  r  r   r   _requestformatr	   r   r   r  r  s       r   rn  InvoiceService.delete  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   rn  r!  r"  r#  r$  Nr   r   _request_asyncr(  r	   r)  s       r   delete_asyncInvoiceService.delete_async  sV      %%(//G8L/M" &  	
 		
   7AA
	Art  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)r2  r3  r!  r"  r#  r$  Nr,  r)  s       r   retrieve_asyncInvoiceService.retrieve_async6  sV      %%(//G8L/M" &  	
 		
r0  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://docs.stripe.com/docs/billing/invoices/workflow#finalized),
monetary values, as well as collection_method, become uneditable.

If you would like to stop the Stripe Billing engine from automatically finalizing, reattempting payments on,
sending reminders for, or [automatically reconciling](https://docs.stripe.com/docs/billing/invoices/reconciliation) invoices, pass
auto_advance=false.
postr!  r"  r#  r$  r&  r)  s       r   updateInvoiceService.updateJ  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_asyncc  sV      %%(//G8L/M" &  	
 		
r0  rD  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.
r3  /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)rB  r3  rC  r#  r$  N)r   r   r   r-  rD  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://docs.stripe.com/api#finalize_invoice) the invoice to your customers.
r;  rC  r#  r$  r   r   r'  rD  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)rL  r;  rC  r#  r$  Nr   r   r-  rD  s      r   create_asyncInvoiceService.create_async  sC      %%" &  	
 		
   !.,
	.rw  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://docs.stripe.com/docs/search#search-query-language).
Don't use search in read-after-write flows where strict consistency is necessary. Under normal operating
conditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up
to an hour behind during outages. Search functionality is not available to merchants in India.
r3  /v1/invoices/searchr#  r$  )r   r   r   r'  rD  s      r   searchInvoiceService.search  s9     w'MM%"  	
 		
r   c                 n   #    [        [        [           U R                  SSSUUS9I Sh  vN 5      $  N7f)rV  r3  rW  r#  r$  N)r   r   r   r-  rD  s      r   search_asyncInvoiceService.search_async  sH      w'%%%" &  	
 		
rJ  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_async
  s]      %%299'0 :  # &  
 	
r0  r   c                 p    [        [        U R                  SSR                  [	        U5      S9SUUS95      $ )  
Attaches a PaymentIntent or an Out of Band Payment to the invoice, adding it to the list of payments.

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

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

See: [Partial payments](https://docs.stripe.com/docs/invoicing/partial-payments) to learn more.
r;  %/v1/invoices/{invoice}/attach_paymentr"  r#  r$  r&  r)  s       r   attach_paymentInvoiceService.attach_payment   sN    $ MM7>>'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)rf  r;  rg  r"  r#  r$  Nr,  r)  s       r   attach_payment_async#InvoiceService.attach_payment_async?  s]     $ %%7>>'0 ?  # &  
 	
r0  rA  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)rn  r;  ro  r"  r#  r$  Nr,  r)  s       r   finalize_invoice_async%InvoiceService.finalize_invoice_asynct  s]      %%188'0 9  # &  
 	
r0  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)rv  r;  rw  r"  r#  r$  Nr,  r)  s       r   mark_uncollectible_async'InvoiceService.mark_uncollectible_async  s^      %%;BB'0 C  # &  
 	
r0  ra  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)r~  r;  r  r"  r#  r$  Nr,  r)  s       r   	pay_asyncInvoiceService.pay_async  s]      %%,33'0 4  # &  
 	
r0  ri  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 =  # &  
 	
r0  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_invoice  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)r  r;  r  r"  r#  r$  Nr,  r)  s       r   send_invoice_async!InvoiceService.send_invoice_async&  ]      %%-44'0 5  # &  
 	
r0  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_lines>  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)r  r;  r  r"  r#  r$  Nr,  r)  s       r   update_lines_async!InvoiceService.update_lines_asyncT  r  r0  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://docs.stripe.com/api#delete_invoice), however it only applies to finalized invoices and maintains a papertrail where the invoice can still be found.

Consult with local regulations to determine whether and how an invoice might be amended, canceled, or voided in the jurisdiction you're doing business in. You might need to [issue another invoice or <a href="#create_credit_note">credit note](https://docs.stripe.com/api#create_invoice) instead. Stripe recommends that you consult with your legal counsel for advice specific to your business.
r;  /v1/invoices/{invoice}/voidr"  r#  r$  r&  r)  s       r   void_invoiceInvoiceService.void_invoicej  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)r  r;  r  r"  r#  r$  Nr,  r)  s       r   void_invoice_async!InvoiceService.void_invoice_async  r  r0  r  c                 D    [        [        U R                  SSSUUS95      $ )  
At any time, you can preview the upcoming invoice for a subscription or subscription schedule. This will show you all the charges that are pending, including subscription renewal charges, invoice item charges, etc. It will also show you any discounts that are applicable to the invoice.

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

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

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

Note: Currency conversion calculations use the latest exchange rates. Exchange rates may vary between the time of the preview and the time of the actual invoice creation. [Learn more](https://docs.stripe.com/currencies/conversions)
r;  /v1/invoices/create_previewr#  r$  rM  rD  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$  NrQ  rD  s      r   create_preview_async#InvoiceService.create_preview_async  sC       %%-" &  	
 		
rT  )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%  r-  r8  rB  rG  rT  r\  ra  re  rk  ro  rt  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.  r2  r5  r8  r;  r?  rB  rO  rW  r[  r^  rg  rk  rq  ru  rz  r}  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  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   rn  r.  r4  r7  r<  r?  r   rE  rH  rN  rR  r   rX  r[  r`  rc  rh  rk  rp  rs  rx  r{  r  r  r  r  r   r  r  r  r  r  r  r  r.   __classcell__)r   s   @r   r   r      s.   B 4Y 4lY 9 i < ,I $i $L9 9vi 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	 w) wri H HT y ) 0I Y 0	 r) rh$	 $L 





4
i 


9 ) )   

&i &Pi y 8

i 8 8tI 2Y 2h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 8:"$	

 5
  	

 

D 8:"$	

 5
  	

 

D :<"$	

 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
  
 
	
: 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>r     s6    $ D * 2 ; 0 $ # # = =@;
] @;
r   