# InvoiceSendOutcomeDto

A model the API reference uses in a request or a response. The operation pages link every field typed as this model here.

What a send did beyond moving the invoice's status: whether the invoice email went out and whether
the invoice got a payment link. Returned on the send response only, so the caller can warn the
operator at the moment the platform knows the recipient was not emailed or has nothing to pay with.

## Fields
- `emailNotSentReason` ([InvoiceEmailNotSentReason](https://devportal.signapay-sbx.winkpg.io/docs/api/models/InvoiceEmailNotSentReason.md)): Why the invoice email did not go out, or null when the email service accepted it. A message accepted and later bounced reads as sent here. (nullable)
  Values:
  - `NoRecipientEmail`: The invoice's recipient has no email address.
  - `NoTemplate`: The email template is missing or could not be rendered.
  - `TransportError`: The email service refused the message or could not be reached.
  - `Disabled`: The host is configured to deliver no email at all (log-only mode).
  - `Unexpected`: Something else stopped the email. The host log has the detail.
- `paymentLinkNotIssuedReason` ([InvoicePaymentLinkNotIssuedReason](https://devportal.signapay-sbx.winkpg.io/docs/api/models/InvoicePaymentLinkNotIssuedReason.md)): Why the invoice was sent with no payment link, or null when it has one. (nullable)
  Values:
  - `NothingPayable`: The invoice has nothing left to pay.
  - `BillerNotMerchant`: The invoice is not billed by a merchant, so hosted-page ownership cannot be confirmed.
  - `NoDefaultHostedPage`: The invoice names no hosted page and the merchant has no active payment page to default to.
  - `AmbiguousDefaultHostedPage`: The invoice names no hosted page and the merchant has more than one active payment page.
  - `NoPermittedPaymentMethod`: Every payment method the invoice allows is turned off for the merchant.
  - `HostedPageNotFound`: The hosted page the invoice targets was not found for the invoice's merchant. Covers a deleted page and a page that belongs to another merchant alike, by design.
  - `HostedPageInactive`: The hosted page the invoice targets is inactive.
  - `SessionRejected`: The hosted page refused the payment session for another reason; the metadata carries the stable error code.

## See also

- [All documentation](https://devportal.signapay-sbx.winkpg.io/llms.txt): the machine-readable index of every public page on this site.
