I’m using UiPath Document Understanding to process Chinese invoices, specifically extracting the “Total Amount” field (e.g., ¥133.99). My requirement is:
Round the amount (e.g., ¥133.99 → ¥134) based on business rules.
Validate the rounded value in Action Center (Human-in-the-Loop).
Persist the rounding rule for future invoices if the operator confirms (e.g., always round up).
I don’t believe we have any such predefined rule, but you can always add all the required rules like rounding up etc in post processing stage before sending it to action center.
I am not quite sure what activity can do it. I think I should do something before "create document validation action " or “wait for document validation action and resume”.
could you screenshot for me? or how can I do? thank you very much.
In 55_ExtractionBusinessRuleValidation.xaml you can create new post processing xaml and invoke it from here or you can customize the existing InvoicePostProcessing.xaml as per your requirement
You can reference all the predefined rules in InvoicePostProcessing.xaml, if that’s confusing for you then you can simply use below syntax to access/update the extracted field from ExtractionResult
In the post processing xaml you will also need to update the out_AutoExtractionSuccess flag it its True action center task will be created otherwise skipped
your steps are very helpful to me. I understand you will add all of the business rule in the “extraction rules check”.
such as checking the extraction data format, type and construction. we can also chect the document type ID which is correct.
if any extraction data does not match the business rule, we can throw the exception ro step to the validate & train extractors process.
I just double check whether we cannot do any business rule setting in the action center?
I noticed a numeric variable in Action Center was recognized as '$133.99′ in Document Understanding, but the final value was ′ 133.99 ′ . Is stripping the ′$ ’ a default action? Can we apply similar rules (e.g., rounding/truncation) in Action Center?