Invoicing

Overview

Invoice lifecycle for a project environment: list/get/create, issue, and cancel.

API

{pe} = /projects/{projectId}/environments/{environmentId}.

MethodPathNotes
GET/invoicing/healthHealth
GET/POST/invoicing{pe}/invoicesRequireAuthorization
GET/invoicing{pe}/invoices/{invoiceId}RequireAuthorization
POST/invoicing{pe}/invoices/{invoiceId}/issueRequireAuthorization
POST/invoicing{pe}/invoices/{invoiceId}/cancelRequireAuthorization

Clients

PackageRuntime
@vijihub/invoicingserver
VijiHub.Invoicing.NET

Implementation

  1. Enable Invoicing on the environment.
  2. Create draft invoices, then issue when ready.
  3. Use cancel for issued invoices according to your business rules.
  4. Pair with Billing when payments and invoices both apply.

Constraints

  • All invoice APIs require authorization.
  • Issuing/canceling may be irreversible depending on downstream fiscal rules — confirm status before calling.
  • Keep fiscal provider credentials in environment configuration.