from django.urls import path
from . import views

app_name = "billing"

urlpatterns = [
    path("invoices/", views.invoices_list, name="invoices_list"),
    path("invoices/<int:pk>/", views.invoice_detail, name="invoice_detail"),
    path("invoices/<int:pk>/set-status/", views.invoice_set_status, name="invoice_set_status"),
    path("invoices/<int:pk>/add-payment/", views.invoice_add_payment, name="invoice_add_payment"),
    path("payouts/", views.payouts_list, name="payouts_list"),
    path("payouts/export/", views.payouts_export_csv, name="payouts_export_csv"),
]
