Skip to main content
This walkthrough creates a registered letter (shipType=2) and tracks it.

1. Check your balance

Response
dif_account_balance is how much you still need to deposit for every pending order to be processed (total_val_pending_jobs - account_balance), floored at 0 — not the remaining balance. When your balance already covers the pending orders it comes back as 0.

2. Validate before paying (optional)

Send test=1 to validate the payload and PDF without creating the order or charging credits.
test accepts 1/true/yes/on for validation and 0/false/no/off for a real submission. Any other value is rejected with 400 — it is never treated as “not a test”. Sending test=2 used to create a real, billable order.
The sender block is all-or-nothing. Send all seven *_sender fields, or none of them. If any one is missing, the whole block is taken from your account profile — including the fields you did send, which are silently overwritten. If the profile is also incomplete you get a 400 naming the missing fields.

3. Create the order

Drop test=1 to actually submit. The data field returns the order’s visual id — store it.
Response

4. Track the order

The status field follows this lifecycle:
Once tracking is populated, you can follow the Correios tracking code, and download the submitted PDF, envelope front, return receipt (AR) or sender’s copy via /api/v2/download/{securityToken}/{job_id}/{type}.