purchase_invoice_fiscal_period_filed
The quarter of the issue date of the expense is already filed in modelo 130, so changing its fiscal data (supplier, number, issue date, lines, deductible percentage, operation class, reverse charge, exclusion from the 347 or tax period), cancelling it or moving it back to draft would move a filed self-assessment.
| Code | Type | HTTP | Category |
|---|---|---|---|
purchase_invoice_fiscal_period_filed | invalid_request_error | 422 | Expenses |
Cause
The quarter of the issue date of the expense is already filed in modelo 130, so changing its fiscal data (supplier, number, issue date, lines, deductible percentage, operation class, reverse charge, exclusion from the 347 or tax period), cancelling it or moving it back to draft would move a filed self-assessment.
What to do
Reopen the filing of that quarter with POST /v1/companies/{company}/tax-reports/130/filing/reopen and repeat the operation, or regularise the change in a supplementary self-assessment. Category, notes, due date, payments and the attachment can be edited without reopening.