Compliance Text Search
What does this script do?
Trigger
Full Script
# Search for "REVERSE CHARGE" in the organization's document archive
rc_docs = fulltext_search(
"REVERSE CHARGE",
search_type="match_phrase",
doc_type="INVOICE",
size=5
)
if rc_docs:
set_field_value(document_data, "tax_code", "RC")Variant: Fuzzy Search (OCR Error Tolerant)
Step-by-Step Explanation
Functions Used
Last updated
Was this helpful?