
    <@g7z                        d dl mZ d dlmZ d dlmZ d dlmZ d dlm	Z	 d dl
mZ d dlmZ d dlmZ d d	lmZmZmZ d d
lmZmZmZ  G d de      Zy)    )Invoice)InvoiceLineItemService)InvoiceUpcomingLinesService)
ListObject)RequestOptions)SearchResultObject)StripeService)sanitize_id)DictListcast)LiteralNotRequired	TypedDictc            	       \    e Zd Z fdZ G d de      Z G d de      Z G d de      Z G d d	e      Z G d
 de      Z	 G d de      Z
 G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d  d!e      Z G d" d#e      Z G d$ d%e      Z G d& d'e      Z G d( d)e      Z G d* d+e      Z G d, d-e      Z G d. d/e      Z G d0 d1e      Z G d2 d3e      Z G d4 d5e      Z G d6 d7e      Z G d8 d9e      Z  G d: d;e      Z! G d< d=e      Z" G d> d?e      Z# G d@ dAe      Z$ G dB dCe      Z% G dD dEe      Z& G dF dGe      Z' G dH dIe      Z( G dJ dKe      Z) G dL dMe      Z* G dN dOe      Z+ G dP dQe      Z, G dR dSe      Z- G dT dUe      Z. G dV dWe      Z/ G dX dYe      Z0 G dZ d[e      Z1 G d\ d]e      Z2 G d^ d_e      Z3 G d` dae      Z4 G db dce      Z5 G dd dee      Z6 G df dge      Z7 G dh die      Z8 G dj dke      Z9 G dl dme      Z: G dn doe      Z; G dp dqe      Z< G dr dse      Z= G dt due      Z> G dv dwe      Z? G dx dye      Z@ G dz d{e      ZA G d| d}e      ZB G d~ de      ZC G d de      ZD G d de      ZE G d de      ZF G d de      ZG G d de      ZH G d de      ZI G d de      ZJ G d de      ZK G d de      ZL G d de      ZM G d de      ZN G d de      ZO G d de      ZP G d de      ZQ G d de      ZR G d de      ZS G d de      ZT G d de      ZU G d de      ZV G d de      ZW G d de      ZX G d de      ZY G d de      ZZ G d de      Z[ G d de      Z\ G d de      Z] G d de      Z^ G d de      Z_ G d de      Z` G d de      Za G d de      Zb G d de      Zc G d de      Zd G d de      Ze G dĄ de      Zf G dƄ de      Zg G dȄ de      Zh G dʄ de      Zi G d̄ de      Zj G d΄ de      Zk G dЄ de      Zl G d҄ de      Zm G dԄ de      Zn G dք de      Zo G d؄ de      Zp G dڄ de      Zq G d܄ de      Zr G dބ de      Zs G d de      Zt G d de      Zu G d de      Zv G d de      Zw G d de      Zx G d de      Zy G d de      Zz G d de      Z{ G d de      Z| G d de      Z} G d de      Z~ G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d  de      Z G d de      Z G d de      Z G d de      Z G d d	e      Z G d
 de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d  d!e      Z G d" d#e      Z G d$ d%e      Z G d& d'e      Z G d( d)e      Z G d* d+e      Z G d, d-e      Z G d. d/e      Z G d0 d1e      Z G d2 d3e      Z G d4 d5e      Z G d6 d7e      Z G d8 d9e      Z G d: d;e      Z G d< d=e      Z G d> d?e      Z G d@ dAe      Z G dB dCe      Z G dD dEe      Z G dF dGe      Z G dH dIe      Z G dJ dKe      Z G dL dMe      Z G dN dOe      Z G dP dQe      Z G dR dSe      Z G dT dUe      Z G dV dWe      Z G dX dYe      Z G dZ d[e      Z G d\ d]e      Z G d^ d_e      Z G d` dae      Z G db dce      Z G dd dee      Z G df dge      Zi i fdhedidjdkedlefdmZi i fdhedidjdkedlefdnZi i fdhedidodkedlefdpZi i fdhedidodkedlefdqZi i fdhedidrdkedlefdsZi i fdhedidrdkedlefdtZi i fdidudkedlee   fdvZi i fdidudkedlee   fdwZi i fdidxdkedlefdyZi i fdidxdkedlefdzZi fdid{dkedlee   fd|Zi fdid{dkedlee   fd}Zi i fdid~dkedlefdZi i fdid~dkedlefdZi fdhediddkedlefdZi fdhediddkedlefdZi i fdhediddkedlefdZi i fdhediddkedlefdZi i fdhediddkedlefdZi i fdhediddkedlefdZi i fdhediddkedlefdZi i fdhediddkedlefdZi fdhediddkedlefdZi fdhediddkedlefdZi i fdhediddkedlefdZi i fdhediddkedlefdZi fdhediddkedlefdZi fdhediddkedlefdZi i fdhediddkedlefdZi i fdhediddkedlefdZi i fdiddkedlefdZi i fdiddkedlefdZ܈ xZS (  InvoiceServicec                     t         |   |       t        | j                        | _        t        | j                        | _        y )N)super__init__r   
_requestor
line_itemsr   upcoming_lines)self	requestor	__class__s     V/var/www/html/AdoubleTech/venv/lib/python3.12/site-packages/stripe/_invoice_service.pyr   zInvoiceService.__init__   s1    #0A9$//J    c                   H    e Zd ZU eee      ed<   	 ed   ed<   	 ed   ed<   y)InvoiceService.AddLinesParamsexpandLiteral['']|Dict[str, str]invoice_metadata!InvoiceService.AddLinesParamsLinelinesN__name__
__module____qualname__r   r   str__annotations__ r   r   AddLinesParamsr      s<    DI&&	 &&BCC	 788	r   r,   c                       e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   	 ed   ed<   	 ee   ed<   	 ed   ed<   	 ed	   ed
<   	 ee   ed<   	 ed   ed<   	 ee   ed<   	 ed   ed<   	 ed   ed<   y)r#   amountdescriptiondiscountablez;Literal['']|List[InvoiceService.AddLinesParamsLineDiscount]	discountsinvoice_itemr!   metadata'InvoiceService.AddLinesParamsLinePeriodperiodprice*InvoiceService.AddLinesParamsLinePriceData
price_dataquantityz<Literal['']|List[InvoiceService.AddLinesParamsLineTaxAmount]tax_amountsLiteral['']|List[str]	tax_ratesNr&   r'   r(   r   intr*   r)   boolr+   r   r   AddLinesParamsLinez!InvoiceService.AddLinesParamsLine#   s    C  	 !%%	 "$''	 I
 	
	 "#&&	 :;;	 EFF	 3	   LMM	 c""	 !J
 	
	 677	r   r@   c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y))InvoiceService.AddLinesParamsLineDiscountcoupondiscountpromotion_codeNr&   r'   r(   r   r)   r*   r+   r   r   AddLinesParamsLineDiscountrB   Y   6    C  	 c""	 $C((	r   rG   c                   $    e Zd ZU eed<   	 eed<   y)r4   endstartNr&   r'   r(   r>   r*   r+   r   r   AddLinesParamsLinePeriodz'InvoiceService.AddLinesParamsLinePeriodg       	 
	r   rM   c                   x    e Zd ZU eed<   	 ee   ed<   	 ed   ed<   	 eed      ed<   	 ee   ed<   	 ee   ed<   y	)
r7   currencyproduct5InvoiceService.AddLinesParamsLinePriceDataProductDataproduct_data	exclusive	inclusiveunspecifiedtax_behaviorunit_amountunit_amount_decimalNr&   r'   r(   r)   r*   r   r   r>   r+   r   r   AddLinesParamsLinePriceDataz*InvoiceService.AddLinesParamsLinePriceDataq   sv    	 S!!	 "C
 	
	 ";<
 	
	 !%%	 )--	r   r\   c                   p    e Zd ZU ee   ed<   	 eee      ed<   	 eeeef      ed<   	 eed<   	 ee   ed<   y)rR   r/   imagesr3   nametax_codeNr&   r'   r(   r   r)   r*   r   r   r+   r   r   &AddLinesParamsLinePriceDataProductDataz5InvoiceService.AddLinesParamsLinePriceDataProductData   `     %%	 DI&&	 d38n--	 		 c""	r   rb   c                   0    e Zd ZU eed<   	 ded<   	 eed<   y)*InvoiceService.AddLinesParamsLineTaxAmountr.   5InvoiceService.AddLinesParamsLineTaxAmountTaxRateDatatax_rate_datataxable_amountNrL   r+   r   r   AddLinesParamsLineTaxAmountre      s'    	 ON	
 	r   ri   c                       e Zd ZU ee   ed<   	 ee   ed<   	 eed<   	 eed<   	 ee   ed<   	 eed<   	 ee   ed<   	 eed      ed	<   y
)rf   countryr/   display_namerV   jurisdiction
percentagestateamusement_taxcommunications_taxgsthstigstjct	lease_taxpstqstretail_delivery_feerst	sales_taxservice_taxvattax_typeN	r&   r'   r(   r   r)   r*   r?   floatr   r+   r   r   &AddLinesParamsLineTaxAmountTaxRateDataz5InvoiceService.AddLinesParamsLineTaxAmountTaxRateData       S!!	 !%%	 	 	 "#&&	 	 3	 
 	
$	r   r   c                   d   e Zd ZU ed   ed<   	 ee   ed<   	 ee   ed<   	 ed   ed<   	 ee   ed<   	 eed      ed	<   	 ee   ed
<   	 ed   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee	e      ed<   	 ee   ed<   	 ed   ed<   	 ee   ed<   	 ee   ed<   	 ee	e      ed<   	 ee   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ee   ed<   	 ee   ed <   	 ed!   ed"<   	 eed#      ed$<   	 ed%   ed&<   	 ed'   ed(<   	 ed)   ed*<   	 ee   ed+<   	 ee   ed,<   	 ed-   ed.<   y/)0InvoiceService.CreateParamsr;   account_tax_idsapplication_fee_amountauto_advance'InvoiceService.CreateParamsAutomaticTaxautomatic_taxautomatically_finalizes_atcharge_automaticallysend_invoicecollection_methodrP   z8Literal['']|List[InvoiceService.CreateParamsCustomField]custom_fieldscustomerdays_until_duedefault_payment_methoddefault_sourcedefault_tax_ratesr/   z5Literal['']|List[InvoiceService.CreateParamsDiscount]r1   due_dateeffective_atr    footer&InvoiceService.CreateParamsFromInvoicefrom_invoice!InvoiceService.CreateParamsIssuerissuerr!   r3   numberon_behalf_of*InvoiceService.CreateParamsPaymentSettingspayment_settings)excludeincludepending_invoice_items_behavior$InvoiceService.CreateParamsRendering	rendering'InvoiceService.CreateParamsShippingCostshipping_cost*InvoiceService.CreateParamsShippingDetailsshipping_detailsstatement_descriptorsubscription'InvoiceService.CreateParamsTransferDatatransfer_dataN
r&   r'   r(   r   r*   r>   r?   r   r)   r   r+   r   r   CreateParamsr      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                   *    e Zd ZU eed<   	 ed   ed<   y)r   enabled0InvoiceService.CreateParamsAutomaticTaxLiability	liabilityNr&   r'   r(   r?   r*   r   r+   r   r   CreateParamsAutomaticTaxz'InvoiceService.CreateParamsAutomaticTaxv  #    	 >
 	
	r   r   c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)r   accountr   r   typeNr&   r'   r(   r   r)   r*   r   r+   r   r   !CreateParamsAutomaticTaxLiabilityz0InvoiceService.CreateParamsAutomaticTaxLiability  %    S!!	 '((	r   r   c                   $    e Zd ZU eed<   	 eed<   y)&InvoiceService.CreateParamsCustomFieldr_   valueNr&   r'   r(   r)   r*   r+   r   r   CreateParamsCustomFieldr         		 
	r   r   c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y)#InvoiceService.CreateParamsDiscountrC   rD   rE   NrF   r+   r   r   CreateParamsDiscountr     rH   r   r   c                   *    e Zd ZU ed   ed<   	 eed<   y)r   revisionactioninvoiceNr&   r'   r(   r   r*   r)   r+   r   r   CreateParamsFromInvoicez&InvoiceService.CreateParamsFromInvoice  s    
##	 	r   r   c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)r   r   r   r   Nr   r+   r   r   CreateParamsIssuerz!InvoiceService.CreateParamsIssuer  r   r   r   c                   B    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   y)r   Literal['']|strdefault_mandate>InvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionspayment_method_options  Literal['']|List[Literal['ach_credit_transfer', 'ach_debit', 'acss_debit', 'amazon_pay', 'au_becs_debit', 'bacs_debit', 'bancontact', 'boleto', 'card', 'cashapp', 'customer_balance', 'eps', 'fpx', 'giropay', 'grabpay', 'ideal', 'jp_credit_transfer', 'kakao_pay', 'konbini', 'kr_card', 'link', 'multibanco', 'naver_pay', 'p24', 'payco', 'paynow', 'paypal', 'promptpay', 'revolut_pay', 'sepa_credit_transfer', 'sepa_debit', 'sofort', 'swish', 'us_bank_account', 'wechat_pay']]payment_method_typesNr&   r'   r(   r   r*   r+   r   r   CreateParamsPaymentSettingsz*InvoiceService.CreateParamsPaymentSettings  D    $%677	 !,L!
 	
	 * i
 	
	r   r   c                       e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed	   ed
<   	 ed   ed<   	 ed   ed<   y)r   zSLiteral['']|InvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsAcssDebit
acss_debitzTLiteral['']|InvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsBancontact
bancontactzNLiteral['']|InvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsCardcardzYLiteral['']|InvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalancecustomer_balancezQLiteral['']|InvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsKonbinikonbinizSLiteral['']|InvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsSepaDebit
sepa_debitzWLiteral['']|InvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountus_bank_accountNr   r+   r   r   /CreateParamsPaymentSettingsPaymentMethodOptionsz>InvoiceService.CreateParamsPaymentSettingsPaymentMethodOptions      a
 	
	  b
 	
	 \
 	
	 &g
 	
	 _
 	
	  a
 	
	 %e
 	
	r   r   c                   6    e Zd ZU ed   ed<   	 eed      ed<   y)GInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsAcssDebitUInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsAcssDebitMandateOptionsmandate_options	automaticinstantmicrodepositsverification_methodNr&   r'   r(   r   r*   r   r+   r   r   8CreateParamsPaymentSettingsPaymentMethodOptionsAcssDebitr     4    $c
 	
	 );<
 	
	r   r   c                   $    e Zd ZU eed      ed<   y)r   businesspersonaltransaction_typeNr&   r'   r(   r   r   r*   r+   r   r   FCreateParamsPaymentSettingsPaymentMethodOptionsAcssDebitMandateOptionszUInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsAcssDebitMandateOptions       &g.D&EFF	r   r   c                   $    e Zd ZU eed      ed<   y)HInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsBancontactdeenfrnlpreferred_languageNr   r+   r   r   9CreateParamsPaymentSettingsPaymentMethodOptionsBancontactr         '0F(GHH	r   r   c                   6    e Zd ZU ed   ed<   	 eed      ed<   y)BInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsCardNInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsinstallmentsanyr   	challengerequest_three_d_secureNr   r+   r   r   3CreateParamsPaymentSettingsPaymentMethodOptionsCardr    4    !\
 	
	
 !,34!
 	
	r   r	  c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)r  r   z^Literal['']|InvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlanplanNr&   r'   r(   r   r?   r*   r+   r   r   ?CreateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentszNInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsCardInstallments"  +     T""	 l
 	
	r   r  c                   H    e Zd ZU ee   ed<   	 eed      ed<   	 ed   ed<   y)RInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlancountmonthintervalfixed_countr   Nr&   r'   r(   r   r>   r*   r   r+   r   r   CCreateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlanr  1  =     3	 gg.//	 m$$	r   r  c                   0    e Zd ZU ed   ed<   	 ee   ed<   y)MInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceYInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferbank_transferfunding_typeNr&   r'   r(   r   r*   r)   r+   r   r   >CreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalancer  B  +     #g
 	
	 "#&&	r   r  c                   0    e Zd ZU ed   ed<   	 ee   ed<   y)r  gInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfereu_bank_transferr   Nr  r+   r   r   JCreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferzYInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferP  +     &u
 	
	 #	r   r$  c                       e Zd ZU eed<   y)r"  rk   Nr   r+   r   r   XCreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferzgInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer^       	r   r'  c                       e Zd Zy)EInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsKonbiniNr&   r'   r(   r+   r   r   6CreateParamsPaymentSettingsPaymentMethodOptionsKonbinir*  f      r   r,  c                       e Zd Zy)GInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsSepaDebitNr+  r+   r   r   8CreateParamsPaymentSettingsPaymentMethodOptionsSepaDebitr/  i  r-  r   r0  c                   6    e Zd ZU ed   ed<   	 eed      ed<   y)KInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccount_InvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsfinancial_connectionsr   r   Nr   r+   r   r   <CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountr2  l  6      +m 
 	
	 );<
 	
	r   r5  c                   Z    e Zd ZU ed   ed<   	 eeed         ed<   	 eeed         ed<   y)r3  fInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFiltersfiltersbalances	ownershippayment_methodtransactionspermissionsr;  r<  r>  prefetchNr&   r'   r(   r   r*   r   r   r+   r   r   PCreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsz_InvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections|  b     t
 	
	 !M
 	
	 @AB
 	
	r   rC  c                   *    e Zd ZU eeed         ed<   y)r8  checkingsavingsaccount_subcategoriesNr&   r'   r(   r   r   r   r*   r+   r   r   WCreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilterszfInvoiceService.CreateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters  $      +./0 
 	
	r   rK  c                   T    e Zd ZU ed   ed<   	 ed   ed<   	 ee   ed<   	 ed   ed<   y)	r   ;Literal['']|Literal['exclude_tax', 'include_inclusive_tax']amount_tax_display'InvoiceService.CreateParamsRenderingPdfpdftemplateLiteral['']|inttemplate_versionNr  r+   r   r   CreateParamsRenderingz$InvoiceService.CreateParamsRendering  O    'I
 	
	 BCC	 c""	 &&788	r   rU  c                   $    e Zd ZU eed      ed<   y)rP  a4autoletter	page_sizeNr   r+   r   r   CreateParamsRenderingPdfz'InvoiceService.CreateParamsRenderingPdf      w'=>??	r   r]  c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)r   shipping_rate7InvoiceService.CreateParamsShippingCostShippingRateDatashipping_rate_dataNrF   r+   r   r   CreateParamsShippingCostz'InvoiceService.CreateParamsShippingCost  )    "3''	 (E
 	
	r   rc  c                       e Zd ZU ed   ed<   	 eed<   	 ed   ed<   	 eeeef      ed<   	 eed      ed<   	 ee   ed	<   	 eed      ed
<   y)ra  GInvoiceService.CreateParamsShippingCostShippingRateDataDeliveryEstimatedelivery_estimaterl   BInvoiceService.CreateParamsShippingCostShippingRateDataFixedAmountfixed_amountr3   rT   rX   r`   r   Nr&   r'   r(   r   r*   r)   r   r   r+   r   r   (CreateParamsShippingCostShippingRateDataz7InvoiceService.CreateParamsShippingCostShippingRateData      &U
 	
	 	 "P
 	
	 d38n--	 ";<
 	
	 c""	 '.122	r   rk  c                   0    e Zd ZU ed   ed<   	 ed   ed<   y)rf  NInvoiceService.CreateParamsShippingCostShippingRateDataDeliveryEstimateMaximummaximumNInvoiceService.CreateParamsShippingCostShippingRateDataDeliveryEstimateMinimumminimumNr   r+   r   r   8CreateParamsShippingCostShippingRateDataDeliveryEstimatezGInvoiceService.CreateParamsShippingCostShippingRateDataDeliveryEstimate  .    \
 	
	 \
 	
	r   rr  c                   *    e Zd ZU ed   ed<   	 eed<   y)rn  business_daydayhourr  weekunitr   Nr&   r'   r(   r   r*   r>   r+   r   r   ?CreateParamsShippingCostShippingRateDataDeliveryEstimateMaximumzNInvoiceService.CreateParamsShippingCostShippingRateDataDeliveryEstimateMaximum  !     DEE	 
	r   r|  c                   *    e Zd ZU ed   ed<   	 eed<   y)rp  ru  rz  r   Nr{  r+   r   r   ?CreateParamsShippingCostShippingRateDataDeliveryEstimateMinimumzNInvoiceService.CreateParamsShippingCostShippingRateDataDeliveryEstimateMinimum  r}  r   r  c                   @    e Zd ZU eed<   	 eed<   	 eeedf      ed<   y)rh  r.   rP   QInvoiceService.CreateParamsShippingCostShippingRateDataFixedAmountCurrencyOptionscurrency_optionsNr&   r'   r(   r>   r*   r)   r   r   r+   r   r   3CreateParamsShippingCostShippingRateDataFixedAmountzBInvoiceService.CreateParamsShippingCostShippingRateDataFixedAmount  @    	 	 &ce
 	
	r   r  c                   0    e Zd ZU eed<   	 eed      ed<   y)r  r.   rT   rX   Nr&   r'   r(   r>   r*   r   r   r+   r   r   BCreateParamsShippingCostShippingRateDataFixedAmountCurrencyOptionszQInvoiceService.CreateParamsShippingCostShippingRateDataFixedAmountCurrencyOptions%  +     	 ";<
 	
	r   r  c                   6    e Zd ZU ded<   	 eed<   	 ed   ed<   y)r   1InvoiceService.CreateParamsShippingDetailsAddressaddressr_   r   phoneNr&   r'   r(   r*   r)   r   r+   r   r   CreateParamsShippingDetailsz*InvoiceService.CreateParamsShippingDetails3  ,    DD	 		 ,--	r   r  c                   x    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   y)r  cityrk   line1line2postal_codero   NrF   r+   r   r   "CreateParamsShippingDetailsAddressz1InvoiceService.CreateParamsShippingDetailsAddressA  l    #	 S!!	 3	 3	 !%%	 3	r   r  c                   *    e Zd ZU ee   ed<   	 eed<   y)r   r.   destinationNr&   r'   r(   r   r>   r*   r)   r+   r   r   CreateParamsTransferDataz'InvoiceService.CreateParamsTransferData[      C  	 	r   r  c                   ,   e Zd ZU ed   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ed   ed<   	 ed   ed	<   	 eee      ed
<   	 eed      ed<   	 ed   ed<   	 ed   ed<   	 eed      ed<   	 ee   ed<   	 ed   ed<   	 ee   ed<   	 ed   ed<   y)"InvoiceService.CreatePreviewParams.InvoiceService.CreatePreviewParamsAutomaticTaxr   rC   rP   r   1InvoiceService.CreatePreviewParamsCustomerDetailscustomer_detailsz<Literal['']|List[InvoiceService.CreatePreviewParamsDiscount]r1   r    -InvoiceService.CreatePreviewParamsInvoiceIteminvoice_items(InvoiceService.CreatePreviewParamsIssuerr   r   r   next	recurringpreview_modeschedule1InvoiceService.CreatePreviewParamsScheduleDetailsschedule_detailsr   5InvoiceService.CreatePreviewParamsSubscriptionDetailssubscription_detailsN)r&   r'   r(   r   r*   r)   r   r   r+   r   r   CreatePreviewParamsr  e  s>   "<
 	
	 C  	 c""	 c""	 &?
 	
	 J
 	
	 DI&&	 #@A
 	
	 FGG	 ""344	 "'*=">??	 c""	 &?
 	
	 "#&&	 *C
 	
	r   r  c                   *    e Zd ZU eed<   	 ed   ed<   y)r  r   7InvoiceService.CreatePreviewParamsAutomaticTaxLiabilityr   Nr   r+   r   r   CreatePreviewParamsAutomaticTaxz.InvoiceService.CreatePreviewParamsAutomaticTax  s#    	 E
 	
	r   r  c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)r  r   r   r   Nr   r+   r   r   (CreatePreviewParamsAutomaticTaxLiabilityz7InvoiceService.CreatePreviewParamsAutomaticTaxLiability  r   r   r  c                   l    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 eed	      ed
<   y)r  zDLiteral['']|InvoiceService.CreatePreviewParamsCustomerDetailsAddressr  zELiteral['']|InvoiceService.CreatePreviewParamsCustomerDetailsShippingshipping4InvoiceService.CreatePreviewParamsCustomerDetailsTaxtax0Literal['']|Literal['exempt', 'none', 'reverse']
tax_exempt6InvoiceService.CreatePreviewParamsCustomerDetailsTaxIdtax_idsNr&   r'   r(   r   r*   r   r+   r   r   "CreatePreviewParamsCustomerDetailsz1InvoiceService.CreatePreviewParamsCustomerDetails  sy    R
 	
	 S
 	
	 B
 	
	  >
 	
	 IJ
 	
	r   r  c                   x    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   y)8InvoiceService.CreatePreviewParamsCustomerDetailsAddressr  rk   r  r  r  ro   NrF   r+   r   r   )CreatePreviewParamsCustomerDetailsAddressr    r  r   r  c                   6    e Zd ZU ded<   	 eed<   	 ee   ed<   y)9InvoiceService.CreatePreviewParamsCustomerDetailsShipping@InvoiceService.CreatePreviewParamsCustomerDetailsShippingAddressr  r_   r  Nr  r+   r   r   *CreatePreviewParamsCustomerDetailsShippingr    s-    N	
	 		 3	r   r  c                   x    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   y)r  r  rk   r  r  r  ro   NrF   r+   r   r   1CreatePreviewParamsCustomerDetailsShippingAddressz@InvoiceService.CreatePreviewParamsCustomerDetailsShippingAddress  r  r   r  c                       e Zd ZU ed   ed<   y)r  r   
ip_addressNr   r+   r   r   %CreatePreviewParamsCustomerDetailsTaxz4InvoiceService.CreatePreviewParamsCustomerDetailsTax)       122	r   r  c                   *    e Zd ZU ed   ed<   	 eed<   y)r  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   Nr   r+   r   r   'CreatePreviewParamsCustomerDetailsTaxIdz6InvoiceService.CreatePreviewParamsCustomerDetailsTaxId/  )    ce
 e	
L	 
	r   r1  c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y)*InvoiceService.CreatePreviewParamsDiscountrC   rD   rE   NrF   r+   r   r   CreatePreviewParamsDiscountr4    rH   r   r5  c                   2   e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ed   ed<   	 ee   ed<   	 ed   ed	<   	 ed
   ed<   	 ee   ed<   	 ed   ed<   	 ee   ed<   	 eed      ed<   	 ed   ed<   	 ed   ed<   	 ee   ed<   	 ee   ed<   y)r  r.   rP   r/   r0   zGLiteral['']|List[InvoiceService.CreatePreviewParamsInvoiceItemDiscount]r1   invoiceitemr!   r3   3InvoiceService.CreatePreviewParamsInvoiceItemPeriodr5   r6   6InvoiceService.CreatePreviewParamsInvoiceItemPriceDatar8   r9   rT   rX   r   r`   r;   r<   rY   rZ   N	r&   r'   r(   r   r>   r*   r)   r?   r   r+   r   r   CreatePreviewParamsInvoiceItemz-InvoiceService.CreatePreviewParamsInvoiceItem  s=   C  	 c""	 !%%	 "$''	 U
 	
	 !%%	 :;;	 A
 	
	 3	  D
 	
	 c""	 ";<
 	
	 /00	 677	 !%%	 )--	r   r;  c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y)5InvoiceService.CreatePreviewParamsInvoiceItemDiscountrC   rD   rE   NrF   r+   r   r   &CreatePreviewParamsInvoiceItemDiscountr=    rH   r   r>  c                   $    e Zd ZU eed<   	 eed<   y)r8  rJ   rK   NrL   r+   r   r   $CreatePreviewParamsInvoiceItemPeriodz3InvoiceService.CreatePreviewParamsInvoiceItemPeriod  rN   r   r@  c                   `    e Zd ZU eed<   	 eed<   	 eed      ed<   	 ee   ed<   	 ee   ed<   y)r9  rP   rQ   rT   rX   rY   rZ   Nr[   r+   r   r   'CreatePreviewParamsInvoiceItemPriceDataz6InvoiceService.CreatePreviewParamsInvoiceItemPriceData  Y    	 	 ";<
 	
	 !%%	 )--	r   rB  c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)r  r   r   r   Nr   r+   r   r   CreatePreviewParamsIssuerz(InvoiceService.CreatePreviewParamsIssuer&  r   r   rE  c                   T    e Zd ZU eed      ed<   	 eed      ed<   	 eed      ed<   y)r  cancelreleaseend_behavior6InvoiceService.CreatePreviewParamsScheduleDetailsPhasephasesalways_invoicecreate_prorationsnoneproration_behaviorNr&   r'   r(   r   r   r*   r   r+   r   r   "CreatePreviewParamsScheduleDetailsz1InvoiceService.CreatePreviewParamsScheduleDetails0  sR    !'*=">??	 IJ
 	
	 (AB
 	
	r   rS  c                      e Zd ZU eed      ed<   	 ee   ed<   	 ed   ed<   	 eed      ed<   	 ed   ed	<   	 eed
      ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ee	   ed<   	 ee
eef      ed<   	 ee   ed<   	 eed      ed<   	 ed   ed <   	 ed!   ed"<   	 ee   ed#<   	 ed   ed$<   y%)&rK  DInvoiceService.CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemadd_invoice_itemsapplication_fee_percentBInvoiceService.CreatePreviewParamsScheduleDetailsPhaseAutomaticTaxr   r   phase_startbilling_cycle_anchorzSLiteral['']|InvoiceService.CreatePreviewParamsScheduleDetailsPhaseBillingThresholdsbilling_thresholdsr   r   rC   rP   r   r;   r   r   r/   zPLiteral['']|List[InvoiceService.CreatePreviewParamsScheduleDetailsPhaseDiscount]r1   int|Literal['now']end_dateEInvoiceService.CreatePreviewParamsScheduleDetailsPhaseInvoiceSettingsinvoice_settings:InvoiceService.CreatePreviewParamsScheduleDetailsPhaseItemitems
iterationsr3   r   rM  rQ  
start_dateBInvoiceService.CreatePreviewParamsScheduleDetailsPhaseTransferDatar   trial	trial_endNr&   r'   r(   r   r   r*   r   r   r)   r>   r   r?   r+   r   r   'CreatePreviewParamsScheduleDetailsPhasez6InvoiceService.CreatePreviewParamsScheduleDetailsPhaseB  s   &V
 	

	 "-U!33	 #P
 	
	 *'2L*MNN	 (a
 	
	 ':;
 	
	 C  	 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   ri  c                   l    e Zd ZU eed      ed<   	 ee   ed<   	 ed   ed<   	 ee   ed<   	 ed   ed<   y	)
rU  LInvoiceService.CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemDiscountr1   r6   MInvoiceService.CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemPriceDatar8   r9   r;   r<   Nr&   r'   r(   r   r   r*   r)   r>   r+   r   r   5CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemzDInvoiceService.CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItem  sm    ^
 	

	 3	  [
 	
	 c""	 677	r   rn  c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y)rk  rC   rD   rE   NrF   r+   r   r   =CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemDiscountzLInvoiceService.CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemDiscount  s8     C  	 c""	 $C((	r   rp  c                   `    e Zd ZU eed<   	 eed<   	 eed      ed<   	 ee   ed<   	 ee   ed<   y)rl  rP   rQ   rT   rX   rY   rZ   Nr[   r+   r   r   >CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemPriceDatazMInvoiceService.CreatePreviewParamsScheduleDetailsPhaseAddInvoiceItemPriceData  s[     	 	 ";<
 	
	 !%%	 )--	r   rr  c                   *    e Zd ZU eed<   	 ed   ed<   y)rX  r   KInvoiceService.CreatePreviewParamsScheduleDetailsPhaseAutomaticTaxLiabilityr   Nr   r+   r   r   3CreatePreviewParamsScheduleDetailsPhaseAutomaticTaxzBInvoiceService.CreatePreviewParamsScheduleDetailsPhaseAutomaticTax  s#    	 Y
 	
	r   ru  c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)rt  r   r   r   Nr   r+   r   r   <CreatePreviewParamsScheduleDetailsPhaseAutomaticTaxLiabilityzKInvoiceService.CreatePreviewParamsScheduleDetailsPhaseAutomaticTaxLiability  '     S!!	 '((	r   rw  c                   0    e Zd ZU ee   ed<   	 ee   ed<   y)GInvoiceService.CreatePreviewParamsScheduleDetailsPhaseBillingThresholds
amount_gtereset_billing_cycle_anchorNr&   r'   r(   r   r>   r*   r?   r+   r   r   8CreatePreviewParamsScheduleDetailsPhaseBillingThresholdsrz    $    $$	 %0$55	r   r~  c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y)>InvoiceService.CreatePreviewParamsScheduleDetailsPhaseDiscountrC   rD   rE   NrF   r+   r   r   /CreatePreviewParamsScheduleDetailsPhaseDiscountr    rH   r   r  c                   B    e Zd ZU ed   ed<   	 ee   ed<   	 ed   ed<   y)r_  r;   r   r   KInvoiceService.CreatePreviewParamsScheduleDetailsPhaseInvoiceSettingsIssuerr   Nr&   r'   r(   r   r*   r>   r+   r   r   6CreatePreviewParamsScheduleDetailsPhaseInvoiceSettingszEInvoiceService.CreatePreviewParamsScheduleDetailsPhaseInvoiceSettings*  s<    $%<==	 $C((	 Y
 	
	r   r  c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)r  r   r   r   Nr   r+   r   r   <CreatePreviewParamsScheduleDetailsPhaseInvoiceSettingsIssuerzKInvoiceService.CreatePreviewParamsScheduleDetailsPhaseInvoiceSettingsIssuer:  rx  r   r  c                       e Zd ZU ed   ed<   	 ed   ed<   	 eeeef      ed<   	 ee   ed<   	 ee   ed<   	 ed   ed	<   	 ee   ed
<   	 ed   ed<   y)ra  zWLiteral['']|InvoiceService.CreatePreviewParamsScheduleDetailsPhaseItemBillingThresholdsr\  zTLiteral['']|List[InvoiceService.CreatePreviewParamsScheduleDetailsPhaseItemDiscount]r1   r3   r  r6   CInvoiceService.CreatePreviewParamsScheduleDetailsPhaseItemPriceDatar8   r9   r;   r<   Nr&   r'   r(   r   r*   r   r)   r>   r+   r   r   +CreatePreviewParamsScheduleDetailsPhaseItemz:InvoiceService.CreatePreviewParamsScheduleDetailsPhaseItemF  s    'e
 	
	 b
 	
	 d38n--	 #	 3	  Q
 	
	 c""	 677	r   r  c                       e Zd ZU eed<   y)KInvoiceService.CreatePreviewParamsScheduleDetailsPhaseItemBillingThresholds	usage_gteNrL   r+   r   r   <CreatePreviewParamsScheduleDetailsPhaseItemBillingThresholdsr  n       	r   r  c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y)BInvoiceService.CreatePreviewParamsScheduleDetailsPhaseItemDiscountrC   rD   rE   NrF   r+   r   r   3CreatePreviewParamsScheduleDetailsPhaseItemDiscountr  v  rH   r   r  c                   l    e Zd ZU eed<   	 eed<   	 ded<   	 eed      ed<   	 ee   ed<   	 ee   ed<   y	)
r  rP   rQ   LInvoiceService.CreatePreviewParamsScheduleDetailsPhaseItemPriceDataRecurringr  rT   rX   rY   rZ   Nr[   r+   r   r   4CreatePreviewParamsScheduleDetailsPhaseItemPriceDatazCInvoiceService.CreatePreviewParamsScheduleDetailsPhaseItemPriceData  sg    	 	 ba	 ";<
 	
	 !%%	 )--	r   r  c                   0    e Zd ZU ed   ed<   	 ee   ed<   y)r  rw  r  ry  yearr  interval_countNr&   r'   r(   r   r*   r   r>   r+   r   r   =CreatePreviewParamsScheduleDetailsPhaseItemPriceDataRecurringzLInvoiceService.CreatePreviewParamsScheduleDetailsPhaseItemPriceDataRecurring  '     899	 $C((	r   r  c                   *    e Zd ZU ee   ed<   	 eed<   y)re  amount_percentr  Nr&   r'   r(   r   r   r*   r)   r+   r   r   3CreatePreviewParamsScheduleDetailsPhaseTransferDatazBInvoiceService.CreatePreviewParamsScheduleDetailsPhaseTransferData      #E**	 	r   r  c                       e Zd ZU ed   ed<   	 ed   ed<   	 ee   ed<   	 ee   ed<   	 ed   ed<   	 eed	      ed
<   	 eed      ed<   	 ee   ed<   	 eed      ed<   	 ee   ed<   	 ed   ed<   y)r  Literal['now', 'unchanged']|intr[  rS  	cancel_atcancel_at_period_end
cancel_nowr;   r   9InvoiceService.CreatePreviewParamsSubscriptionDetailsItemrb  rM  rQ  proration_datenow	resume_atrd  Literal['now']|intrg  N	r&   r'   r(   r   r*   r?   r   r   r>   r+   r   r   &CreatePreviewParamsSubscriptionDetailsz5InvoiceService.CreatePreviewParamsSubscriptionDetails  s    )*KLL	 011	 *$//	  %%	 ''>??	 LM
 	
	 (AB
 	
	 $C((	 wu~..	  $$	 344	r   r  c                       e Zd ZU ed   ed<   	 ee   ed<   	 ee   ed<   	 ed   ed<   	 ee   ed<   	 ed   ed	<   	 ee   ed
<   	 ee   ed<   	 ed   ed<   	 ee   ed<   	 ed   ed<   y)r  zVLiteral['']|InvoiceService.CreatePreviewParamsSubscriptionDetailsItemBillingThresholdsr\  clear_usagedeletedzSLiteral['']|List[InvoiceService.CreatePreviewParamsSubscriptionDetailsItemDiscount]r1   idr!   r3   r  r6   BInvoiceService.CreatePreviewParamsSubscriptionDetailsItemPriceDatar8   r9   r;   r<   Nr&   r'   r(   r   r*   r?   r)   r>   r+   r   r   *CreatePreviewParamsSubscriptionDetailsItemz9InvoiceService.CreatePreviewParamsSubscriptionDetailsItem  s    'd
 	
	 !&&	 T""	 a
 	
	 	 :;;	 #	 3	  P
 	
	 c""	 677	r   r  c                       e Zd ZU eed<   y)JInvoiceService.CreatePreviewParamsSubscriptionDetailsItemBillingThresholdsr  NrL   r+   r   r   ;CreatePreviewParamsSubscriptionDetailsItemBillingThresholdsr    r  r   r  c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y)AInvoiceService.CreatePreviewParamsSubscriptionDetailsItemDiscountrC   rD   rE   NrF   r+   r   r   2CreatePreviewParamsSubscriptionDetailsItemDiscountr  $  rH   r   r  c                   l    e Zd ZU eed<   	 eed<   	 ded<   	 eed      ed<   	 ee   ed<   	 ee   ed<   y	)
r  rP   rQ   KInvoiceService.CreatePreviewParamsSubscriptionDetailsItemPriceDataRecurringr  rT   rX   rY   rZ   Nr[   r+   r   r   3CreatePreviewParamsSubscriptionDetailsItemPriceDatazBInvoiceService.CreatePreviewParamsSubscriptionDetailsItemPriceData2  sg    	 	 a`	 ";<
 	
	 !%%	 )--	r   r  c                   0    e Zd ZU ed   ed<   	 ee   ed<   y)r  r  r  r  Nr  r+   r   r   <CreatePreviewParamsSubscriptionDetailsItemPriceDataRecurringzKInvoiceService.CreatePreviewParamsSubscriptionDetailsItemPriceDataRecurringN  r  r   r  c                       e Zd Zy)InvoiceService.DeleteParamsNr+  r+   r   r   DeleteParamsr  Z  r-  r   r  c                   6    e Zd ZU ee   ed<   	 eee      ed<   y)$InvoiceService.FinalizeInvoiceParamsr   r    N)r&   r'   r(   r   r?   r*   r   r)   r+   r   r   FinalizeInvoiceParamsr  ]  s(    !$''	 DI&&	r   r  c                       e Zd ZU eed      ed<   	 ed   ed<   	 ee   ed<   	 ed   ed<   ee   ed<   	 eee      ed	<   	 ee   ed
<   	 ee   ed<   	 eed      ed<   	 ee   ed<   y)InvoiceService.ListParamsr   r   z$InvoiceService.ListParamsCreated|intcreatedr   z$InvoiceService.ListParamsDueDate|intr   ending_beforer    limitstarting_after)draftopenpaiduncollectiblevoidstatusr   N)	r&   r'   r(   r   r   r*   r)   r   r>   r+   r   r   
ListParamsr  g  s    &:;
 	
	 CDD	 c""	 DEE"3''	 DI&&	 3	 $C((	 DE
 	
	 "#&&	r   r  c                   T    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   y) InvoiceService.ListParamsCreatedgtgteltlteNr&   r'   r(   r   r>   r*   r+   r   r   ListParamsCreatedr    H    	 	 	 	r   r  c                   T    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   y) InvoiceService.ListParamsDueDater  r  r  r  Nr  r+   r   r   ListParamsDueDater    r  r   r  c                   $    e Zd ZU eee      ed<   y)&InvoiceService.MarkUncollectibleParamsr    Nr%   r+   r   r   MarkUncollectibleParamsr        DI&&	r   r  c                       e Zd ZU eee      ed<   	 ee   ed<   	 ed   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   y	)
InvoiceService.PayParamsr    forgiver   mandateoff_sessionpaid_out_of_bandr=  sourceN)r&   r'   r(   r   r   r)   r*   r?   r+   r   r   	PayParamsr    s    DI&&	 T""	
 .//	 !&&	 &d++	 $C((	 C  	r   r  c                   H    e Zd ZU eee      ed<   	 ed   ed<   	 ed   ed<   y) InvoiceService.RemoveLinesParamsr    r!   r"   $InvoiceService.RemoveLinesParamsLiner$   Nr%   r+   r   r   RemoveLinesParamsr    <    DI&&	 &&BCC	 :;;	r   r  c                   *    e Zd ZU ed   ed<   	 eed<   y)r  )deleteunassignbehaviorr  Nr   r+   r   r   RemoveLinesParamsLinez$InvoiceService.RemoveLinesParamsLine  s    .//	 	r   r  c                   $    e Zd ZU eee      ed<   y)InvoiceService.RetrieveParamsr    Nr%   r+   r   r   RetrieveParamsr    r  r   r  c                   T    e Zd ZU eee      ed<   	 ee   ed<   	 ee   ed<   	 eed<   y)InvoiceService.SearchParamsr    r  pagequeryN)r&   r'   r(   r   r   r)   r*   r>   r+   r   r   SearchParamsr    sF    DI&&	 3	 #	 
	r   r  c                   $    e Zd ZU eee      ed<   y) InvoiceService.SendInvoiceParamsr    Nr%   r+   r   r   SendInvoiceParamsr     r  r   r  c                      e Zd ZU ed   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ed   ed<   	 ed   ed	<   	 eee      ed
<   	 eed      ed<   	 ed   ed<   	 ed   ed<   	 eed      ed<   	 ee   ed<   	 ed   ed<   	 ee   ed<   	 ed   ed<   	 ed   ed<   	 ee   ed<   	 ee   ed<   	 ed   ed<   	 ed   ed <   	 eed!      ed"<   	 eed#      ed$<   	 ee	   ed%<   	 eed&      ed'<   	 ee	   ed(<   	 ed)   ed*<   	 ee   ed+<   y,)-InvoiceService.UpcomingParams)InvoiceService.UpcomingParamsAutomaticTaxr   rC   rP   r   ,InvoiceService.UpcomingParamsCustomerDetailsr  z7Literal['']|List[InvoiceService.UpcomingParamsDiscount]r1   r    (InvoiceService.UpcomingParamsInvoiceItemr  #InvoiceService.UpcomingParamsIssuerr   r   r   r  r  r  ,InvoiceService.UpcomingParamsScheduleDetailsr  r   r  !subscription_billing_cycle_anchorrS  subscription_cancel_at!subscription_cancel_at_period_endsubscription_cancel_nowr;   subscription_default_tax_rates0InvoiceService.UpcomingParamsSubscriptionDetailsr  -InvoiceService.UpcomingParamsSubscriptionItemsubscription_itemsrM  subscription_proration_behaviorsubscription_proration_dater  subscription_resume_atsubscription_start_dater  subscription_trial_endsubscription_trial_from_planN)
r&   r'   r(   r   r*   r)   r   r   r?   r>   r+   r   r   UpcomingParamsr    s4   "#NOO	 C  	 c""	 c""	 &:
 	
	 E
 	
	 DI&&	 #;<
 	
	 ABB	 ""344	 "'*=">??	 c""	 &:
 	
	 "#&&	 ,7-,
 	
	 !,,= >>	 ,7t+<<	 "-T!22	 )44K(LL	 *>
 	
	 (@A
 	
	 *5AB*
 	
	 &1%55	 !,GEN ;;	 "-S!11	 !,,@ AA	 '2$&77	r   r  c                   *    e Zd ZU eed<   	 ed   ed<   y)r  r   2InvoiceService.UpcomingParamsAutomaticTaxLiabilityr   Nr   r+   r   r   UpcomingParamsAutomaticTaxz)InvoiceService.UpcomingParamsAutomaticTax  s#    	 @
 	
	r   r  c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)r  r   r   r   Nr   r+   r   r   #UpcomingParamsAutomaticTaxLiabilityz2InvoiceService.UpcomingParamsAutomaticTaxLiability  r   r   r  c                   l    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 eed	      ed
<   y)r  z?Literal['']|InvoiceService.UpcomingParamsCustomerDetailsAddressr  z@Literal['']|InvoiceService.UpcomingParamsCustomerDetailsShippingr  /InvoiceService.UpcomingParamsCustomerDetailsTaxr  r  r  1InvoiceService.UpcomingParamsCustomerDetailsTaxIdr  Nr  r+   r   r   UpcomingParamsCustomerDetailsz,InvoiceService.UpcomingParamsCustomerDetails  su    M
 	
	 N
 	
	 JKK	  >
 	
	 DE
 	
	r   r   c                   x    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   y)3InvoiceService.UpcomingParamsCustomerDetailsAddressr  rk   r  r  r  ro   NrF   r+   r   r   $UpcomingParamsCustomerDetailsAddressr"    r  r   r#  c                   6    e Zd ZU ded<   	 eed<   	 ee   ed<   y)4InvoiceService.UpcomingParamsCustomerDetailsShipping;InvoiceService.UpcomingParamsCustomerDetailsShippingAddressr  r_   r  Nr  r+   r   r   %UpcomingParamsCustomerDetailsShippingr%    s+    NN	 		 3	r   r'  c                   x    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   y)r&  r  rk   r  r  r  ro   NrF   r+   r   r   ,UpcomingParamsCustomerDetailsShippingAddressz;InvoiceService.UpcomingParamsCustomerDetailsShippingAddress  r  r   r)  c                       e Zd ZU ed   ed<   y)r  r   r  Nr   r+   r   r    UpcomingParamsCustomerDetailsTaxz/InvoiceService.UpcomingParamsCustomerDetailsTax	  r  r   r+  c                   *    e Zd ZU ed   ed<   	 eed<   y)r  r  r   r   Nr   r+   r   r   "UpcomingParamsCustomerDetailsTaxIdz1InvoiceService.UpcomingParamsCustomerDetailsTaxId	  r2  r   r-  c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y)%InvoiceService.UpcomingParamsDiscountrC   rD   rE   NrF   r+   r   r   UpcomingParamsDiscountr/  {	  rH   r   r0  c                   2   e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ed   ed<   	 ee   ed<   	 ed   ed	<   	 ed
   ed<   	 ee   ed<   	 ed   ed<   	 ee   ed<   	 eed      ed<   	 ed   ed<   	 ed   ed<   	 ee   ed<   	 ee   ed<   y)r  r.   rP   r/   r0   zBLiteral['']|List[InvoiceService.UpcomingParamsInvoiceItemDiscount]r1   r7  r!   r3   .InvoiceService.UpcomingParamsInvoiceItemPeriodr5   r6   1InvoiceService.UpcomingParamsInvoiceItemPriceDatar8   r9   rT   rX   r   r`   r;   r<   rY   rZ   Nr:  r+   r   r   UpcomingParamsInvoiceItemz(InvoiceService.UpcomingParamsInvoiceItem	  s9   C  	 c""	 !%%	 "$''	 P
 	
	 !%%	 :;;	 LMM	 3	  ?
 	
	 c""	 ";<
 	
	 /00	 677	 !%%	 )--	r   r4  c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y)0InvoiceService.UpcomingParamsInvoiceItemDiscountrC   rD   rE   NrF   r+   r   r   !UpcomingParamsInvoiceItemDiscountr6  	  rH   r   r7  c                   $    e Zd ZU eed<   	 eed<   y)r2  rJ   rK   NrL   r+   r   r   UpcomingParamsInvoiceItemPeriodz.InvoiceService.UpcomingParamsInvoiceItemPeriod	  rN   r   r9  c                   `    e Zd ZU eed<   	 eed<   	 eed      ed<   	 ee   ed<   	 ee   ed<   y)r3  rP   rQ   rT   rX   rY   rZ   Nr[   r+   r   r   "UpcomingParamsInvoiceItemPriceDataz1InvoiceService.UpcomingParamsInvoiceItemPriceData	  rC  r   r;  c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)r  r   r   r   Nr   r+   r   r   UpcomingParamsIssuerz#InvoiceService.UpcomingParamsIssuer
  r   r   r=  c                   T    e Zd ZU eed      ed<   	 eed      ed<   	 eed      ed<   y)r  rG  rJ  1InvoiceService.UpcomingParamsScheduleDetailsPhaserL  rM  rQ  NrR  r+   r   r   UpcomingParamsScheduleDetailsz,InvoiceService.UpcomingParamsScheduleDetails
  sR    !'*=">??	 DE
 	
	 (AB
 	
	r   r@  c                      e Zd ZU eed      ed<   	 ee   ed<   	 ed   ed<   	 eed      ed<   	 ed   ed	<   	 eed
      ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ee	   ed<   	 ee
eef      ed<   	 ee   ed<   	 eed      ed<   	 ed   ed <   	 ed!   ed"<   	 ee   ed#<   	 ed   ed$<   y%)&r?  ?InvoiceService.UpcomingParamsScheduleDetailsPhaseAddInvoiceItemrV  rW  =InvoiceService.UpcomingParamsScheduleDetailsPhaseAutomaticTaxr   rY  r[  zNLiteral['']|InvoiceService.UpcomingParamsScheduleDetailsPhaseBillingThresholdsr\  r   r   rC   rP   r   r;   r   r   r/   zKLiteral['']|List[InvoiceService.UpcomingParamsScheduleDetailsPhaseDiscount]r1   r]  r^  @InvoiceService.UpcomingParamsScheduleDetailsPhaseInvoiceSettingsr`  5InvoiceService.UpcomingParamsScheduleDetailsPhaseItemrb  rc  r3   r   rM  rQ  rd  =InvoiceService.UpcomingParamsScheduleDetailsPhaseTransferDatar   rf  rg  Nrh  r+   r   r   "UpcomingParamsScheduleDetailsPhasez1InvoiceService.UpcomingParamsScheduleDetailsPhase
  s   &Q
 	

	 "-U!33	 #K
 	
	 *'2L*MNN	 (\
 	
	 ':;
 	
	 C  	 c""	 !,C 00	 ''>??	 !!233	 Y
 	
	 233	 &N
 	
	 KLL	  $$	 d38n--	 "#&&	 (AB
 	
	   455	 #K
 	
	 4  	 344	r   rG  c                   l    e Zd ZU eed      ed<   	 ee   ed<   	 ed   ed<   	 ee   ed<   	 ed   ed<   y	)
rB  GInvoiceService.UpcomingParamsScheduleDetailsPhaseAddInvoiceItemDiscountr1   r6   HInvoiceService.UpcomingParamsScheduleDetailsPhaseAddInvoiceItemPriceDatar8   r9   r;   r<   Nrm  r+   r   r   0UpcomingParamsScheduleDetailsPhaseAddInvoiceItemz?InvoiceService.UpcomingParamsScheduleDetailsPhaseAddInvoiceItem
  sm    Y
 	

	 3	  V
 	
	 c""	 677	r   rK  c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y)rI  rC   rD   rE   NrF   r+   r   r   8UpcomingParamsScheduleDetailsPhaseAddInvoiceItemDiscountzGInvoiceService.UpcomingParamsScheduleDetailsPhaseAddInvoiceItemDiscount
  rH   r   rM  c                   `    e Zd ZU eed<   	 eed<   	 eed      ed<   	 ee   ed<   	 ee   ed<   y)rJ  rP   rQ   rT   rX   rY   rZ   Nr[   r+   r   r   9UpcomingParamsScheduleDetailsPhaseAddInvoiceItemPriceDatazHInvoiceService.UpcomingParamsScheduleDetailsPhaseAddInvoiceItemPriceData
  rC  r   rO  c                   *    e Zd ZU eed<   	 ed   ed<   y)rC  r   FInvoiceService.UpcomingParamsScheduleDetailsPhaseAutomaticTaxLiabilityr   Nr   r+   r   r   .UpcomingParamsScheduleDetailsPhaseAutomaticTaxz=InvoiceService.UpcomingParamsScheduleDetailsPhaseAutomaticTax
  s#    	 T
 	
	r   rR  c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)rQ  r   r   r   Nr   r+   r   r   7UpcomingParamsScheduleDetailsPhaseAutomaticTaxLiabilityzFInvoiceService.UpcomingParamsScheduleDetailsPhaseAutomaticTaxLiability
  r   r   rT  c                   0    e Zd ZU ee   ed<   	 ee   ed<   y)BInvoiceService.UpcomingParamsScheduleDetailsPhaseBillingThresholdsr{  r|  Nr}  r+   r   r   3UpcomingParamsScheduleDetailsPhaseBillingThresholdsrV  
  r  r   rW  c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y)9InvoiceService.UpcomingParamsScheduleDetailsPhaseDiscountrC   rD   rE   NrF   r+   r   r   *UpcomingParamsScheduleDetailsPhaseDiscountrY  
  rH   r   rZ  c                   B    e Zd ZU ed   ed<   	 ee   ed<   	 ed   ed<   y)rD  r;   r   r   FInvoiceService.UpcomingParamsScheduleDetailsPhaseInvoiceSettingsIssuerr   Nr  r+   r   r   1UpcomingParamsScheduleDetailsPhaseInvoiceSettingsz@InvoiceService.UpcomingParamsScheduleDetailsPhaseInvoiceSettings
  s<    $%<==	 $C((	 T
 	
	r   r]  c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)r\  r   r   r   Nr   r+   r   r   7UpcomingParamsScheduleDetailsPhaseInvoiceSettingsIssuerzFInvoiceService.UpcomingParamsScheduleDetailsPhaseInvoiceSettingsIssuer  r   r   r_  c                       e Zd ZU ed   ed<   	 ed   ed<   	 eeeef      ed<   	 ee   ed<   	 ee   ed<   	 ed   ed	<   	 ee   ed
<   	 ed   ed<   y)rE  zRLiteral['']|InvoiceService.UpcomingParamsScheduleDetailsPhaseItemBillingThresholdsr\  zOLiteral['']|List[InvoiceService.UpcomingParamsScheduleDetailsPhaseItemDiscount]r1   r3   r  r6   >InvoiceService.UpcomingParamsScheduleDetailsPhaseItemPriceDatar8   r9   r;   r<   Nr  r+   r   r   &UpcomingParamsScheduleDetailsPhaseItemz5InvoiceService.UpcomingParamsScheduleDetailsPhaseItem  s    '`
 	
	 ]
 	
	 d38n--	 #	 3	  L
 	
	 c""	 677	r   rb  c                       e Zd ZU eed<   y)FInvoiceService.UpcomingParamsScheduleDetailsPhaseItemBillingThresholdsr  NrL   r+   r   r   7UpcomingParamsScheduleDetailsPhaseItemBillingThresholdsrd  ?      	r   re  c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y)=InvoiceService.UpcomingParamsScheduleDetailsPhaseItemDiscountrC   rD   rE   NrF   r+   r   r   .UpcomingParamsScheduleDetailsPhaseItemDiscountrh  E  rH   r   ri  c                   l    e Zd ZU eed<   	 eed<   	 ded<   	 eed      ed<   	 ee   ed<   	 ee   ed<   y	)
ra  rP   rQ   GInvoiceService.UpcomingParamsScheduleDetailsPhaseItemPriceDataRecurringr  rT   rX   rY   rZ   Nr[   r+   r   r   /UpcomingParamsScheduleDetailsPhaseItemPriceDataz>InvoiceService.UpcomingParamsScheduleDetailsPhaseItemPriceDataS  sg    	 	 ]\	 ";<
 	
	 !%%	 )--	r   rl  c                   0    e Zd ZU ed   ed<   	 ee   ed<   y)rk  r  r  r  Nr  r+   r   r   8UpcomingParamsScheduleDetailsPhaseItemPriceDataRecurringzGInvoiceService.UpcomingParamsScheduleDetailsPhaseItemPriceDataRecurringo  %    899	 $C((	r   rn  c                   *    e Zd ZU ee   ed<   	 eed<   y)rF  r  r  Nr  r+   r   r   .UpcomingParamsScheduleDetailsPhaseTransferDataz=InvoiceService.UpcomingParamsScheduleDetailsPhaseTransferDatay  r  r   rq  c                       e Zd ZU ed   ed<   	 ed   ed<   	 ee   ed<   	 ee   ed<   	 ed   ed<   	 eed	      ed
<   	 eed      ed<   	 ee   ed<   	 eed      ed<   	 ee   ed<   	 ed   ed<   y)r  r  r[  rS  r  r  r  r;   r   4InvoiceService.UpcomingParamsSubscriptionDetailsItemrb  rM  rQ  r  r  r  rd  r  rg  Nr  r+   r   r   !UpcomingParamsSubscriptionDetailsz0InvoiceService.UpcomingParamsSubscriptionDetails  s    )*KLL	 011	 *$//	  %%	 ''>??	 GH
 	
	 (AB
 	
	 $C((	 wu~..	  $$	 344	r   rt  c                       e Zd ZU ed   ed<   	 ee   ed<   	 ee   ed<   	 ed   ed<   	 ee   ed<   	 ed   ed	<   	 ee   ed
<   	 ee   ed<   	 ed   ed<   	 ee   ed<   	 ed   ed<   y)rs  zQLiteral['']|InvoiceService.UpcomingParamsSubscriptionDetailsItemBillingThresholdsr\  r  r  zNLiteral['']|List[InvoiceService.UpcomingParamsSubscriptionDetailsItemDiscount]r1   r  r!   r3   r  r6   =InvoiceService.UpcomingParamsSubscriptionDetailsItemPriceDatar8   r9   r;   r<   Nr  r+   r   r   %UpcomingParamsSubscriptionDetailsItemz4InvoiceService.UpcomingParamsSubscriptionDetailsItem  s    '_
 	
	 !&&	 T""	 \
 	
	 	 :;;	 #	 3	  K
 	
	 c""	 677	r   rw  c                       e Zd ZU eed<   y)EInvoiceService.UpcomingParamsSubscriptionDetailsItemBillingThresholdsr  NrL   r+   r   r   6UpcomingParamsSubscriptionDetailsItemBillingThresholdsry    rf  r   rz  c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y)<InvoiceService.UpcomingParamsSubscriptionDetailsItemDiscountrC   rD   rE   NrF   r+   r   r   -UpcomingParamsSubscriptionDetailsItemDiscountr|    rH   r   r}  c                   l    e Zd ZU eed<   	 eed<   	 ded<   	 eed      ed<   	 ee   ed<   	 ee   ed<   y	)
rv  rP   rQ   FInvoiceService.UpcomingParamsSubscriptionDetailsItemPriceDataRecurringr  rT   rX   rY   rZ   Nr[   r+   r   r   .UpcomingParamsSubscriptionDetailsItemPriceDataz=InvoiceService.UpcomingParamsSubscriptionDetailsItemPriceData  sg    	 	 \[	 ";<
 	
	 !%%	 )--	r   r  c                   0    e Zd ZU ed   ed<   	 ee   ed<   y)r  r  r  r  Nr  r+   r   r   7UpcomingParamsSubscriptionDetailsItemPriceDataRecurringzFInvoiceService.UpcomingParamsSubscriptionDetailsItemPriceDataRecurring  ro  r   r  c                       e Zd ZU ed   ed<   	 ee   ed<   	 ee   ed<   	 ed   ed<   	 ee   ed<   	 ed   ed	<   	 ee   ed
<   	 ee   ed<   	 ed   ed<   	 ee   ed<   	 ed   ed<   y)r  zJLiteral['']|InvoiceService.UpcomingParamsSubscriptionItemBillingThresholdsr\  r  r  zGLiteral['']|List[InvoiceService.UpcomingParamsSubscriptionItemDiscount]r1   r  r!   r3   r  r6   6InvoiceService.UpcomingParamsSubscriptionItemPriceDatar8   r9   r;   r<   Nr  r+   r   r   UpcomingParamsSubscriptionItemz-InvoiceService.UpcomingParamsSubscriptionItem#  s    'X
 	
	 !&&	 T""	 U
 	
	 	 :;;	 #	 3	  D
 	
	 c""	 677	r   r  c                       e Zd ZU eed<   y)>InvoiceService.UpcomingParamsSubscriptionItemBillingThresholdsr  NrL   r+   r   r   /UpcomingParamsSubscriptionItemBillingThresholdsr  W  rf  r   r  c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y)5InvoiceService.UpcomingParamsSubscriptionItemDiscountrC   rD   rE   NrF   r+   r   r   &UpcomingParamsSubscriptionItemDiscountr  ]  rH   r   r  c                   l    e Zd ZU eed<   	 eed<   	 ded<   	 eed      ed<   	 ee   ed<   	 ee   ed<   y	)
r  rP   rQ   ?InvoiceService.UpcomingParamsSubscriptionItemPriceDataRecurringr  rT   rX   rY   rZ   Nr[   r+   r   r   'UpcomingParamsSubscriptionItemPriceDataz6InvoiceService.UpcomingParamsSubscriptionItemPriceDatak  si    	 	 N	
	 ";<
 	
	 !%%	 )--	r   r  c                   0    e Zd ZU ed   ed<   	 ee   ed<   y)r  r  r  r  Nr  r+   r   r   0UpcomingParamsSubscriptionItemPriceDataRecurringz?InvoiceService.UpcomingParamsSubscriptionItemPriceDataRecurring  ro  r   r  c                   H    e Zd ZU eee      ed<   	 ed   ed<   	 ed   ed<   y) InvoiceService.UpdateLinesParamsr    r!   r"   $InvoiceService.UpdateLinesParamsLiner$   Nr%   r+   r   r   UpdateLinesParamsr    r  r   r  c                       e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   	 ed   ed<   	 eed<   	 ed   ed<   	 ed	   ed
<   	 ee   ed<   	 ed   ed<   	 ee   ed<   	 ed   ed<   	 ed   ed<   y)r  r.   r/   r0   z>Literal['']|List[InvoiceService.UpdateLinesParamsLineDiscount]r1   r  r!   r3   *InvoiceService.UpdateLinesParamsLinePeriodr5   r6   -InvoiceService.UpdateLinesParamsLinePriceDatar8   r9   z?Literal['']|List[InvoiceService.UpdateLinesParamsLineTaxAmount]r:   r;   r<   Nr=   r+   r   r   UpdateLinesParamsLinez$InvoiceService.UpdateLinesParamsLine  s    C  	 !%%	 "$''	 L
 	
	 	 :;;	 HII	 3	  ;
 	
	 c""	 !M
 	
	 677	r   r  c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y),InvoiceService.UpdateLinesParamsLineDiscountrC   rD   rE   NrF   r+   r   r   UpdateLinesParamsLineDiscountr    rH   r   r  c                   $    e Zd ZU eed<   	 eed<   y)r  rJ   rK   NrL   r+   r   r   UpdateLinesParamsLinePeriodz*InvoiceService.UpdateLinesParamsLinePeriod  rN   r   r  c                   x    e Zd ZU eed<   	 ee   ed<   	 ed   ed<   	 eed      ed<   	 ee   ed<   	 ee   ed<   y	)
r  rP   rQ   8InvoiceService.UpdateLinesParamsLinePriceDataProductDatarS   rT   rX   rY   rZ   Nr[   r+   r   r   UpdateLinesParamsLinePriceDataz-InvoiceService.UpdateLinesParamsLinePriceData  sv    	 S!!	 "F
 	
	 ";<
 	
	 !%%	 )--	r   r  c                   p    e Zd ZU ee   ed<   	 eee      ed<   	 eeeef      ed<   	 eed<   	 ee   ed<   y)r  r/   r^   r3   r_   r`   Nra   r+   r   r   )UpdateLinesParamsLinePriceDataProductDataz8InvoiceService.UpdateLinesParamsLinePriceDataProductData  rc   r   r  c                   0    e Zd ZU eed<   	 ded<   	 eed<   y)-InvoiceService.UpdateLinesParamsLineTaxAmountr.   8InvoiceService.UpdateLinesParamsLineTaxAmountTaxRateDatarg   rh   NrL   r+   r   r   UpdateLinesParamsLineTaxAmountr  %  s)    	 G	
	
 	r   r  c                       e Zd ZU ee   ed<   	 ee   ed<   	 eed<   	 eed<   	 ee   ed<   	 eed<   	 ee   ed<   	 eed      ed	<   y
)r  rk   r/   rl   rV   rm   rn   ro   rp   r   Nr   r+   r   r   )UpdateLinesParamsLineTaxAmountTaxRateDataz8InvoiceService.UpdateLinesParamsLineTaxAmountTaxRateData7  r   r   r  c                      e Zd ZU ed   ed<   	 ee   ed<   	 ee   ed<   	 ed   ed<   	 ee   ed<   	 eed      ed	<   	 ed
   ed<   	 ee   ed<   	 ee   ed<   	 ed   ed<   	 ed   ed<   	 ee   ed<   	 ed   ed<   	 ee   ed<   	 ed   ed<   	 ee	e      ed<   	 ee   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed <   	 ed!   ed"<   	 ed#   ed$<   	 ed%   ed&<   	 ee   ed'<   	 ed(   ed)<   y*)+InvoiceService.UpdateParamsr;   r   r   r   'InvoiceService.UpdateParamsAutomaticTaxr   r   r   r   z8Literal['']|List[InvoiceService.UpdateParamsCustomField]r   r   r   r   r   r   r/   z5Literal['']|List[InvoiceService.UpdateParamsDiscount]r1   r   rS  r   r    r   !InvoiceService.UpdateParamsIssuerr   r!   r3   r   r   *InvoiceService.UpdateParamsPaymentSettingsr   $InvoiceService.UpdateParamsRenderingr   z3Literal['']|InvoiceService.UpdateParamsShippingCostr   z6Literal['']|InvoiceService.UpdateParamsShippingDetailsr   r   z3Literal['']|InvoiceService.UpdateParamsTransferDatar   Nr   r+   r   r   UpdateParamsr  j  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                   *    e Zd ZU eed<   	 ed   ed<   y)r  r   0InvoiceService.UpdateParamsAutomaticTaxLiabilityr   Nr   r+   r   r   UpdateParamsAutomaticTaxz'InvoiceService.UpdateParamsAutomaticTax  r   r   r  c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)r  r   r   r   Nr   r+   r   r   !UpdateParamsAutomaticTaxLiabilityz0InvoiceService.UpdateParamsAutomaticTaxLiability  r   r   r  c                   $    e Zd ZU eed<   	 eed<   y)&InvoiceService.UpdateParamsCustomFieldr_   r   Nr   r+   r   r   UpdateParamsCustomFieldr    r   r   r  c                   B    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   y)#InvoiceService.UpdateParamsDiscountrC   rD   rE   NrF   r+   r   r   UpdateParamsDiscountr    rH   r   r  c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)r  r   r   r   Nr   r+   r   r   UpdateParamsIssuerz!InvoiceService.UpdateParamsIssuer  r   r   r  c                   B    e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   y)r  r   r   >InvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsr   r   r   Nr   r+   r   r   UpdateParamsPaymentSettingsz*InvoiceService.UpdateParamsPaymentSettings  r   r   r  c                       e Zd ZU ed   ed<   	 ed   ed<   	 ed   ed<   	 ed   ed<   	 ed	   ed
<   	 ed   ed<   	 ed   ed<   y)r  zSLiteral['']|InvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsAcssDebitr   zTLiteral['']|InvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsBancontactr   zNLiteral['']|InvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCardr   zYLiteral['']|InvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCustomerBalancer   zQLiteral['']|InvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsKonbinir   zSLiteral['']|InvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsSepaDebitr   zWLiteral['']|InvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountr   Nr   r+   r   r   /UpdateParamsPaymentSettingsPaymentMethodOptionsz>InvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptions0  r   r   r  c                   6    e Zd ZU ed   ed<   	 eed      ed<   y)GInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsAcssDebitUInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsAcssDebitMandateOptionsr   r   r   Nr   r+   r   r   8UpdateParamsPaymentSettingsPaymentMethodOptionsAcssDebitr  \  r   r   r  c                   $    e Zd ZU eed      ed<   y)r  r   r   Nr   r+   r   r   FUpdateParamsPaymentSettingsPaymentMethodOptionsAcssDebitMandateOptionszUInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsAcssDebitMandateOptionsj  r   r   r  c                   $    e Zd ZU eed      ed<   y)HInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsBancontactr   r   Nr   r+   r   r   9UpdateParamsPaymentSettingsPaymentMethodOptionsBancontactr  r  r   r   r  c                   6    e Zd ZU ed   ed<   	 eed      ed<   y)BInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCardNInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsr  r  r  Nr   r+   r   r   3UpdateParamsPaymentSettingsPaymentMethodOptionsCardr  x  r
  r   r  c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)r  r   z^Literal['']|InvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlanr  Nr  r+   r   r   ?UpdateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentszNInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCardInstallments  r  r   r  c                   H    e Zd ZU ee   ed<   	 eed      ed<   	 ed   ed<   y)RInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlanr  r  r  r  r   Nr  r+   r   r   CUpdateParamsPaymentSettingsPaymentMethodOptionsCardInstallmentsPlanr    r  r   r  c                   0    e Zd ZU ed   ed<   	 ee   ed<   y)MInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceYInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferr  r  Nr  r+   r   r   >UpdateParamsPaymentSettingsPaymentMethodOptionsCustomerBalancer    r   r   r  c                   0    e Zd ZU ed   ed<   	 ee   ed<   y)r  gInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferr#  r   Nr  r+   r   r   JUpdateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferzYInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransfer  r%  r   r  c                       e Zd ZU eed<   y)r  rk   Nr   r+   r   r   XUpdateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransferzgInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsCustomerBalanceBankTransferEuBankTransfer  r(  r   r  c                       e Zd Zy)EInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsKonbiniNr+  r+   r   r   6UpdateParamsPaymentSettingsPaymentMethodOptionsKonbinir    r-  r   r  c                       e Zd Zy)GInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsSepaDebitNr+  r+   r   r   8UpdateParamsPaymentSettingsPaymentMethodOptionsSepaDebitr    r-  r   r  c                   6    e Zd ZU ed   ed<   	 eed      ed<   y)KInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsUsBankAccount_InvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsr4  r   r   Nr   r+   r   r   <UpdateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountr    r6  r   r  c                   Z    e Zd ZU ed   ed<   	 eeed         ed<   	 eeed         ed<   y)r  fInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFiltersr9  r:  r?  r@  rA  NrB  r+   r   r   PUpdateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsz_InvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnections  rD  r   r  c                   *    e Zd ZU eeed         ed<   y)r  rF  rI  NrJ  r+   r   r   WUpdateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilterszfInvoiceService.UpdateParamsPaymentSettingsPaymentMethodOptionsUsBankAccountFinancialConnectionsFilters  rL  r   r  c                   T    e Zd ZU ed   ed<   	 ed   ed<   	 ee   ed<   	 ed   ed<   y)	r  rN  rO  'InvoiceService.UpdateParamsRenderingPdfrQ  rR  rS  rT  Nr  r+   r   r   UpdateParamsRenderingz$InvoiceService.UpdateParamsRendering  rV  r   r  c                   $    e Zd ZU eed      ed<   y)r  rX  r\  Nr   r+   r   r   UpdateParamsRenderingPdfz'InvoiceService.UpdateParamsRenderingPdf  r^  r   r  c                   0    e Zd ZU ee   ed<   	 ed   ed<   y)'InvoiceService.UpdateParamsShippingCostr`  7InvoiceService.UpdateParamsShippingCostShippingRateDatarb  NrF   r+   r   r   UpdateParamsShippingCostr  "  rd  r   r  c                       e Zd ZU ed   ed<   	 eed<   	 ed   ed<   	 eeeef      ed<   	 eed      ed<   	 ee   ed	<   	 eed      ed
<   y)r  GInvoiceService.UpdateParamsShippingCostShippingRateDataDeliveryEstimaterg  rl   BInvoiceService.UpdateParamsShippingCostShippingRateDataFixedAmountri  r3   rT   rX   r`   r   Nrj  r+   r   r   (UpdateParamsShippingCostShippingRateDataz7InvoiceService.UpdateParamsShippingCostShippingRateData.  rl  r   r  c                   0    e Zd ZU ed   ed<   	 ed   ed<   y)r  NInvoiceService.UpdateParamsShippingCostShippingRateDataDeliveryEstimateMaximumro  NInvoiceService.UpdateParamsShippingCostShippingRateDataDeliveryEstimateMinimumrq  Nr   r+   r   r   8UpdateParamsShippingCostShippingRateDataDeliveryEstimatezGInvoiceService.UpdateParamsShippingCostShippingRateDataDeliveryEstimateR  rs  r   r  c                   *    e Zd ZU ed   ed<   	 eed<   y)r  ru  rz  r   Nr{  r+   r   r   ?UpdateParamsShippingCostShippingRateDataDeliveryEstimateMaximumzNInvoiceService.UpdateParamsShippingCostShippingRateDataDeliveryEstimateMaximum`  r}  r   r  c                   *    e Zd ZU ed   ed<   	 eed<   y)r  ru  rz  r   Nr{  r+   r   r   ?UpdateParamsShippingCostShippingRateDataDeliveryEstimateMinimumzNInvoiceService.UpdateParamsShippingCostShippingRateDataDeliveryEstimateMinimuml  r}  r   r   c                   @    e Zd ZU eed<   	 eed<   	 eeedf      ed<   y)r  r.   rP   QInvoiceService.UpdateParamsShippingCostShippingRateDataFixedAmountCurrencyOptionsr  Nr  r+   r   r   3UpdateParamsShippingCostShippingRateDataFixedAmountzBInvoiceService.UpdateParamsShippingCostShippingRateDataFixedAmountx  r  r   r  c                   0    e Zd ZU eed<   	 eed      ed<   y)r  r.   rT   rX   Nr  r+   r   r   BUpdateParamsShippingCostShippingRateDataFixedAmountCurrencyOptionszQInvoiceService.UpdateParamsShippingCostShippingRateDataFixedAmountCurrencyOptions  r  r   r  c                   6    e Zd ZU ded<   	 eed<   	 ed   ed<   y)*InvoiceService.UpdateParamsShippingDetails1InvoiceService.UpdateParamsShippingDetailsAddressr  r_   r   r  Nr  r+   r   r   UpdateParamsShippingDetailsr    r  r   r	  c                   x    e Zd ZU ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   	 ee   ed<   y)r  r  rk   r  r  r  ro   NrF   r+   r   r   "UpdateParamsShippingDetailsAddressz1InvoiceService.UpdateParamsShippingDetailsAddress  r  r   r  c                   *    e Zd ZU ee   ed<   	 eed<   y)'InvoiceService.UpdateParamsTransferDatar.   r  Nr  r+   r   r   UpdateParamsTransferDatar    r  r   r  c                   $    e Zd ZU eee      ed<   y) InvoiceService.VoidInvoiceParamsr    Nr%   r+   r   r   VoidInvoiceParamsr    r  r   r  r   paramsr  optionsreturnc                 |    t        t        | j                  ddj                  t	        |            d||            S )*  
        Permanently deletes a one-off invoice draft. This cannot be undone. Attempts to delete invoices that are no longer in a draft state will fail; once an invoice has been finalized or if an invoice is for a subscription, it must be [voided](https://stripe.com/docs/api#void_invoice).
        r  /v1/invoices/{invoice}r   apibase_addressr  r  r   r   _requestformatr
   r   r   r  r  s       r   r  zInvoiceService.delete  sG     MM(//G8L/M"  	
 		
r   c                    K   t        t        | j                  ddj                  t	        |            d||       d{         S 7 w)r  r  r  r  r  r  Nr   r   _request_asyncr  r
   r  s       r   delete_asynczInvoiceService.delete_async  sW      %%(//G8L/M" &  	
 		
   =A
A
 	A
r  c                 |    t        t        | j                  ddj                  t	        |            d||            S ):
        Retrieves the invoice with the given ID.
        getr  r  r  r  r  r  s       r   retrievezInvoiceService.retrieve  sG     MM(//G8L/M"  	
 		
r   c                    K   t        t        | j                  ddj                  t	        |            d||       d{         S 7 w)r&  r'  r  r  r  r  Nr!  r  s       r   retrieve_asynczInvoiceService.retrieve_async  sW      %%(//G8L/M" &  	
 		
r$  r  c                 |    t        t        | j                  ddj                  t	        |            d||            S )  
        Draft invoices are fully editable. Once an invoice is [finalized](https://stripe.com/docs/billing/invoices/workflow#finalized),
        monetary values, as well as collection_method, become uneditable.

        If you would like to stop the Stripe Billing engine from automatically finalizing, reattempting payments on,
        sending reminders for, or [automatically reconciling](https://stripe.com/docs/billing/invoices/reconciliation) invoices, pass
        auto_advance=false.
        postr  r  r  r  r  r  s       r   updatezInvoiceService.update!  sG     MM(//G8L/M"  	
 		
r   c                    K   t        t        | j                  ddj                  t	        |            d||       d{         S 7 w)r,  r-  r  r  r  r  Nr!  r  s       r   update_asynczInvoiceService.update_async:  sW      %%(//G8L/M" &  	
 		
r$  r  c           
      X    t        t        t           | j                  ddd||            S )
        You can list all invoices, or list the invoices for a specific customer. The invoices are returned sorted by creation date, with the most recently created invoices appearing first.
        r'  /v1/invoicesr  r  )r   r   r   r  r   r  r  s      r   listzInvoiceService.listS  s9     wMM"  	
 		
r   c           
      t   K   t        t        t           | j                  ddd||       d{         S 7 w)r2  r'  r3  r  r  N)r   r   r   r"  r4  s      r   
list_asynczInvoiceService.list_asyncf  sI      w%%" &  	
 		
   +86
	8r   c           
      J    t        t        | j                  ddd||            S )   
        This endpoint creates a draft invoice for a given customer. The invoice remains a draft until you [finalize the invoice, which allows you to [pay](#pay_invoice) or <a href="#send_invoice">send](https://stripe.com/docs/api#finalize_invoice) the invoice to your customers.
        r-  r3  r  r  r   r   r  r4  s      r   createzInvoiceService.createy  s4     MM"  	
 		
r   c           
      f   K   t        t        | j                  ddd||       d{         S 7 w)r:  r-  r3  r  r  Nr   r   r"  r4  s      r   create_asynczInvoiceService.create_async  sD      %%" &  	
 		
   $1/
	1r  c           
      X    t        t        t           | j                  ddd||            S )  
        Search for invoices you've previously created using Stripe's [Search Query Language](https://stripe.com/docs/search#search-query-language).
        Don't use search in read-after-write flows where strict consistency is necessary. Under normal operating
        conditions, data is searchable in less than a minute. Occasionally, propagation of new or updated data can be up
        to an hour behind during outages. Search functionality is not available to merchants in India.
        r'  /v1/invoices/searchr  r  )r   r   r   r  r4  s      r   searchzInvoiceService.search  s9     w'MM%"  	
 		
r   c           
      t   K   t        t        t           | j                  ddd||       d{         S 7 w)rB  r'  rC  r  r  N)r   r   r   r"  r4  s      r   search_asynczInvoiceService.search_async  sI      w'%%%" &  	
 		
r8  r  c           
      J    t        t        | j                  ddd||            S )  
        At any time, you can preview the upcoming invoice for a customer. This will show you all the charges that are pending, including subscription renewal charges, invoice item charges, etc. It will also show you any discounts that are applicable to the invoice.

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

        You can preview the effects of updating a subscription, including a preview of what proration will take place. To ensure that the actual proration is calculated exactly the same as the previewed proration, you should pass the subscription_details.proration_date parameter when doing the actual subscription update. The recommended way to get only the prorations being previewed is to consider only proration line items where period[start] is equal to the subscription_details.proration_date value passed in the request.

        Note: Currency conversion calculations use the latest exchange rates. Exchange rates may vary between the time of the preview and the time of the actual invoice creation. [Learn more](https://docs.stripe.com/currencies/conversions)
        r'  /v1/invoices/upcomingr  r  r;  r4  s      r   upcomingzInvoiceService.upcoming  s4     MM'"  	
 		
r   c           
      f   K   t        t        | j                  ddd||       d{         S 7 w)rH  r'  rI  r  r  Nr>  r4  s      r   upcoming_asynczInvoiceService.upcoming_async  sD      %%'" &  	
 		
r@  r   c                 |    t        t        | j                  ddj                  t	        |            d||            S )q
        Adds multiple line items to an invoice. This is only possible when an invoice is still a draft.
        r-   /v1/invoices/{invoice}/add_linesr  r  r  r  r  s       r   	add_lineszInvoiceService.add_lines  sN     MM299'0 :  #  
 	
r   c                    K   t        t        | j                  ddj                  t	        |            d||       d{         S 7 w)rN  r-  rO  r  r  r  Nr!  r  s       r   add_lines_asynczInvoiceService.add_lines_async  s^      %%299'0 :  # &  
 	
r$  r  c                 |    t        t        | j                  ddj                  t	        |            d||            S )
        Stripe automatically finalizes drafts before sending and attempting payment on invoices. However, if you'd like to finalize a draft invoice manually, you can do so using this method.
        r-  /v1/invoices/{invoice}/finalizer  r  r  r  r  s       r   finalize_invoicezInvoiceService.finalize_invoice)  sN     MM188'0 9  #  
 	
r   c                    K   t        t        | j                  ddj                  t	        |            d||       d{         S 7 w)rT  r-  rU  r  r  r  Nr!  r  s       r   finalize_invoice_asyncz%InvoiceService.finalize_invoice_async?  s^      %%188'0 9  # &  
 	
r$  r  c                 |    t        t        | j                  ddj                  t	        |            d||            S )
        Marking an invoice as uncollectible is useful for keeping track of bad debts that can be written off for accounting purposes.
        r-  )/v1/invoices/{invoice}/mark_uncollectibler  r  r  r  r  s       r   mark_uncollectiblez!InvoiceService.mark_uncollectibleU  sO     MM;BB'0 C  #  
 	
r   c                    K   t        t        | j                  ddj                  t	        |            d||       d{         S 7 w)rZ  r-  r[  r  r  r  Nr!  r  s       r   mark_uncollectible_asyncz'InvoiceService.mark_uncollectible_asynck  s_      %%;BB'0 C  # &  
 	
r$  r  c                 |    t        t        | j                  ddj                  t	        |            d||            S )i  
        Stripe automatically creates and then attempts to collect payment on invoices for customers on subscriptions according to your [subscriptions settings](https://dashboard.stripe.com/account/billing/automatic). However, if you'd like to attempt payment on an invoice out of the normal collection schedule or for some other reason, you can do so.
        r-  /v1/invoices/{invoice}/payr  r  r  r  r  s       r   payzInvoiceService.pay  sN     MM,33'0 4  #  
 	
r   c                    K   t        t        | j                  ddj                  t	        |            d||       d{         S 7 w)r`  r-  ra  r  r  r  Nr!  r  s       r   	pay_asynczInvoiceService.pay_async  s^      %%,33'0 4  # &  
 	
r$  r  c                 |    t        t        | j                  ddj                  t	        |            d||            S )v
        Removes multiple line items from an invoice. This is only possible when an invoice is still a draft.
        r-  #/v1/invoices/{invoice}/remove_linesr  r  r  r  r  s       r   remove_lineszInvoiceService.remove_lines  N     MM5<<'0 =  #  
 	
r   c                    K   t        t        | j                  ddj                  t	        |            d||       d{         S 7 w)rf  r-  rg  r  r  r  Nr!  r  s       r   remove_lines_asyncz!InvoiceService.remove_lines_async  ^      %%5<<'0 =  # &  
 	
r$  r   c                 |    t        t        | j                  ddj                  t	        |            d||            S )  
        Stripe will automatically send invoices to customers according to your [subscriptions settings](https://dashboard.stripe.com/account/billing/automatic). However, if you'd like to manually send an invoice to your customer out of the normal schedule, you can do so. When sending invoices that have already been paid, there will be no reference to the payment in the email.

        Requests made in test-mode result in no emails being sent, despite sending an invoice.sent event.
        r-  /v1/invoices/{invoice}/sendr  r  r  r  r  s       r   r   zInvoiceService.send_invoice  N     MM-44'0 5  #  
 	
r   c                    K   t        t        | j                  ddj                  t	        |            d||       d{         S 7 w)rn  r-  ro  r  r  r  Nr!  r  s       r   send_invoice_asyncz!InvoiceService.send_invoice_async  ^      %%-44'0 5  # &  
 	
r$  r  c                 |    t        t        | j                  ddj                  t	        |            d||            S )t
        Updates multiple line items on an invoice. This is only possible when an invoice is still a draft.
        r-  #/v1/invoices/{invoice}/update_linesr  r  r  r  r  s       r   update_lineszInvoiceService.update_lines	  ri  r   c                    K   t        t        | j                  ddj                  t	        |            d||       d{         S 7 w)ru  r-  rv  r  r  r  Nr!  r  s       r   update_lines_asyncz!InvoiceService.update_lines_async  rl  r$  r  c                 |    t        t        | j                  ddj                  t	        |            d||            S )  
        Mark a finalized invoice as void. This cannot be undone. Voiding an invoice is similar to [deletion](https://stripe.com/docs/api#delete_invoice), however it only applies to finalized invoices and maintains a papertrail where the invoice can still be found.

        Consult with local regulations to determine whether and how an invoice might be amended, canceled, or voided in the jurisdiction you're doing business in. You might need to [issue another invoice or <a href="#create_credit_note">credit note](https://stripe.com/docs/api#create_invoice) instead. Stripe recommends that you consult with your legal counsel for advice specific to your business.
        r-  /v1/invoices/{invoice}/voidr  r  r  r  r  s       r   void_invoicezInvoiceService.void_invoice5  rp  r   c                    K   t        t        | j                  ddj                  t	        |            d||       d{         S 7 w)r{  r-  r|  r  r  r  Nr!  r  s       r   void_invoice_asyncz!InvoiceService.void_invoice_asyncM  rs  r$  r  c           
      J    t        t        | j                  ddd||            S )rH  r-  /v1/invoices/create_previewr  r  r;  r4  s      r   create_previewzInvoiceService.create_previewe  s4     MM-"  	
 		
r   c           
      f   K   t        t        | j                  ddd||       d{         S 7 w)rH  r-  r  r  r  Nr>  r4  s      r   create_preview_asyncz#InvoiceService.create_preview_async~  sD      %%-" &  	
 		
r@  )r&   r'   r(   r   r   r,   r@   rG   rM   r\   rb   ri   r   r   r   r   r   r   r   r   r   r   r   r   r   r	  r  r  r  r$  r'  r,  r0  r5  rC  rK  rU  r]  rc  rk  rr  r|  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r1  r5  r;  r>  r@  rB  rE  rS  ri  rn  rp  rr  ru  rw  r~  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r#  r'  r)  r+  r-  r0  r4  r7  r9  r;  r=  r@  rG  rK  rM  rO  rR  rT  rW  rZ  r]  r_  rb  re  ri  rl  rn  rq  rt  rw  rz  r}  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r  r  r	  r  r  r  r)   r   r   r  r#  r(  r*  r.  r0  r   r5  r7  r<  r?  r   rD  rF  rJ  rL  rP  rR  rV  rX  r\  r^  rb  rd  rh  rk  r   rr  rw  ry  r}  r  r  r  __classcell__)r   s   @r   r   r      s   K
 4Y 4lY 9 i < ,i  1 1fLy L\
9 
I ) y ) Y i $*) *X9 I i  " 9  4	 (9 
9 
"9 "H9 



i &i Y 49 Hi HT
) 
9 Y @I 4Y  I 4	 m) m^i H HT y ) 0I Y $p) pd	 8 4
i 


9 )   

&i &Pi y 8

i 0 0d2Y 2hY i 8

y 	 )Y )VI $I $) I @I 	  y $I | ||
Y 
i 	 <y 4	 y 49 mY m^ FI FPI ) Y 0y 	 $nY n`9 89 I 0
 
) i Y I  ) & &P)  ) 89  0I 0d2	 2h 	  8) 2 2h)  ) <9 I 6	 6p	 i  <I , $1I 1f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	$	
0 35"$
/
  
 
	
6 35"$
/
  
 
	
: #%	

 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._invoice_upcoming_lines_servicer   stripe._list_objectr   stripe._request_optionsr   stripe._search_result_objectr   stripe._stripe_servicer	   stripe._utilr
   typingr   r   r   typing_extensionsr   r   r   r   r+   r   r   <module>r     s;    $ D N * 2 ; 0 $ # # = =FJ
] FJ
r   