Skip to content

Instantly share code, notes, and snippets.

View hasechris's full-sized avatar

Christian Hase hasechris

View GitHub Profile
@hasechris
hasechris / example.yml
Created February 2, 2025 18:44
ruleset file for Alman Document scanning
---
set_title:
match: True
metadata_postprocessing:
title: "{{created_year}}-{{created_month}}-{{created_day}}_{{document_type}}_{{correspondent|replace(' ', '_')}}"
...
---
custom_field_bezahlt_pos_terminal_form1:
match: "{{ document_type == 'Einzelrechnung' and 'True' if 'Terminal-ID' in content and 'True' if 'Pos-Info' in content and 'True' if 'Genehmigungs-Nr.' in content }}"