from django.urls import path
from . import views

app_name = 'billing'

urlpatterns = [
    path('', views.invoice_list, name='invoice_list'),
    path('my-invoices/', views.my_invoices, name='my_invoices'),
    path('invoice/<str:invoice_number>/', views.invoice_detail, name='invoice_detail'),
    path('create/', views.create_invoice, name='create_invoice'),
    path('generate-recurring/', views.generate_recurring_invoices, name='generate_recurring'),
    path('customer/<str:customer_id>/invoices/', views.customer_invoices, name='customer_invoices'),
]