---
title: "e-conomic Suppliers"
description: "The supplier master with open balance, payment terms and VAT zone."
url: https://www.gatlas.ai/docs/datasets/catalog/economic/suppliers
markdown_url: https://www.gatlas.ai/docs/datasets/catalog/economic/suppliers.md
---

# e-conomic Suppliers

The supplier master with open balance, payment terms and VAT zone.

Template id: economic/suppliers. Added for a company when it connects e-conomic. The dataset is named "{Company} Suppliers".

## Questions it answers
- Who are the suppliers, and what is owed to each?

## Columns
- supplier_number: e-conomic supplier number.
- name: Supplier name.
- email: Email.
- country: Country.
- currency: The supplier's default currency.
- supplier_group: e-conomic supplier group reference as JSON.
- payment_terms: e-conomic payment terms reference as JSON.
- vat_zone: e-conomic VAT zone reference as JSON.
- corporate_id: Company registration number.
- vat_number: VAT number.
- balance: Open balance as e-conomic reports it.
- connection_label: The e-conomic agreement the row comes from.
- data_as_of: When this row was last synced.

## AI context

__ENTITY__'s suppliers from e-conomic, one row per supplier and agreement (connection_label).
balance is the open balance owed as e-conomic reports it. supplier_group, payment_terms and vat_zone are e-conomic reference objects as JSON; read a number with, for example, payment_terms::text::jsonb ->> 'paymentTermsNumber'.
Supplier invoices and payments are posted entries in the Ledger dataset (entry_type supplierInvoice and supplierPayment).

## SQL

__SCHEMA__ stands for the company's schema (schema_name in list_companies), and __ENTITY__ for its name.

```sql
SELECT
  s."supplierNumber" AS supplier_number,
  s."name",
  s."email",
  s."country",
  s."currency",
  s."supplierGroup" AS supplier_group,
  s."paymentTerms" AS payment_terms,
  s."vatZone" AS vat_zone,
  s."corporateIdentificationNumber" AS corporate_id,
  s."vatNumber" AS vat_number,
  s."balance" AS balance,
  s."_gatlas_connection_label" AS connection_label,
  s."_gatlas_synced_at" AS data_as_of
FROM __SCHEMA__.economic_suppliers s
ORDER BY s."supplierNumber"
```

Link: https://www.gatlas.ai/docs/datasets/catalog/economic/suppliers.md
