/** * Country-Specific Validation Rules * * Produces warnings (not blocking errors) for country-specific invoice requirements. * Invoices can still be sent, but developers get helpful feedback about * local compliance expectations. * * Each rule has a unique ID: {CC}-{NN} (e.g., BE-01, FR-02). * * GPR-1267 — these IDs are getpeppr-local advisory codes. They are NOT * Peppol/EN 16931 rule numbers, and none of them exists in the graved * rulebooks (`validator-rule-ids.test.ts` enforces the non-collision), so a * developer looking one up finds our docs, not a foreign rule. */ import type { InvoiceInput, ValidationError, ValidationWarning } from "../types/invoice.js"; export interface CountryValidationResult { errors: ValidationError[]; warnings: ValidationWarning[]; } /** * Validate country-specific rules for an invoice. * * Returns warnings for common compliance issues specific to the * recipient's country. These are advisory — the invoice can still be sent. * * @example * ```ts * const result = validateCountryRules(invoice); * for (const w of result.warnings) { * console.warn(`[${w.ruleId}] ${w.field}: ${w.message}`); * } * ``` */ export declare function validateCountryRules(input: InvoiceInput): CountryValidationResult; //# sourceMappingURL=country-rules.d.ts.map