Files
vontor-cz/frontend/src/api/generated/public/models/patchedVATRate.ts

32 lines
835 B
TypeScript

/**
* Generated by orval v8.8.0 🍺
* Do not edit manually.
* OpenAPI spec version: 0.0.0
*/
/**
* VAT Rate serializer - admin fields only visible to admins
*/
export interface PatchedVATRate {
readonly id?: number;
/**
* E.g. 'German Standard', 'German Reduced', 'Czech Standard'
* @maxLength 100
*/
name?: string;
/**
* VAT rate as percentage (e.g. 19.00 for 19%)
* @pattern ^-?\d{0,2}(?:\.\d{0,4})?$
*/
rate?: string;
/** VAT rate as decimal (e.g., 0.19 for 19%) */
readonly rate_decimal?: string;
/** Optional description: 'Standard rate for most products', 'Books and food', etc. */
description?: string;
/** Whether this VAT rate is active and available for use */
is_active?: boolean;
/** Default rate for new products */
is_default?: boolean;
readonly created_at?: Date;
}