/issuer/issuers/{ruc}/payroll/receipts/{id}Editar Honorarios
Send request
Use the documented inputs to call this endpoint directly.
Parameters
Values are applied to the request and the example on the right.
Request body
application/jsonrequiredValues: "RUC" · "DNI" · "CE"
Values: "issued" · "received"
Values: "cash" · "credit"
Responses
Correcto.
{
"balanceGrossCents": 1.5,
"customerDocumentNumber": "string",
"customerDocumentType": "RUC",
"customerName": "string",
"direction": "issued",
"dueDate": "string",
"grossCents": 1.5,
"id": "",
"issueDate": "string",
"netCents": 1.5,
"notes": "string",
"number": "string",
"paidCents": 1.5,
"paidGrossCents": 1.5,
"paymentTerms": "cash",
"payments": [
{
"amountCents": 1.5,
"date": "string",
"grossCents": 1.5,
"id": "",
"reference": "string",
"suspensionNumber": "string",
"suspensionYear": "string",
"withholdingAgent": true,
"withholdingCents": 1.5
}
],
"professionalName": "string",
"professionalRuc": "string",
"registered": true,
"revision": 1.5,
"series": "string",
"service": "string",
"status": "draft",
"suspensionNumber": "string",
"suspensionYear": "string",
"withheldPaidCents": 1.5,
"withholdingAgent": true,
"withholdingCents": 1.5
}Values: "RUC" · "DNI" · "CE"
Values: "issued" · "received"
Values: "cash" · "credit"
Values: "draft" · "registered" · "void"
VALIDATION_ERROR: El cuerpo, los parámetros o una regla del comprobante no son válidos. fields indica el campo.
{
"error": {
"code": "string",
"fields": {},
"message": "string",
"requestId": "",
"retryable": true
}
}UNAUTHENTICATED: Falta la clave API o no es válida.
{
"error": {
"code": "string",
"fields": {},
"message": "string",
"requestId": "",
"retryable": true
}
}TRIAL_EXPIRED: La prueba gratuita venció.
{
"error": {
"code": "string",
"fields": {},
"message": "string",
"requestId": "",
"retryable": true
}
}WORKSPACE_SUSPENDED: El workspace está suspendido.
{
"error": {
"code": "string",
"fields": {},
"message": "string",
"requestId": "",
"retryable": true
}
}RATE_LIMITED: Se superó el límite de peticiones. Respeta el header Retry-After.
{
"error": {
"code": "string",
"fields": {},
"message": "string",
"requestId": "",
"retryable": true
}
}INTERNAL_ERROR: Error interno. Reintenta y comparte el requestId con soporte.
{
"error": {
"code": "string",
"fields": {},
"message": "string",
"requestId": "",
"retryable": true
}
}Powered by heyo
