What does "At least one line item is mandatory" mean?
You get the error "At least one line item is mandatory" when you click on line items extraction but there are no line items to display.
You will not be allowed to export the document unless you add a line or switch back to Invoice total tab.
How to fix "At least one line item is mandatory" error?
There are two options how to fix "At least one line item is mandatory" error:
switch to Invoice Total tab
add Line items manually.