Use the Schema Builder to define your extraction fields:
{ "fields": [ { "name": "invoice_number", "type": "string", "description": "Invoice number usually found in top right" }, { "name": "total_amount", "type": "number", "description": "Total amount including taxes" } ]}