[NEED_MIGRATION] Added grouping support of invoicing documents
Added support of purchase orders
Removed debug
InvoiceBaseGroupResource is no more fully dehydrated and has its own endpoint
Properly dehydrate polymorphic related_to field on DownPaymentInvoice/Invoice/CreditNote