Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
Pre-alpha Breaking changes are expected. Verify Agencia Estatal de Administración Tributaria (AEAT) deadlines before filing. Updates Latest download Report an issue
CADRUMO docs
Getting started CLI reference How it works API
EN
  • English
  • Español
  • Català
  • Magyar
Cadrumo documentation - local Spanish tax preparation
  • Getting started
  • Get Cadrumo
  • Install Cadrumo
  • Quickstart
  • Connect an agent (MCP)
  • First quarterly filing
  • The income-tax year
  • The IVA year

Your profile

  • Set up a profile
  • Authenticate with AEAT
  • Maintain census facts
  • Which modelos apply to you
  • Protect data access

Your calendar

  • Filing calendar
  • AEAT notifications
  • Filing readiness

Your ledger

  • Work with transactions
  • Classify transactions
  • Classify with an LLM
  • Attach invoices and receipts
  • Manage business invoices
  • Correct mistakes
  • IVA prorrata deductions

Your filings

  • The filing workflow
  • Modelo 036 (censo)
  • Modelo 100 (Renta)
  • Modelo 130 (IRPF instalment)
  • Modelo 303 (IVA)
  • Modelo 349 (intra-community)
  • Modelo 390 (IVA summary)
  • Calculation inputs
  • Google Sheets review
  • Verify a filing
  • File at AEAT
  • Reconcile a filing

Help

  • Troubleshooting
  • Publish runtime authority
  • Disclaimer

Reference

  • CLI reference
  • Cadrumo reference
  • Glossary
  • Casilla reference
  • Legal reference

How it works

  • Overview

Project

  • Updates and downloads
  • Architecture
  • Authoring guide
  • API
    • cadrumo package
      • cadrumo.adapters package
      • cadrumo.application package
      • cadrumo.core package
      • cadrumo.domain package
        • cadrumo.domain.attachments package
        • cadrumo.domain.auth package
        • cadrumo.domain.bienes_inversion package
        • cadrumo.domain.buckets package
        • cadrumo.domain.calculations package
        • cadrumo.domain.categories package
        • cadrumo.domain.censo package
        • cadrumo.domain.contribuyente package
        • cadrumo.domain.currency package
        • cadrumo.domain.deadlines package
        • cadrumo.domain.evidence_consent package
          • cadrumo.domain.evidence_consent.record module
        • cadrumo.domain.filing package
        • cadrumo.domain.invoices package
        • cadrumo.domain.iva package
        • cadrumo.domain.iva_compensation package
        • cadrumo.domain.justificante package
        • cadrumo.domain.modelos package
        • cadrumo.domain.notifications package
        • cadrumo.domain.portals package
        • cadrumo.domain.prorrata_register package
        • cadrumo.domain.renta package
        • cadrumo.domain.retention package
        • cadrumo.domain.submission package
        • cadrumo.domain.transactions package
        • cadrumo.domain.usage_ratios package
        • cadrumo.domain.user_profile package
        • cadrumo.domain.errors module
        • cadrumo.domain.filing_evidence module
        • cadrumo.domain.identifiers module
        • cadrumo.domain.period module
      • cadrumo.entrypoints package
Back to top
View this page
Edit this page
Home/Python API overview/cadrumo package/cadrumo.domain package/cadrumo.domain.evidence_consent package

cadrumo.domain.evidence_consent package¶

Inert namespace for the off-host evidence-consent audit record.

This package owns the RECORD SHAPE of one honoured consent decision – EvidenceConsentLedgerEntry – and the natural key it is stored under, evidence_consent_ledger_entry_object_key(). It owns nothing else: the encrypted append-and-read store is adapters.persistence.llm.consent_ledger.EvidenceConsentLedger, the per-invocation consent carrier is llm.EvidenceConsentToken, and the gate whose honoured decisions produce these rows is llm.cloud_evidence_read_permitted().

Splitting the record from its store is what lets the profile custody carry recover a decrypted row’s natural key while staying inside the application layer: the key grammar is a pure function of the record, so no consumer needs the outbound adapter to derive it.

The store is deliberately not pruned. Its sibling LLM stores (cache, usage, run-telemetry) are swept on retention because they are diagnostic and regenerable; this one is neither, because a consent withdrawal reads it to enumerate which artefacts depend on a cloud read, and an entry aged out of existence would make that withdrawal silently incomplete.

Consumers import the record and natural-key helper from their defining module; the package initializer exports no symbols.

Submodules¶

  • cadrumo.domain.evidence_consent.record module
    • EvidenceConsentLedgerEntry
      • EvidenceConsentLedgerEntry.entry_id
      • EvidenceConsentLedgerEntry.profile_bucket_id
      • EvidenceConsentLedgerEntry.evidence_content_address
      • EvidenceConsentLedgerEntry.provider
      • EvidenceConsentLedgerEntry.model
      • EvidenceConsentLedgerEntry.surface
      • EvidenceConsentLedgerEntry.recorded_at
    • evidence_consent_ledger_entry_object_key()

Project notices

Cadrumo is pre-alpha, local-first software. It is not tax advice, is not affiliated with the Agencia Estatal de Administración Tributaria (AEAT), and never replaces official AEAT tools or advice from a qualified professional.

Stay current

  • Critical updates
  • Latest download
  • Release notes

Get help

  • Report an issue
  • CLI reference
  • How it works

Trust and responsibility

  • Disclaimer
  • Events and deadlines
  • Repository
Next
cadrumo.domain.evidence_consent.record module
Previous
cadrumo.domain.deadlines.setup_answer_projection module
Copyright © 2026, the Cadrumo authors
Made with Sphinx and @pradyunsg's Furo
On this page
  • cadrumo.domain.evidence_consent package
    • Submodules