📄 MIPYME Documents
Create a new document authorization
POST
Endpoint URL
https://api-billing.koywe.com/V1/document_authorizations
Requires authentication
Authentication
Send header Authorization: Bearer <token> (obtained from POST /auth) for protected endpoints.
Parameters
No parameters.
Request body — fields
| Field | Type | Required | Description |
|---|---|---|---|
document_type_id | integer | Always required | ID of the document type. |
document_authorization_quantity | integer | Optional | Quantity of the document authorization. |
Request body — JSON example
{
"document_type_id": 0,
"document_authorization_quantity": 0
}
Responses
New document authorization successfully created
Bad request - invalid input or validation error
Unauthorized - invalid token or missing authentication
Server error - unexpected error occurred