Moloni developers espana logo

TotalValueLimits

Back


Custom JSON that defines the total value limits in the fiscal settings.

type TotalValueLimits = Record<ApiCode, TotalValueLimit>;
type TotalValueLimit = {
  value: number;
  withTaxes: boolean;
  level: 'error' | 'warn';
  companySetting?: string;
  companySettingValues?: (string | number | boolean)[];
}