Get a boleto batch
Reads one boleto batch of the X-Organization-Id organization: its outcome, its counts and every item, in ascending position. The outcome, the counts, closed, finished and each item’s overdue are derived from the items on every read, at the instant of the read. A batch that does not exist and a batch of another organization are both answered 404 PBP-0005, with the same body. A request refused earlier keeps its own status: 401 or 403 for authentication and authorization, 400 PBP-0001 when batch_id is not a UUID, and 400 PBP-0025 when X-Organization-Id is missing or not a canonical UUID.
Authorizations
JWT bearer token issued by the identity provider.
Headers
Organization the batch belongs to. Required: a request without it, or with a value that is not a canonical UUID, is refused with 400 PBP-0025. A batch of another organization is answered 404, exactly as one that does not exist.
Path Parameters
Batch identifier (UUID), the batchId the creation answered. A value that is not a UUID is refused with 400 PBP-0001.
"0192a3b4-c5d6-7e8f-9a0b-1c2d3e4f5a6b"
Response
The batch with its outcome, its counts and every item, derived at the instant of the read.
Batch identifier.
"0192a3b4-c5d6-7e8f-9a0b-1c2d3e4f5a6b"
Whether every item is SETTLED, CANCELED, INACTIVATED or FAILED: nothing else will happen to the batch, payment included. Always present. It moves back to false when a cancellation is refused and the item returns to CREATED. True implies finished.
When the batch was created, RFC 3339 in UTC.
"2026-10-14T19:34:00Z"
Whether no item is PENDING: the issuance of the batch is over. Always present. It never moves back to false; an overdue item keeps it false.
Every item, in ascending position. Never paginated: a batch holds at most 25 items.
Ledger of the batch and of each item.
"7c1e5b9a-3d2f-4a6b-8e0c-1f2a3b4c5d6e"
Collection account of the batch and of each item.
"3f9a2c1e-5b7d-4e8f-9a0b-1c2d3e4f5a6b"
Organization the batch was recorded with: always the organization of the X-Organization-Id header.
"0f9d6c2a-1b3e-4f5a-8c7d-6e5f4a3b2c1d"
Issuance outcome of the batch, derived from its items on every read. CREATED: some item is still PENDING. COMPLETED: no item is PENDING and none is FAILED. PARTIAL_FAILURE: no item is PENDING and some, not all, are FAILED; those carry errorCode and errorMessage. FAILED: every item is FAILED. Only issuance moves it: payment, cancellation and write-off do not, and it never moves back to CREATED.
CREATED, COMPLETED, PARTIAL_FAILURE, FAILED 
