This walk-through uses a test key, issued when your partner account is
enabled. Test companies behave like real ones, but nothing reaches an
administration. See Availability.
1
Create the company
id it returns as COMPANY_ID. An empty missing means the profile
is complete.2
Send the company's records
Record a sales invoice the company issued in your product, and a purchase:The second call reads the invoice and records it as an expense, with its AEAT
category and
review codes to check.3
Read the tax calendar
deadline, its direct_debit_deadline, and melso
calculates when Melso calculates it. Once the quarter ends, filing_id
points to the calculated return.4
Read the return
draft 303 lists its boxes, its amount and what to review. Its version
rises whenever new records change it. You also receive tax_return.calculated.5
Get the owner's approval
approval_url to the owner. When they authorize the exact version, you
receive tax_return.approved; when Melso’s professionals file it, you receive
tax_return.filed with the AEAT’s reference and receipt.Next
Approvals and filing
Collect approvals in your own product.
Webhooks
React to every state change.