Can you please verify that there is no PII in that sample document provided?
Can you also specify what you would expect the output to be like?
The table output starting with Table with 8 columns and 28 rows:
appears to be accurate.
Note: You may need to adjust the code shown in the samples to print or store it exactly as you want. There may also be some post-processing required to remove unwanted characters.
I'd also recommend referring to the Java code samples on this page for handling the processing response to see if the output from the processor is more in line with what you are expecting.
You can try doing some basic post processing to separate the Qty and Total fields by applying a regex or pattern matching to separate the two different data elements in that column.
You can also try using a specific version of Form Parser such as:
pretrained-form-parser-v1.0-2020-09-23
pretrained-form-parser-v2.0-2022-11-10
I'd also recommend trying out the Invoice Parser processor since this document type is similar to an invoice. This processor will give you named entities instead of a generic table layout.
You can also use Uptraining to add in custom fields for pretrained processors and improve accuracy by creating labeled training data.
You can watch the videos on this page to get more information about these features. https://cloud.google.com/document-ai/docs/videos