suppliers
In short
Suppliers of companies managed on Pennylane.
A supplier represents a supplier of a company managed on Pennylane. Suppliers are all legal entities.
💡 In case the same legal entity is a supplier of multiple companies managed on Pennylane, they will be represented by multiple records that share similar metadata.
Filter key(s)
company_id
Sorting key
ClickHouse skips blocks only when the filter starts with this key, in this order. When the first column is `company_id`, put `company_id` in every query. Read a fleet one company at a time, or in batches of `company_id`. Do not run one query with no company filter. List only the columns you need. `SELECT *` reads columns you will not use.
company_id, id
Available columns
id
Int64
Unique ID identifying the supplier on Pennylane.
name
String
Supplier's display name on Pennylane. This name may differ from the legal registration name.
company_id
Int64
Unique ID of the company on Pennylane, referring to companies.id.
company_name
String
Name of the company on Pennylane, referring to companies.name.
vat_rate
Nullable(String)
VAT rate applied by the supplier. This value acts as an automation rule and is used by the Pennylane OCR.
Examples: "FR_200", "FR_100", "extracom", "exempt"
plan_item_number
Nullable(String)
401 accounting plan item number associated with the supplier.
Examples: "40100001", "401EDF"
pnl_plan_item_number
Nullable(String)
Profit & Loss accounting plan item number, i.e. a class 6 account.
Examples: "6022", "6752"
postal_code
Nullable(String)
Postal code of the supplier. This value is sourced from an internal legal entity listing, when available.
country_alpha2
Nullable(String)
The country code associated with the supplier addresss. This value is sourced from an internal legal entity listing, when available.
Examples: "FR", "IE", "GB"
city
Nullable(String)
City of the supplier. This value is sourced from an internal legal entity listing, when available.
registration_number
Nullable(String)
Supplier's official registration number, for example SIREN in France.
vat_number
Nullable(String)
VAT number of the supplier, when applicable.
activity_code
Nullable(String)
Activity sector code as defined by INSEE, when available. This French nomenclature of economic activities, abbreviated NAF, is meant to simplify the organization of economic and social information.
Examples: "68.20B", "45.11Z", "81.10Z"
legal_name
Nullable(String)
Legal name of the supplier. This name may differ from the supplier's display name.
registration_country_alpha2
Nullable(String)
Some legal entities may have a postal address in France (country_alpha2 = 'FR'), and a registration address in Ireland (reg_country_alpha2 = 'IE').
This column contains the registration country code, that together with the registration number, uniquely identifies suppliers.
Examples: "FR", "IE", "GB"
iban_updated_at
Nullable(DateTime64(6, 'UTC'))
Datetime of the last IBAN update
iban_updated_by
Nullable(String)
Last user to modify the IBAN
plan_item_id
Nullable(Int64)
Identifier of the bookkeeping account.
plan_item_label
Nullable(String)
Label of the bookkeeping account.
updated_at
Nullable(DateTime64(6, 'UTC'))
Date and time when the supplier was last updated in Pennylane.