@@ -98,6 +98,104 @@ If you wish to have any amount input in the :guilabel:`II` section (from boxes :
98
98
99
99
Repeat this operation for all contacts related to the **agriculture ** industry.
100
100
101
+
102
+ .. _localizations/spain/veri-factu :
103
+
104
+ Veri*Factu
105
+ ==========
106
+
107
+ .. note ::
108
+ Producers of Veri*Factu billing systems must self-certify their compliance with the regulations.
109
+ :download: `Download Odoo's "declaración responsable"<spain/declaracion_responsable.pdf> `
110
+
111
+ **Veri*Factu ** is an e-Invoicing system used by the Spanish Tax Agency. It is mandatory for most
112
+ taxpayers in Spain, except for those who use the SII system or are under a regional tax regime
113
+ (i.e., TicketBai).
114
+
115
+ Odoo allows :ref: `invoices <localizations/spain/veri-factu-invoices >` and Point of Sale :ref: `orders
116
+ <localizations/spain/veri-factu-orders>` to be automatically sent to the tax authorities.
117
+
118
+ .. _localizations/spain/veri-factu-configuration :
119
+
120
+ Configuration
121
+ -------------
122
+
123
+ To enable **Veri\* Factu **, follow these steps:
124
+
125
+ #. Open the Settings app to make sure your company's :guilabel: `Country ` and :guilabel: `Tax ID ` are
126
+ correctly set in the :ref: `Companies <general/companies/company >` section.
127
+ #. :ref: `Install <general/install >` the :guilabel: `Spain - Veri*Factu (l10n_es_edi_verifactu) `
128
+ module.
129
+ #. Go to :menuselection: `Accounting --> Configuration --> Settings `, scroll to the
130
+ :guilabel: `Veri\* Factu ` section, check the :guilabel: `Enable Veri*Factu ` option, and click
131
+ :icon: `oi-arrow-right ` :guilabel: `Manage certificates ` to add a certificate.
132
+ #. In the :guilabel: `Certificates for Veri\* Factu ` list view, click :guilabel: `New `.
133
+ #. Click :guilabel: `Upload your file `, then select a certificate file and enter the
134
+ :guilabel: `Password ` needed to open the certificate (if there is one).
135
+
136
+ .. note ::
137
+ - At least one certificate has to be uploaded.
138
+ - By default Veri*Factu is in testing mode. The data is sent to test servers
139
+ and is not considered official. When official data can be sent to the production servers, go to
140
+ the :guilabel: `Veri\* Factu ` section in the :guilabel: `Settings ` and disable :guilabel: `Test
141
+ Environment `.
142
+
143
+ .. _localizations/spain/veri-factu-invoices :
144
+
145
+ Invoices
146
+ --------
147
+
148
+ Once an :doc: `invoice <../../finance/accounting/customer_invoices >` is confirmed, it can be
149
+ :ref: `sent <accounting/invoice/sending >`. In the :guilabel: `Send ` window, the Veri*Factu option is
150
+ available if Veri*Factu has been enabled.
151
+
152
+ Click :guilabel: `Send ` to generate a JSON file containing the invoice details. This file is stored
153
+ as a Veri*Factu document. In the :guilabel: `Veri*Factu ` tab, all corresponding documents are
154
+ listed by their creation date and current status.
155
+
156
+ .. tip ::
157
+ To download a JSON file, click on its document in the :guilabel: `Veri*Factu ` tab. Then, in
158
+ the :guilabel: `Open: Veri*Factu Documents ` window, click the link in the :guilabel: `JSON ` field.
159
+
160
+ .. note ::
161
+ - The document should be sent to the :abbr: `AEAT ( Agencia Estatal de Administración Tributaria ) `
162
+ immediately. However, it may be delayed due to mandatory waiting periods between submissions
163
+ required by the :abbr: `AEAT ( Agencia Estatal de Administración Tributaria ) `. In such cases,
164
+ the document is automatically sent the next time a scheduled action runs.
165
+ - A Veri\* Factu **QR code ** appears on the invoice PDF. Scan this code to verify that the invoice
166
+ has been received and recognized by the :abbr: `AEAT ( Agencia Estatal de Administración
167
+ Tributaria ) `.
168
+
169
+ .. _localizations/spain/veri-factu-orders :
170
+
171
+ Point of sale orders
172
+ --------------------
173
+
174
+ Once an order has been :ref: `paid <pos/sell >`, a JSON file containing the order details is
175
+ generated. This file is stored as a Veri*Factu document.
176
+
177
+ Go to :menuselection: `Point of Sale --> Orders --> Orders `. In the :guilabel: `Orders ` list view,
178
+ select the relevant order. In the :guilabel: `Veri*Factu ` tab, all the corresponding documents are
179
+ listed by their creation date and current status.
180
+
181
+ .. tip ::
182
+ To download a JSON file, click on its document in the :guilabel: `Veri*Factu ` tab. Then, in
183
+ the :guilabel: `Open: Veri*Factu Documents ` window, click the link in the :guilabel: `JSON ` field.
184
+
185
+ .. note ::
186
+ - The document should be sent to the :abbr: `AEAT ( Agencia Estatal de Administración Tributaria ) `
187
+ immediately. However, it may be delayed due to mandatory waiting periods between submissions
188
+ required by the :abbr: `AEAT ( Agencia Estatal de Administración Tributaria ) `. In such cases,
189
+ the document is automatically sent the next time a scheduled action runs.
190
+
191
+ If an invoice is generated for an order during the payment process, the Veri*Factu document is
192
+ :ref: `created and sent for the invoice <localizations/spain/veri-factu-invoices >` instead.
193
+
194
+ .. note ::
195
+ A Veri\* Factu **QR code ** appears on the order receipt, even if an invoice is created for the
196
+ order. Scan this code to verify that the invoice has been received and recognized by the
197
+ :abbr: `AEAT ( Agencia Estatal de Administración Tributaria ) `
198
+
101
199
TicketBAI
102
200
=========
103
201
0 commit comments