Create & Send
API to create or update a text2pay invoice
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your access token.
invoices. writeOAuthPrivate IntegrationSub-Account TokenRequest
Headers
API Version
v3Body
location Id / company Id based on altType
6578278e879ad2646715ba9cAlt Type
locationlocationInvoice Name
New InvoiceCurrency code
USDAn array of items for the invoice.
Terms notes, Also supports HTML markups
<p>This is a default terms.</p>Title for the invoice
INVOICEContact information to send the invoice to
Invoice Number
1001Issue date in YYYY-MM-DD format
2023-01-01Due date in YYYY-MM-DD format
2023-01-14Automatic taxes enabled for the Invoice
truesplit invoice into payment schedule summing up to full invoice amount
late fees configuration
tips configuration for the invoice
prefix for invoice number
INV-Payment Methods for Invoices
attachments for the invoice
miscellaneous charges for the invoice
id of invoice to update. If skipped, a new invoice will be created
include terms & notes with receipts
truecreate invoice in draft mode or send mode
draftsenddraftid of user generating invoice
Response
Successful response
preview url of generated invoice