Learn how to integrate custom invoices via the API
A complete, runnable script that creates a custom‑invoice integration and uploads a sample CSV file.
Custom Invoices let you import cost data from vendors or services that Pelanor’s built‑in connectors don’t cover.
Once ingested, these costs appear in every dashboard, report, and alert—alongside your cloud‑provider data. See the feature documentation
for more information.
This API is not suitable for uploading very large datasets, such as entire cloud platform billing exports. Consult your Pelanor Solution Engineer if in doubt.
Create an Integration
Call Create Custom Invoice Integration once per billing account or org ID.
Prepare a CSV
Build a CSV with the required columns usage_date
and cost
.
Add optional columns—such as service_name
, region
, or tag:{key}
—to improve filtering.
Upload the CSV
Use Upload Custom Invoice File to push the file.
Verify Ingestion
The file is validated server‑side; format errors are returned immediately.
Once accepted, data appears in Pelanor within ~12 hours.