/** * Generated by orval v8.5.3 🍺 * Do not edit manually. * Space Invoices API * REST API for invoice management, customer management, and accounting operations. Features include cursor-based pagination for efficient data navigation, flexible JSON querying with MongoDB-style operators, full-text search across multiple fields, and comprehensive metadata support for custom tracking. * OpenAPI spec version: 1.0.0 */ /** * Tax rules engine settings. Controls automatic tax behaviors based on entity location and transaction characteristics (VIES validation, reverse charge, export tax removal). Defaults are set automatically based on entity country. Set to null for non-EU entities. * @nullable */ export type TaxRules = { /** * EU tax rules settings. Only applicable for entities based in EU countries. Set to null or omit for non-EU entities. * @nullable */ eu?: { /** Validate EU VAT numbers against the VIES API. When enabled, customer VAT numbers are checked for validity before creating invoices. Validation results are cached on customer records. If VIES is unavailable, invoice creation continues with a warning. */ vies_validate_vat?: boolean; /** Automatically apply 0% tax (reverse charge) for intra-EU B2B transactions. When enabled, taxes are removed and replaced with reverse charge note for valid VIES-validated cross-border B2B sales. Requires vies_validate_vat to be enabled for VAT validation. */ auto_reverse_charge?: boolean; /** Automatically remove all taxes for exports to non-EU countries. When enabled, invoices to customers outside the EU will have all tax lines removed. */ auto_remove_tax_export?: boolean; /** Require gross prices when reverse charge is applied. When enabled, creates a validation error if net prices are used with reverse charge transactions, since removing tax would change the invoice total. */ require_gross_prices?: boolean; } | null; } | null; //# sourceMappingURL=taxRules.d.ts.map