Entidad · dms_filing_rules
dms_filing_rule
Campos
dms_filing_rule
rule
Readable sentence of the rule. Since DMS-Rechnungseingang generated from the structured conditions below; older free-text rules without conditions are shown as "not effective" — nothing ever evaluated them.
5–500 caracteres
documentTypeId
Condition: document type (dms_document_types._id). Empty = any type.
admite null
vendorPartyId
Condition: vendor of the incoming invoice (incomingInvoice.vendorPartyId or partyId).
admite null
senderDomain
Condition: mail domain the attachment came from (lowercase, without "@").
máx. 253 caracteresadmite null
targetFolderId
Action: DMS folder (dms_folders._id) the document is filed into.
admite null
priority
1 – 100Valor por defecto: 50
active
Valor por defecto: true
matchCount
Number of times this rule has been matched
≥ 0Valor por defecto: 0solo lectura
lastMatchedAt
solo lecturaadmite null
Ningún campo coincide con el filtro.
Endpoints estándar
Este recurso sigue el contrato CRUD genérico de la plataforma. Lea las convenciones sobre paginación, idempotencia, bloqueo optimista y auditoría. Los endpoints principales:
GET /api/v1/dms_filing_rules— Lista, paginada y filtrableGET /api/v1/dms_filing_rules/<id>— Una entidadPOST /api/v1/dms_filing_rules— CrearPATCH /api/v1/dms_filing_rules/<id>— Actualización parcialDELETE /api/v1/dms_filing_rules/<id>— Eliminación lógicaGET /api/v1/dms_filing_rules/<id>/timeline— Auditoría y actividades