Submit the monthly LROE Capítulo 1.1 batch (ES, Bizkaia)
Aggregates the accepted TicketBAI submissions of the month and files them as one LROE Modelo-240 Capítulo 1.1 batch with BATUZ. Requires a TicketBAI Bizkaia credential with razón social, stored with POST /api/v1/gov-credentials (countryCode ‘ES’, systemKey ‘tbai-bizkaia’).
Authentication
AuthorizationBearer
API Key authentication. Use sk_live_* for production or sk_test_* for testing.
Request
This endpoint expects an object.
year
Fiscal year of the filing period.
month
Month of the filing period (1–12).
environment
BATUZ environment. Defaults to test.
Allowed values:
Response
The gateway accepted the batch (Correcto).
success
True when the gateway answered Correcto.
tipoRespuesta
Gateway verdict for the whole batch.
Allowed values:
altaCount
Number of invoice registrations (alta) in the batch.
anulacionCount
Number of cancellations (anulación) in the batch.
rawResponse
Raw gateway response.
httpStatus
HTTP status of the gateway call (0 when no call was needed).
identificativo
Gateway identifier of the filing.
numeroRegistro
Registration number assigned by the gateway.
errorCode
Gateway error code when the batch was rejected.
errorMessage
Gateway error text when the batch was rejected.
Errors
400
Bad Request Error
401
Unauthorized Error
409
Conflict Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error
501
Not Implemented Error
503
Service Unavailable Error
