id
id: string
code
code: string
name
name: string
type
type: "SUPPLIER" | "SUBCONTRACTOR" | "MANUFACTURER"
Optionalphone
phone?: string | null
OptionalphonePrefix
phonePrefix?: string | null
OptionalphoneType
phoneType?: string | null
Optionalemail
email?: string | null
Optionalwebsite
website?: string | null
Optionallanguage
language?: string | null
Optionallogo
logo?: string | null
OptionalcurrencyId
currencyId?: string | null
isActive
isActive: boolean
OptionalpaymentTermsDays
paymentTermsDays?: number | null
OptionalpaymentMethod
paymentMethod?: string | null
OptionalpaymentTerms
paymentTerms?: string | null
OptionalcanOrder
canOrder?: boolean
OptionalcanBeDelivered
canBeDelivered?: boolean
OptionalcanBeInvoiced
canBeInvoiced?: boolean
OptionalcanPay
canPay?: boolean
OptionalbuyerId
buyerId?: string | null
OptionaldeliveryProgram
deliveryProgram?: boolean
OptionalincompleteDeliveryAllowed
incompleteDeliveryAllowed?: boolean
OptionalourNumberAtSupplier
ourNumberAtSupplier?: string | null
OptionalbackordersAllowed
backordersAllowed?: boolean
conformityCertificate?: boolean
OptionalsupplierDeliveryTime
supplierDeliveryTime?: number | null
OptionalqualityControl
qualityControl?: boolean
OptionalpurchaseIncoterm
purchaseIncoterm?: string | null
OptionalinvoiceShippingCosts
invoiceShippingCosts?: string | null
OptionalfreightForwarder
freightForwarder?: string | null
OptionalnoteOnPurchaseOrder
noteOnPurchaseOrder?: string | null
OptionalnoteOnReceptionNote
noteOnReceptionNote?: string | null
Optionalnotes
notes?: string | null
OptionalinternalNotes
internalNotes?: string | null
OptionalisClient
isClient?: boolean
OptionalisTransporter
isTransporter?: boolean
OptionalparentSupplierId
parentSupplierId?: string | null
Optionalrating
rating?: number | null
OptionalqualityRating
qualityRating?: number | null
OptionalpriceRating
priceRating?: number | null
OptionaldeliveryRating
deliveryRating?: number | null
createdAt
createdAt: string
updatedAt
updatedAt: string
Optionalcurrency
currency?: { id: string; code: string; name?: string; symbol: string } | null
Optionalbuyer
buyer?: { id: string; name: string; email?: string } | null
OptionalparentSupplier
parentSupplier?: { id: string; name: string; code: string } | null
OptionalchildSuppliers
childSuppliers?: {
id: string;
name: string;
code: string;
type: string;
isActive: boolean;
}[]
Optionaladdresses
OptionallegalIdentifiers
OptionalrawMaterials
OptionalpurchaseOrders
OptionalsupplierInvoices
OptionalreceptionNotes
OptionalstockMovements
Optionalfiles
Optional_count
_count?: {
purchaseOrders?: number;
rawMaterials?: number;
supplierInvoices?: number;
files?: number;
childSuppliers?: number;
}