{
        "type": "list",
        "dataSource": "/api/taxcore/submission-history/{org_id}",
        "pagination": true,
        "refreshInterval": 30000,
        "filters": [
            {
                "key": "status",
                "label": "Status",
                "type": "select",
                "options": [
                    {"value": "success", "label": "Success"},
                    {"value": "failed", "label": "Failed"},
                    {"value": "pending", "label": "Pending"},
                    {"value": "queued", "label": "Queued"}
                ]
            },
            {
                "key": "submission_type",
                "label": "Type",
                "type": "select",
                "options": [
                    {"value": "invoice", "label": "Invoice"},
                    {"value": "sales_receipt", "label": "Sales Receipt"}
                ]
            },
            {
                "key": "date_from",
                "label": "From Date",
                "type": "date"
            },
            {
                "key": "date_to",
                "label": "To Date",
                "type": "date"
            }
        ],
        "columns": [
            {
                "key": "submission_id",
                "label": "Submission ID",
                "type": "uuid",
                "copyable": true,
                "width": "250px"
            },
            {
                "key": "status",
                "label": "Status",
                "type": "badge",
                "badges": {
                    "success": {"color": "success", "label": "Success"},
                    "failed": {"color": "error", "label": "Failed"},
                    "pending": {"color": "warning", "label": "Pending"},
                    "queued": {"color": "info", "label": "Queued"}
                }
            },
            {
                "key": "reference_table",
                "label": "Type",
                "type": "text"
            },
            {
                "key": "reference_id",
                "label": "Reference ID",
                "type": "uuid",
                "copyable": true
            },
            {
                "key": "taxcore_invoice_number",
                "label": "TaxCore Invoice #",
                "type": "text",
                "copyable": true
            },
            {
                "key": "total_amount",
                "label": "Amount",
                "type": "currency"
            },
            {
                "key": "attempts",
                "label": "Attempts",
                "type": "number"
            },
            {
                "key": "created_at",
                "label": "Created",
                "type": "datetime"
            }
        ],
        "rowActions": [
            {
                "label": "View Details",
                "icon": "fa-eye",
                "action": "taxcore:view",
                "color": "primary"
            },
            {
                "label": "Retry",
                "icon": "fa-redo",
                "action": "taxcore:retry",
                "condition": "status == \"failed\"",
                "confirm": "Retry this submission?",
                "color": "warning"
            },
            {
                "label": "View PDF",
                "icon": "fa-file-pdf",
                "action": "taxcore:pdf",
                "condition": "status == \"success\"",
                "color": "success"
            },
            {
                "label": "Copy URL",
                "icon": "fa-link",
                "action": "taxcore:copy-url",
                "condition": "taxcore_url != null",
                "color": "info"
            }
        ],
        "bulkActions": [
            {
                "label": "Retry Selected",
                "icon": "fa-redo",
                "action": "taxcore:bulk-retry",
                "confirm": "Retry all selected submissions?",
                "color": "warning"
            },
            {
                "label": "Export CSV",
                "icon": "fa-download",
                "action": "export:csv",
                "color": "secondary"
            }
        ]
    }