pub async fn exists(
config: &Config,
_admin: Option<&str>,
amount: f64,
date: &str,
contact: Option<&str>,
format: Option<&str>,
) -> Result<(), YukiError>Expand description
Check if an invoice exists in the archive by amount and date (±7 days).
Searches within a month around the given date, then filters by amount (±0.01) and date proximity (±7 days). Returns matching documents or exit code 3 if none found.