
    +h                     x    d dl mZ d dlmZ d dlmZ d dlmZ d dlm	Z	m
Z
 d dlmZ d dlmZ  G d d	ed	         Zy
)    )APIResource)Customer)ExpandableField)StripeObject)ClassVarOptional)Literal)
quote_plusc                   
   e Zd ZU dZdZeed      ed<    G d de      Z	e
e   ed<   	 eed<   	 e
ed      ed	<   	 eed
<   	 eed<   	 ed   ed<   	 ed   ed<   	 eed<   	 e
e	   ed<   	 e
ed      ed<   	 d Zedd       Zde	iZy)TaxIda}  
    You can add one or multiple tax IDs to a [customer](https://stripe.com/docs/api/customers) or account.
    Customer and account tax IDs get displayed on related invoices and credit notes.

    Related guides: [Customer tax identification numbers](https://stripe.com/docs/billing/taxes/tax-ids), [Account tax IDs](https://stripe.com/docs/invoicing/connect#account-tax-ids)
    tax_idOBJECT_NAMEc                   B    e Zd ZU ed   ed<   	 ee   ed<   	 ee   ed<   y)TaxId.Verification)pendingunavailable
unverifiedverifiedstatusverified_addressverified_nameN)__name__
__module____qualname__r	   __annotations__r   str     N/var/www/html/venv/lib/python3.12/site-packages/stripe/api_resources/tax_id.pyVerificationr      s5    JKK	 #3-'	  }$	r   r    countrycreatedr   customeridlivemodeobject)Cad_nrtae_trnar_cuitau_abnau_arnbg_uicbo_tinbr_cnpjbr_cpfca_bn
ca_gst_hst	ca_pst_bc	ca_pst_mb	ca_pst_skca_qstch_vatcl_tincn_tinco_nitcr_tindo_rcnec_ruceg_tines_cif
eu_oss_vateu_vatgb_vatge_vathk_brhu_tinid_npwpil_vatin_gstis_vatjp_cnjp_rnjp_trnke_pinkr_brnli_uidmx_rfcmy_frpmy_itnmy_sstno_vatnz_gstpe_rucph_tinro_tinrs_pibru_innru_kppsa_vatsg_gstsg_uensi_tinsv_nitth_vattr_tintw_vatua_vatunknownus_einuy_rucve_rifvn_tinza_vattypevalueverificationTdeletedc                     | j                   }| j                  }t        j                         }|J t	        |t              r|j                   }t        |      }t        |      }|d|d|S )N/z	/tax_ids/)r$   r#   r   	class_url
isinstancer
   )selftokenr#   base	cust_extnextns         r   instance_urlzTaxId.instance_url   sb    ==!!####h){{Hx(	% %)9d;;r   Nc                     t        d      )NzUCan't retrieve a tax id without a customer ID. Use customer.retrieve_tax_id('tax_id'))NotImplementedError)clsr$   api_keyparamss       r   retrievezTaxId.retrieve   s    !c
 	
r   )N)r   r   r   __doc__r   r   r	   r   r   r    r   r   intr   boolrw   classmethodr}   _inner_class_typesr   r   r   r   r      s     08K'(+,7|  c] L z233 	G N H B	D DJ J <(( gdm$$	< 
 

 ),7r   r   N)stripe.api_resources.abstractr   stripe.api_resources.customerr   %stripe.api_resources.expandable_fieldr   stripe.stripe_objectr   typingr   r   typing_extensionsr	   urllib.parser
   r   r   r   r   <module>r      s/    6 2 A - % % #V8K  V8r   