Billing

Post a draft invoice

View as Markdown

POSThttps://paysuitett.com/api/v1/invoices/{id}/post

Posts the draft to the books (a journal in TTD) and assigns its number: PREFIX-YYYYMMDD-MMDD when the customer's profile has a prefix and the invoice a service period, else INV-YYYY-NNNNN. Posting a posted invoice returns it unchanged; void returns 409 CONFLICT. Emailing stays in the app.

Access. Master key, or a personal key held by an owner/admin or accountant. The business must have the invoices service. Runs as the holder under their row-level security.

Path parameters

idstring · uuid
Invoice ID.

Response

200 with a JSON body, as in the example.