✓Reading the invoice
✓find_supplier → S-201 · Hadar Supplies Ltd.
input
{
"company_id": "515555123"
}
output
{
"found": true,
"supplier": {
"id": "S-201",
"name": "Hadar Supplies Ltd.",
"name_he": "הדר אספקה בע״מ",
"company_id": "515555123",
"terms": "שוטף + 30 (end of month + 30 days)"
}
}✓check_vat → VAT is 17%, should be 18%
input
{
"before_vat": 3569.49,
"vat": 606.81,
"total": 4176.3
}
output
{
"rate_expected": "18%",
"rate_found": "17%",
"expected_vat": 642.51,
"vat_ok": false,
"total_ok": true
}✓find_purchase_order → PO-3381 matches
input
{
"supplier_id": "S-201",
"amount_before_vat": 3569.49
}
output
{
"found": true,
"po": {
"id": "PO-3381",
"supplier_id": "S-201",
"amount_before_vat": 3569.49,
"status": "approved"
}
}✓Drafting the result
⏸Waiting for your approval
✓ 6 steps · scripted · approval pending