we need InvoiceService.php like app/Services/DocumentService.php to work with DocumentService to create invoice
It must be sure that data between invoice and document is sync (for add edit and delete)
all invoice has document but all document hasn't invoice
I think document need a morph relation to invoice (may be to check or ...)
we need InvoiceService.php like app/Services/DocumentService.php to work with DocumentService to create invoice It must be sure that data between invoice and document is sync (for add edit and delete) all invoice has document but all document hasn't invoice