UNPKG

@accounter/server

Version:
8 lines (7 loc) 435 B
/** * Calculate confidence score based on business ID match * @param transactionBusinessId - Business ID from transaction (can be null) * @param documentBusinessId - Business ID from document (can be null) * @returns Confidence score: 1.0 (exact match), 0.5 (one or both null), 0.2 (mismatch) */ export declare function calculateBusinessConfidence(transactionBusinessId: string | null, documentBusinessId: string | null): number;