# SendInvoiceInput

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

Input for the full invoice send workflow: issue (if draft), generate PDF, create pay link, send notification.

## Fields
- `customMessage` (string): Optional custom message to include in the notification email. Conditional: When CustomMessage is not null. Max length: 2000. (nullable)
- `paymentLinkExpiryHours` (integer(int32)): Payment link expiry in hours. Defaults to 720 (30 days) if not specified. The value is clamped to the range 1 to 2160 hours (1 hour to 90 days): a larger value is lowered to 90 days, and zero or a negative value is raised to 1 hour. No value is rejected. (nullable)
- `viewTokenExpiryDays` (integer(int32)): View token expiry in days. Defaults to 90 days if not specified. Conditional: When ViewTokenExpiryDays is not null. Must be > 0. (nullable)

## See also

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