Specification of the Problem
-
Receive an invoice
-
Check it (PO #, qty...)
- If OK
- store the relevant data in a DB
- Else
- # bonus credits only
- add error diagnostic in document
- output the updated XML
- If OK
XML, the Perl Way