[ [ 'dest' => '\Modules\Billing\Controller\ApiController:apiFileCreate', 'verb' => RouteVerb::PUT, 'csrf' => true, 'active' => true, 'permission' => [ 'module' => BackendController::NAME, 'type' => PermissionType::CREATE, 'state' => PermissionCategory::SALES_INVOICE, ], ], ], '^.*/bill/render(\?.*$|$)' => [ [ 'dest' => '\Modules\Billing\Controller\ApiBillController:apiMediaRender', 'verb' => RouteVerb::GET, 'csrf' => true, 'active' => true, 'permission' => [ 'module' => BackendController::NAME, 'type' => PermissionType::CREATE, 'state' => PermissionCategory::SALES_INVOICE, ], ], ], '^.*/bill/render/preview(\?.*$|$)' => [ [ 'dest' => '\Modules\Billing\Controller\ApiBillController:apiPreviewRender', 'verb' => RouteVerb::GET, 'csrf' => true, 'active' => true, 'permission' => [ 'module' => BackendController::NAME, 'type' => PermissionType::CREATE, 'state' => PermissionCategory::SALES_INVOICE, ], ], ], '^.*/bill/price(\?.*$|$)' => [ [ 'dest' => '\Modules\Billing\Controller\ApiPriceController:apiPriceCreate', 'verb' => RouteVerb::GET, 'csrf' => true, 'active' => true, 'permission' => [ 'module' => BackendController::NAME, 'type' => PermissionType::CREATE, 'state' => PermissionCategory::PRICE, ], ], ], '^.*/bill/parse(\?.*$|$)' => [ [ 'dest' => '\Modules\Billing\Controller\ApiPurchaseController:apiInvoiceParse', 'verb' => RouteVerb::SET, 'csrf' => true, 'active' => true, 'permission' => [ 'module' => BackendController::NAME, 'type' => PermissionType::MODIFY, 'state' => PermissionCategory::PURCHASE_INVOICE, ], ], ], '^.*/purchase/recognition/upload(\?.*$|$)' => [ [ 'dest' => '\Modules\Billing\Controller\ApiPurchaseController:apiPurchaseBillUpload', 'verb' => RouteVerb::SET, 'csrf' => true, 'active' => true, 'permission' => [ 'module' => BackendController::NAME, 'type' => PermissionType::CREATE, 'state' => PermissionCategory::PURCHASE_INVOICE, ], ], ], ];