Invoice API
The Invoice API will allow you to create and manage itemized invoices for your customers within your existing website or application. Functions include create, retrieve, and updates for invoice objects.
An invoice created through the Invoice API can be processed for payment using the invoiceNumber by linking it to a HelcimPay checkout session, or through the Payment API using the Purchase, Preauth or Verify payment endpoints.
Invoice API functionality
The Invoice API allows you to create and manage invoices that can be linked to customers and payments in the Helcim system.
Invoices
An invoice object can be created as a record of an intended or completed payment and is how you create a more detailed record of payments with more information than a transaction receipt.
An invoice stores a number of core details, including:
- Unique
invoiceId,invoiceNumber, andtokenvalues, that can be used to retrieve and update invoices, or link them to payments through HelcimPay.js or the Payment API. - Information on the
amountdue on the invoice, including anytipAmountordepositAmount. - Information on the
statusandtypeof invoice, as well as anycustomerIdif the invoice is linked to acustomerobject. - An array of
lineItemsobjects used to create an itemized invoice of products and services. - Sub-objects that provide information on custom order fields, billing and shipping address details, as well as pickup details, tax information, and discounts applied to the invoice.
Invoice online view
All invoice objects contain an invoice token that can be used to render an online view of your invoice.
If the invoice is due for payment then the customer can process a payment through the Helcim implementation of HelcimPay.js, or if the invoice is paid it serves as a visible record of the payment.
Invoice API endpoints
Create, retrieve, and update invoice objects using the following endpoints.
Updated 17 days ago