2025-12-05 14:22:39 +01:00
|
|
|
"""
|
|
|
|
|
Billing Router
|
|
|
|
|
API endpoints for billing operations
|
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
from fastapi import APIRouter
|
2025-12-07 03:29:54 +01:00
|
|
|
from . import supplier_invoices
|
2025-12-05 14:22:39 +01:00
|
|
|
|
|
|
|
|
router = APIRouter()
|
|
|
|
|
|
2025-12-07 03:29:54 +01:00
|
|
|
# Include supplier invoices router
|
|
|
|
|
router.include_router(supplier_invoices.router, prefix="", tags=["Supplier Invoices"])
|
|
|
|
|
|
2025-12-05 14:22:39 +01:00
|
|
|
|
|
|
|
|
@router.get("/billing/invoices")
|
|
|
|
|
async def list_invoices():
|
|
|
|
|
"""List all invoices"""
|
|
|
|
|
return {"message": "Billing integration coming soon"}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@router.post("/billing/sync")
|
|
|
|
|
async def sync_to_economic():
|
|
|
|
|
"""Sync data to e-conomic"""
|
|
|
|
|
return {"message": "e-conomic sync coming soon"}
|