1. Create the company
Send a fresh
Idempotency-Key per company. If the call times out, send it
again with the same key and body: you get the same company back, with
Idempotent-Replayed: true, never a second one.
The answer
company.id beside your own record. Every later call uses it.
The company is created even when a fiscal field is refused: errors names
each refused field and why, and every other field is saved.
Refusals
Nothing is created when the call answers:2. Complete the fiscal profile
missing lists what Melso needs before it can do the company’s taxes. Send the
fields with Update the fiscal profile,
your partner key and the company’s id in the path. Only the fields you send
change.
missing. The company is ready when missing
is empty, and the company.ready event tells you so.
A self-employed person with
registration_status: pendiente has no tax
calendar until it becomes alta, even with an empty missing.The fiscal profile
These fields shape every return Melso prepares. The reference lists their formats.3. Add the certificate
Melso files with a digital certificate of the business. See Digital certificate.Next
- Send the books as they happen.
- Approvals: how the company approves a return in your product.