{
        "type": "list",
        "dataSource": "/api/taxcore/submission-history/{org_id}",
        "refreshInterval": 30000,
        "pagination": true,
        "pageSize": 50,
        "exportable": true,
        "filters": [
            {
                "key": "status",
                "label": "Status",
                "type": "select",
                "options": [
                    {"value": "success", "label": "Success"},
                    {"value": "failed", "label": "Failed"},
                    {"value": "pending", "label": "Pending"},
                    {"value": "retrying", "label": "Retrying"}
                ]
            },
            {
                "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",
                "sortable": true,
                "copyable": true
            },
            {
                "key": "status",
                "label": "Status",
                "type": "badge",
                "sortable": true,
                "badges": {
                    "success": {"class": "badge-success", "icon": "fa-check-circle"},
                    "failed": {"class": "badge-error", "icon": "fa-times-circle"},
                    "pending": {"class": "badge-warning", "icon": "fa-clock"},
                    "retrying": {"class": "badge-info", "icon": "fa-sync-alt"}
                }
            },
            {
                "key": "submission_type",
                "label": "Type",
                "type": "text",
                "sortable": true
            },
            {
                "key": "source_id",
                "label": "Source ID",
                "type": "uuid",
                "copyable": true
            },
            {
                "key": "taxcore_invoice_number",
                "label": "TaxCore Invoice #",
                "type": "text",
                "sortable": true,
                "copyable": true
            },
            {
                "key": "total_amount",
                "label": "Amount",
                "type": "currency",
                "sortable": true
            },
            {
                "key": "attempts",
                "label": "Attempts",
                "type": "number",
                "sortable": true
            },
            {
                "key": "created_at",
                "label": "Created",
                "type": "datetime",
                "sortable": true,
                "defaultSort": "desc"
            }
        ],
        "rowActions": [
            {
                "label": "View Details",
                "icon": "fa-eye",
                "action": "taxcore:view",
                "openModal": true
            },
            {
                "label": "Retry Submission",
                "icon": "fa-redo",
                "action": "taxcore:retry",
                "condition": "status == \"failed\" || status == \"retrying\"",
                "confirm": "Retry this submission?"
            },
            {
                "label": "View PDF",
                "icon": "fa-file-pdf",
                "action": "taxcore:pdf",
                "condition": "status == \"success\"",
                "target": "_blank"
            },
            {
                "label": "Copy TaxCore URL",
                "icon": "fa-link",
                "action": "taxcore:copy-url",
                "condition": "status == \"success\""
            }
        ],
        "bulkActions": [
            {
                "label": "Retry Selected",
                "icon": "fa-redo",
                "action": "taxcore:bulk-retry",
                "confirm": "Retry {count} selected submission(s)?"
            },
            {
                "label": "Export to CSV",
                "icon": "fa-file-csv",
                "action": "export:csv"
            }
        ]
    }