eSocial messaging through an API

eSocial is the Brazilian government system that receives payroll and labor events. Your system hands the events over and moves on: the service validates them, groups them into batches, transmits them, checks the result and notifies your system of the outcome.

  • One API to send and to query, with a quick guide and a full reference.
  • Production and restricted production (testing), each with its own configuration.
  • Every event with its state and its history, kept for audit.
Simulate the cost

From your system to eSocial. And back.

The path of an event, from the moment your system hands it over to the answer of the government.

  1. 01

    Receives

    Your system sends the events through the API, with your own reference for each one.

  2. 02

    Validates

    The format is checked on arrival. What cannot go on is refused at once, with the reason.

  3. 03

    Batches

    Accepted events are grouped into batches, as eSocial requires.

  4. 04

    Transmits

    The batch is transmitted to the national eSocial environment.

  5. 05

    Checks the result

    The service queries the processing until eSocial has answered for each event.

  6. 06

    Notifies your system

    The outcome is available through the API and your system is notified when it arrives.

What the service delivers

The API for your system and the Client Portal for your people.

  • Send and query API

    Sending events and querying their state and outcome, with credentials and API keys generated by your company in the Portal.

  • Two environments

    Restricted production to test the integration and production for the real sendings, chosen on each sending.

  • Signing of the events

    Events arrive already signed by your system or are signed with your company's A1 digital certificate.

  • Outcome notices

    Your system is notified when the result of an event arrives, with no need to keep polling.

  • Follow-up in the Portal

    The list of sendings with the state of each event, filters, the history of states and the answer of eSocial.

  • Audit record

    The operations are kept: what was received, when it was transmitted and what eSocial answered.

  • Usage in sight

    The quantity used in the month is shown in the Portal before the invoice is issued.

  • Documentation

    A quick guide for the first sending and the API reference, inside the Portal.

Who it is for

For any company that needs to transmit events to eSocial without looking after the technical side of the transmission: keeping up with layouts, XML schemas and technical notes is on us. Events can be sent through the API or directly in the Client Portal.

  • Payroll, HR and people-management software companies that need to deliver eSocial inside their product.
  • Companies with operations in Brazil whose own payroll or people system generates the events.
  • Teams that transmit through a manual process today and want one recorded, queryable path.
  • Companies that would rather not follow every eSocial layout change to keep the transmission working.

What is ours. What is yours.

The service carries and records. The content of each event remains your company’s.

The service does

  • Receives the events, validates the format and groups them into batches.
  • Transmits to eSocial and queries the result of the processing.
  • Makes the outcome available and keeps the record of the operations.

Your company does

  • Prepares the events and answers for the information given to eSocial.
  • Looks after the legal deadlines and the labor, social-security and tax obligations.
  • Keeps the credentials safe and the digital certificate valid.

How it is contracted

  • It starts with a conversation

    Write to us or book a short conversation. Once the use is agreed, your company receives access to the Client Portal and accepts the terms of the service there, electronically; a copy of the accepted text goes to the e-mail of the person who accepted.

  • Charged by use

    After each month, the invoice matches the quantity of events used, at the price of the volume tier published in the Portal when the terms were accepted.

  • No surprise in the price

    A change in the price table is announced at least 30 days ahead, and a client who does not agree may end the service before it takes effect.

  • The certificate is your company’s

    When the service signs, the certificate and its password are stored encrypted, each use is recorded and your company can remove them at any time.

Frequently asked questions

Does the service prepare or correct the eSocial events?

No. The service receives finished events, validates the format, transmits them and returns the outcome. The content of the events, the deadlines and the obligations towards eSocial belong to your company.

Can we test before sending to production?

Yes. The service works with restricted production, the testing environment of eSocial, and with production. The environment is chosen on each sending.

Do we have to hand over our company’s digital certificate?

There are two ways, chosen when the service is contracted: your system sends the events already signed, or your company provides its A1 digital certificate so the service signs on its behalf, only the events your company itself sends.

How does our system learn the result of an event?

In two ways: by querying the state through the API, or by receiving a notice from the service when the answer of eSocial arrives. Your people follow the same result in the Client Portal.

How is it charged?

Monthly, by the quantity of events used, at the price of the volume tier published in the Client Portal. The usage of the month can be followed in the Portal before the invoice is issued.

Want to deliver eSocial without maintaining the transmission? Let’s talk.

We show you the API, the Portal and the terms of the service, and you decide with your technical team whether it fits your system.

See all solutions