created_by / modified_by ({ id, name } del usuario, o null si no hubo persona) y created_via / modified_via (panel, app, api, mcp, store, system, import; null en documentos anteriores a la autoría).curl --location 'https://app.mgpanel.co/api/invoices/507f1f77bcf86cd799439011' \
--header 'X-Account-Nick: {{ACCOUNT_NICK}}' \
--header 'Authorization: Bearer {{API_KEY}}' \
--header 'Content-Type: application/json'{
"success": true,
"url": "https://example.com/invoice/507f1f77bcf86cd799439011",
"invoice": {
"_id": "507f1f77bcf86cd799439011",
"code": "IVC-0001",
"type": "invoice",
"status": 10,
"total": 100,
"paid_amount": 0,
"remaining_amount": 100,
"client_id": "507f1f77bcf86cd799439012",
"created_by": {
"id": "507f1f77bcf86cd799439013",
"name": "Ana Pérez"
},
"created_via": "panel",
"modified_by": null,
"modified_via": null
}
}