ETASCOM CRM V3 - Documentation API
    Preparing search index...

    Interface Supplier

    interface Supplier {
        id: string;
        code: string;
        name: string;
        type: "SUPPLIER" | "SUBCONTRACTOR" | "MANUFACTURER";
        phone?: string | null;
        phonePrefix?: string | null;
        phoneType?: string | null;
        email?: string | null;
        website?: string | null;
        language?: string | null;
        logo?: string | null;
        currencyId?: string | null;
        isActive: boolean;
        paymentTermsDays?: number | null;
        paymentMethod?: string | null;
        paymentTerms?: string | null;
        canOrder?: boolean;
        canBeDelivered?: boolean;
        canBeInvoiced?: boolean;
        canPay?: boolean;
        buyerId?: string | null;
        deliveryProgram?: boolean;
        incompleteDeliveryAllowed?: boolean;
        ourNumberAtSupplier?: string | null;
        backordersAllowed?: boolean;
        conformityCertificate?: boolean;
        supplierDeliveryTime?: number | null;
        qualityControl?: boolean;
        purchaseIncoterm?: string | null;
        invoiceShippingCosts?: string | null;
        freightForwarder?: string | null;
        noteOnPurchaseOrder?: string | null;
        noteOnReceptionNote?: string | null;
        notes?: string | null;
        internalNotes?: string | null;
        isClient?: boolean;
        isTransporter?: boolean;
        parentSupplierId?: string | null;
        rating?: number | null;
        qualityRating?: number | null;
        priceRating?: number | null;
        deliveryRating?: number | null;
        createdAt: string;
        updatedAt: string;
        currency?:
            | { id: string; code: string; name?: string; symbol: string }
            | null;
        buyer?: { id: string; name: string; email?: string } | null;
        parentSupplier?: { id: string; name: string; code: string } | null;
        childSuppliers?: {
            id: string;
            name: string;
            code: string;
            type: string;
            isActive: boolean;
        }[];
        addresses?: Address[];
        contacts?: Contact[];
        legalIdentifiers?: LegalIdentifier[];
        rawMaterials?: RawMaterial[];
        purchaseOrders?: PurchaseOrder[];
        supplierInvoices?: SupplierInvoice[];
        receptionNotes?: ReceptionNote[];
        stockMovements?: StockMovement[];
        files?: File[];
        _count?: {
            purchaseOrders?: number;
            rawMaterials?: number;
            supplierInvoices?: number;
            files?: number;
            childSuppliers?: number;
        };
    }
    Index

    Properties

    id: string
    code: string
    name: string
    type: "SUPPLIER" | "SUBCONTRACTOR" | "MANUFACTURER"
    phone?: string | null
    phonePrefix?: string | null
    phoneType?: string | null
    email?: string | null
    website?: string | null
    language?: string | null
    logo?: string | null
    currencyId?: string | null
    isActive: boolean
    paymentTermsDays?: number | null
    paymentMethod?: string | null
    paymentTerms?: string | null
    canOrder?: boolean
    canBeDelivered?: boolean
    canBeInvoiced?: boolean
    canPay?: boolean
    buyerId?: string | null
    deliveryProgram?: boolean
    incompleteDeliveryAllowed?: boolean
    ourNumberAtSupplier?: string | null
    backordersAllowed?: boolean
    conformityCertificate?: boolean
    supplierDeliveryTime?: number | null
    qualityControl?: boolean
    purchaseIncoterm?: string | null
    invoiceShippingCosts?: string | null
    freightForwarder?: string | null
    noteOnPurchaseOrder?: string | null
    noteOnReceptionNote?: string | null
    notes?: string | null
    internalNotes?: string | null
    isClient?: boolean
    isTransporter?: boolean
    parentSupplierId?: string | null
    rating?: number | null
    qualityRating?: number | null
    priceRating?: number | null
    deliveryRating?: number | null
    createdAt: string
    updatedAt: string
    currency?: { id: string; code: string; name?: string; symbol: string } | null
    buyer?: { id: string; name: string; email?: string } | null
    parentSupplier?: { id: string; name: string; code: string } | null
    childSuppliers?: {
        id: string;
        name: string;
        code: string;
        type: string;
        isActive: boolean;
    }[]
    addresses?: Address[]
    contacts?: Contact[]
    legalIdentifiers?: LegalIdentifier[]
    rawMaterials?: RawMaterial[]
    purchaseOrders?: PurchaseOrder[]
    supplierInvoices?: SupplierInvoice[]
    receptionNotes?: ReceptionNote[]
    stockMovements?: StockMovement[]
    files?: File[]
    _count?: {
        purchaseOrders?: number;
        rawMaterials?: number;
        supplierInvoices?: number;
        files?: number;
        childSuppliers?: number;
    }