219
219
text += '2' # Tipo de registro
220
220
text += '349' # Modelo de declaración
222
222
text += self._formatString(report.company_vat, 9) # NIF del declarante
224
224
text += self._formatString(refund_record.partner_id.vat, 17) # NIF del operador intracomunitario
225
225
text += self._formatString(refund_record.partner_id.name, 40) # Apellidos y nombre o razón social del operador intracomunitario
226
226
text += self._formatString(refund_record.operation_key, 1) # Clave de operación
229
229
text += self._formatString(period, 2) # Periodo (de la rectificación)
230
230
text += self._formatNumber(refund_record.total_operation_amount, 11, 2) # Base imponible de la rectificación
231
231
text += self._formatNumber(refund_record.total_origin_amount, 11, 2) # Base imponible declarada anteriormente