square_api_client/models/
tax_ids.rs

1//! Model struct for TaxIds type
2
3use serde::{Deserialize, Serialize};
4
5///  Identifiers for the location used by various governments for tax purposes.
6#[derive(Clone, Debug, Deserialize, Eq, PartialEq, Serialize)]
7pub struct TaxIds {
8    /// The NIF (Numero de Identificacion Fiscal) number is a nine-character tax identifier used in
9    /// Spain. If it is present, it has been validated. For example, `73628495A`.
10    pub es_nif: Option<String>,
11    /// The EU VAT number for this location. For example, `IE3426675K`. If the EU VAT number is
12    /// present, it is well-formed and has been validated with VIES, the VAT Information Exchange
13    /// System.
14    pub eu_vat: Option<String>,
15    /// The French government uses the NAF (Nomenclature des Activités Françaises) to display and
16    /// track economic statistical data. This is also called the APE (Activite Principale de
17    /// l’Entreprise) code. For example, `6910Z`.
18    pub fr_naf: Option<String>,
19    /// The SIRET (Système d'Identification du Répertoire des Entreprises et de leurs
20    /// Etablissements) number is a 14-digit code issued by the French INSEE. For example,
21    /// `39922799000021`.
22    pub fr_siret: Option<String>,
23}