@classmethod
def validate_invoice(cls, invoice):
    """
        Valida que los campos de la factura cumplan con los requisitos de la AFIP
        :param invoice: Factura a validar, objeto ExportationElectronicInvoice
        """
    cls._validate_document_date(invoice)
    cls._validate_document_code(invoice)
    cls._validate_existent_permission(invoice)
    cls._validate_document_language(invoice)
    cls._validate_exportation_type(invoice)
    cls._validate_amount(invoice)
