$echo '{
< "documents": [
< {
< "url": "https://example.com/invoice.pdf",
< "filename": "invoice.pdf"
< }
< ],
< "fields": [
< {
< "name": "invoice_number",
< "description": "The unique invoice identifier",
< "type": "string"
< },
< {
< "name": "invoice_date",
< "description": "The invoice issue date",
< "type": "date"
< },
< {
< "name": "supplier_name",
< "description": "The legal name of the supplier",
< "type": "string"
< },
< {
< "name": "total_amount",
< "description": "The final amount including taxes",
< "type": "number"
< }
< ]
<}' |
<apify call obaskly/ai-data-extraction-api --silent --output-dataset