Compatibility routes — documents (4/6)
These routes forward to existing application handlers. They are listed for compatibility and troubleshooting, not as a promise of uniform M2M authentication, scopes or response schemas. The forwarded handler can require an interactive session, tenant permissions, a licensed module or a provider configuration. Use the explicit public M2M contract where available. Inspect the result body and the resulting record: some legacy adapters can return metadata with HTTP 200 after a forwarding failure.
Authentication and permissions · Requests, results and recovery
/api/v1/documents/invoices/{id}
Exported methods: GET, PATCH, DELETE
Forwarded handler methods: GET, PATCH, DELETE
Additional permissions: delete:invoices, edit:invoices, view:invoices
/api/v1/documents/invoices/{id}/custom-pdf
Exported methods: POST, DELETE
Forwarded handler methods: POST, DELETE
Additional permissions: edit:invoices
/api/v1/documents/invoices/{id}/duplicate
Exported methods: POST
Forwarded handler methods: POST
Additional permissions: create:invoices
/api/v1/documents/invoices/{id}/einvoice
Exported methods: GET
Forwarded handler methods: GET
Additional permissions: view:invoices
Query parameters: format
/api/v1/documents/invoices/{id}/fatturaPA
Exported methods: GET
Forwarded handler methods: GET
Additional permissions: view:invoices
/api/v1/documents/invoices/{id}/payments
Exported methods: GET, POST
Forwarded handler methods: GET, POST
Additional permissions: manage:invoice_payments, view:invoices
/api/v1/documents/invoices/{id}/payments/{paymentId}
Exported methods: DELETE
Forwarded handler methods: DELETE
Additional permissions: manage:invoice_payments
/api/v1/documents/invoices/{id}/peppol/send
Exported methods: POST
Forwarded handler methods: POST
Additional permissions: send:invoices
/api/v1/documents/invoices/{id}/reminders
Exported methods: POST
Forwarded handler methods: POST
Additional permissions: edit:invoices
/api/v1/documents/invoices/{id}/status
Exported methods: PATCH
Forwarded handler methods: PATCH
Additional permissions: edit:invoices
/api/v1/documents/invoices/{id}/validate-einvoice
Exported methods: POST
Forwarded handler methods: POST
/api/v1/documents/invoices/{id}/versions
Exported methods: GET, POST
Forwarded handler methods: GET
Query parameters: limit, page
/api/v1/documents/invoices/{id}/versions/{versionId}
Exported methods: GET, POST
Forwarded handler methods: GET
/api/v1/documents/invoices/from-channel
Exported methods: GET, POST
Forwarded handler methods: GET, POST
Additional permissions: view:invoices
Query parameters: realm
/api/v1/documents/invoices/preview
Exported methods: POST
Forwarded handler methods: POST
Additional permissions: view:invoices
/api/v1/documents/invoices/stats
Exported methods: GET
Forwarded handler methods: GET
Additional permissions: view:invoices
/api/v1/documents/orders
Exported methods: GET, POST
Forwarded handler methods: GET, POST
Additional permissions: create:orders, view:orders
Query parameters: customerId, limit, page, search, sortBy, sortOrder, status
/api/v1/documents/orders/{id}
Exported methods: GET, PATCH, DELETE
Forwarded handler methods: GET, PATCH, DELETE
Additional permissions: delete:orders, edit:orders, view:orders