{
"id": "invoice-extractor",
"name": "Invoice Extractor",
"description": "Extract structured data from invoices including vendor, line items, and totals",
"version": "1.2.0",
"versions": ["1.0.0", "1.1.0", "1.2.0"],
"createdAt": "2024-01-15T10:30:00Z",
"updatedAt": "2024-02-20T14:45:00Z",
"schema": {
"input": {
"type": "object",
"properties": {
"document": {
"type": "object",
"properties": {
"base64": { "type": "string" },
"filename": { "type": "string" },
"mimeType": { "type": "string" }
},
"required": ["base64"]
}
},
"required": ["document"]
},
"output": {
"type": "object",
"properties": {
"invoiceNumber": { "type": "string" },
"date": { "type": "string" },
"vendor": {
"type": "object",
"properties": {
"name": { "type": "string" },
"address": { "type": "string" }
}
},
"lineItems": {
"type": "array",
"items": {
"type": "object",
"properties": {
"description": { "type": "string" },
"quantity": { "type": "number" },
"unitPrice": { "type": "number" },
"total": { "type": "number" }
}
}
},
"subtotal": { "type": "number" },
"tax": { "type": "number" },
"total": { "type": "number" }
}
}
},
"config": {
"supportedFormats": ["application/pdf", "image/png", "image/jpeg"],
"maxFileSizeMB": 50,
"maxPages": 100,
"estimatedCreditsPerPage": 2
}
}