Skip to main content

Creating invoices

1

Create contacts

Create contacts on postV1Contacts.
2

Create debtors

Create debtors on postV1Debtors.
3

Upload files

Upload invoice documents before creating invoices. See file for details.
  • To unassign a file, provide destroy: true on the file parameter.
  • If destroy: true is combined with checksum, only the file matching that checksum is removed.
4

Create invoices

Create invoices on postV1Invoices.PaymentsIf payments are provided, all payments for the invoice must be included and ordered chronologically (oldest first). If open_amount changes but no payments are provided, Payt creates a payment matching the change in amount.Sent atThe sent_at field sets the date when the invoice was sent to the debtor. If not provided, Payt sends the invoice to the debtor. This field can only be set if the invoice has not yet been published to the debtor.
Last modified on June 12, 2026