---
title: "InvoiceValidated – API-Referenz · Quittio"
description: "Dispatched after a render run whose validation did not block it, before InvoiceRendered. $result is the validation of the main (first) format: in mode \"error\" it has no errors (warnings may be present unless validation.block_on_warnings), in mode \"warn\" it may contain errors, so check $result->isValid(). Not dispatched in mode \"off\" (nothing was validated) and not when validation blocked the run (see InvoiceValidationFailed)."
canonical_url: "https://quittio.dev/docs/api/Quittio/Laravel/Events/InvoiceValidated"
locale: de
meta:
  "og:description": "Dispatched after a render run whose validation did not block it, before InvoiceRendered. $result is the validation of the main (first) format: in mode \"error\" it has no errors (warnings may be present unless validation.block_on_warnings), in mode \"warn\" it may contain errors, so check $result->isValid(). Not dispatched in mode \"off\" (nothing was validated) and not when validation blocked the run (see InvoiceValidationFailed)."
  "og:image": "https://quittio.dev/og/quittio-de.jpg"
  "og:image:alt": "Quittio: E-Rechnungen für PHP und Laravel. Rechtssicher, validiert, archiviert, mit geprüfter Beispielrechnung."
  "og:image:height": "630"
  "og:image:type": image/jpeg
  "og:image:width": "1200"
  "og:title": "InvoiceValidated – API-Referenz · Quittio"
  "twitter:image": "https://quittio.dev/og/quittio-de.jpg"
  "twitter:image:alt": "Quittio: E-Rechnungen für PHP und Laravel. Rechtssicher, validiert, archiviert, mit geprüfter Beispielrechnung."
---

> Index of every page on this site: [llms.txt](https://quittio.dev/llms.txt)

[API reference](https://quittio.dev/docs/api) / [Quittio](https://quittio.dev/docs/api/Quittio) \\ [Laravel](https://quittio.dev/docs/api/Quittio/Laravel) \\ [Events](https://quittio.dev/docs/api/Quittio/Laravel/Events)

# InvoiceValidated

final readonly class in quittio/laravel

`Quittio\Laravel\Events\InvoiceValidated` · [Source](https://github.com/Quittio/quittio/blob/v0.7.1/packages/laravel/src/Laravel/Events/InvoiceValidated.php#L17)

Dispatched after a render run whose validation did not block it, before InvoiceRendered. $result is the validation of the main (first) format: in mode "error" it has no errors (warnings may be present unless validation.block\_on\_warnings), in mode "warn" it may contain errors, so check $result->isValid(). Not dispatched in mode "off" (nothing was validated) and not when validation blocked the run (see InvoiceValidationFailed).

## Properties \#

| Property | Type | Description |
| --- | --- | --- |
| `$invoice` readonly | `[InvoiceData](https://quittio.dev/docs/api/Quittio/Core/Data/InvoiceData)` | |
| `$result` readonly | `[ValidationResult](https://quittio.dev/docs/api/Quittio/Core/Validation/ValidationResult)` | |

## Methods \#

| Method | Description |
| --- | --- |
| `->__construct()` | |

### `__construct()`#

```
public function __construct(InvoiceData $invoice, ValidationResult $result)
```

| Parameter | Type | Description |
| --- | --- | --- |
| `$invoice` | `[InvoiceData](https://quittio.dev/docs/api/Quittio/Core/Data/InvoiceData)` | |
| `$result` | `[ValidationResult](https://quittio.dev/docs/api/Quittio/Core/Validation/ValidationResult)` | |

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://quittio.dev/#website","@type":"WebSite","description":"E-Rechnungen für PHP und Laravel: ZUGFeRD, XRechnung und Peppol erstellen, prüfen, lesen und archivieren.","inLanguage":"de-DE","name":"Quittio","url":"https://quittio.dev/","publisher":{"@id":"https://quittio.dev/#identity"},"workTranslation":{"@id":"https://quittio.dev/en#website"}},{"@id":"https://quittio.dev/docs/api/Quittio/Laravel/Events/InvoiceValidated#webpage","@type":"WebPage","description":"Dispatched after a render run whose validation did not block it, before InvoiceRendered. $result is the validation of the main (first) format: in mode \"error\" it has no errors (warnings may be present unless validation.block_on_warnings), in mode \"warn\" it may contain errors, so check $result->isValid(). Not dispatched in mode \"off\" (nothing was validated) and not when validation blocked the run (see InvoiceValidationFailed).","name":"InvoiceValidated – API-Referenz","url":"https://quittio.dev/docs/api/Quittio/Laravel/Events/InvoiceValidated","isPartOf":{"@id":"https://quittio.dev/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://quittio.dev/docs/api/Quittio/Laravel/Events/InvoiceValidated"]}],"primaryImageOfPage":{"@id":"https://quittio.dev/#logo"}},{"@id":"https://quittio.dev/#identity","@type":"Organization","description":"Open-Source-Bibliothek für E-Rechnungen in PHP und Laravel (ZUGFeRD, XRechnung, Peppol) und Quittio Managed.","email":"kontakt@niklasforst.de","legalName":"Niklas Forst – Softwareentwicklung","name":"Quittio","url":"https://quittio.dev","founder":{"@type":"Person","name":"Niklas Forst","url":"https://quittio.dev/ueber"},"logo":{"@id":"https://quittio.dev/#logo"},"sameAs":["https://github.com/Quittio/quittio","https://packagist.org/packages/quittio/quittio"]},{"@id":"https://quittio.dev/#logo","@type":"ImageObject","caption":"Quittio","contentUrl":"https://quittio.dev/logo.png","inLanguage":"de-DE","url":"https://quittio.dev/logo.png"}]}
```