Yearly personal tax
Authentication
Path parameters
Response
Final tax result (to be paid or refunded)
Final tax result (to be paid or refunded)
Your customer’s income-tax situation, year by year, from the Spanish tax agency (AEAT).
One entry per fiscal year: declared income, deductions and the resulting liability, as filed. It is the reference for verified income when a payslip is not enough — the same document a lender or a landlord would ask for. Field by field in Taxes.
The filed declarations travel with it, as documents of the execution: the figures and the paper they came from, together.
Requires the yearly_individual_tax feature
Features are chosen when the execution starts, not here. An execution that did not ask for yearly_individual_tax answers 204, and the only way to get the data is to run another one.
Which years come back is set in that feature’s configuration and bounded by what the administration still publishes.
Server to server only. This call is authorised with your application secret: it belongs in your backend, never in a browser, a mobile app or anything your customer can read.
200 OK
One entry per fiscal year the source published: declared income, withholdings, the result, and the status of the declaration. Which years come back is decided by the feature settings and by what the administration keeps.
An empty list is an answer, not a gap: the feature ran and the source reported none.