app.org_legal_entities_masked
Vista
Live org legal entities with the Restricted tax identifier decrypted for holders of data.restricted.read.tax and masked (NULL with is_masked true) for everyone else (Section 8.3). Rows are limited to orgs where the caller reads settings.
| Columna | Tipo | Admite nulos | Descripción |
|---|---|---|---|
| id | uuid | Sí | Legal entity. |
| org_id | uuid | Sí | Owning org. |
| legal_name | text | Sí | Registered legal name. |
| country_code | character(2) | Sí | Country of registration. |
| tax_identifier | text | Sí | Tax identifier in plain text for holders of data.restricted.read.tax; NULL when masked or not recorded. |
| tax_identifier_last4 | text | Sí | Last four characters of the tax identifier. |
| is_masked | boolean | Sí | True when a tax identifier is recorded but the caller may not read it. |
| fiscal_year_start_month | smallint | Sí | Month the fiscal year starts. |
| base_currency | character(3) | Sí | Currency the entity keeps its books in. |
| is_primary | boolean | Sí | True for the org's primary entity. |
| created_at | timestamp with time zone | Sí | When the entity was added. |
| created_by | uuid | Sí | Person who added it. |
| updated_at | timestamp with time zone | Sí | When it last changed. |
| updated_by | uuid | Sí | Person who last changed it. |