Collections
Invoice

Invoice

An invoice is your way of requesting payment from a customer for a product, service, or specific purpose. Here's what it typically includes:

  • Amount: The exact sum the customer needs to pay.
  • Title: A clear name or purpose for the invoice (e.g., "Consultation Fee").
  • Customer Details: Information about the payer, like their name or contact details, to identify them easily.

Test Invoices

These are created in test mode for development and testing purposes only. They allow you to:

  • Verify your system’s behavior.
  • Test API integrations without processing real payments
Test invoices are exclusively for testing and should never be shared with customers.

Live Invoices

When you're ready to accept actual payments, live invoices come into play. They:

  • Require a valid live API key.
  • Enable real transactions for your business.

Create Invoice

Group invoices under a shared purpose or theme to better organize your records.

How it works
To create an invoice (test or live), you can use our SDK or REST API and provide your API key. The key determines whether the invoice will be created in test mode or live mode: while a test API key generates test invoices, a live API key generates live invoices.

When you create an account on Tranzakt, a test API key is automatically generated for you. You can find more details here.

Invalidate Invoice

This feature allows you to mark an invoice as invalid. This action means that the invoice can no longer be paid, and no further actions can be taken on it.

An invoice can invalidate itself based on the expiration period set for the collection it belongs to.

What is the Expiration Period?

The expiration period (also called the duration) refers to the time frame during which an invoice is considered valid. This period is determined by the settings of the collection the invoice belongs to. For example:

If a collection has an expiration period of 30 days, any invoice created within that collection will expire 30 days after its creation.

The expiration period is specific to the invoices and does not apply to the collection itself.