When to edit documents
The most common reason to edit a document is to fix errors or mistakes in the data before submitting it to a tax authority. You might discover these issues during review, or they may come to light after a tax authority rejects the document.Understanding document validation
GOBL validates documents against a strict schema, which means you will rarely encounter validation errors during editing. When validation issues do occur, they typically indicate:- Missing required fields
- Invalid data formats or values
- Schema mismatches
Editing rejected documents
Most editing scenarios occur when a tax authority rejects a document. Common rejection reasons include:- Incorrect tax identification numbers
- Dates outside the allowed range
- Missing or incorrect mandatory fields
- Calculation errors
- Formatting issues specific to the tax regime
Removing signatures and stamps
To edit a signed or stamped document, you need to remove its signatures first. The console provides a straightforward way to do this:- Open the document you want to edit
- Click the Edit button in the top-right corner
- If the document has signatures or stamps, you’ll see an option to remove them

Removing signatures does not delete the original signed version. The system preserves the complete document history, including all signed and stamped versions.
How editing works
When you remove signatures to edit a document, the system creates a new unsigned version behind the scenes. This process:- Preserves the original signed or stamped document in the document’s history
- Creates a new editable version that you can modify
- Maintains a complete audit trail of all document versions
After editing
Once you’ve made your corrections:- Review your changes: Use the editor’s validation features to ensure the document is correct
- Build the document: Click Build to validate the document against the GOBL schema and enrich it with calculated data
- Save the document: Save your changes to store the updated version
- Resubmit: Send the corrected document through your desired workflow to resubmit it to the tax authority
Related resources
| API Reference | Update an entry Fetch an entry |