{
"name": "Invoice Template",
"description": "Template for processing invoices",
"fields": [
{
"name": "Invoice Number",
"key": "invoice_number",
"data_type": "string",
"description": "The unique identifier for the invoice"
},
{
"name": "Invoice Date",
"key": "invoice_date",
"data_type": "date",
"description": "The date the invoice was issued"
},
{
"name": "Due Date",
"key": "due_date",
"data_type": "date",
"description": "The date the invoice payment is due"
},
{
"name": "Total Amount",
"key": "total_amount",
"data_type": "number",
"description": "The total amount due on the invoice"
}
],
"tables": [
{
"name": "Line Items",
"key": "line_items",
"description": "The list of products or services on the invoice",
"columns": [
{
"name": "Description",
"key": "description",
"data_type": "string",
"description": "The description of the item"
},
{
"name": "Quantity",
"key": "quantity",
"data_type": "number",
"description": "The quantity of the item"
},
{
"name": "Unit Price",
"key": "unit_price",
"data_type": "number",
"description": "The price per unit of the item"
},
{
"name": "Amount",
"key": "amount",
"data_type": "number",
"description": "The total amount for the line item"
}
]
}
]
}