Hoppa till innehållet

Invoices

The signed-in customer's invoices.

1 calls GET Base URL https://api.erp.fluit.cloud/ecom

Authentication, error codes, rate limits, idempotency and pagination apply to every call and are documented once under Getting started.

GET /portal/invoices

List invoices

Returns invoices for the authenticated customer.

Query parameters

Field Type
page integer
pageSize integer
status string

Responses

200 PortalInvoiceListResponse
Field Type
items PortalInvoice[] · nullable
page integer
pageSize integer
totalCount integer
429 Rate limit exceeded. Wait the number of seconds given in Retry-After. The body is problem-shaped application/json, not application/problem+json. This API sends no X-RateLimit-* headers — the quota is discovered here.
  • Retry-After — Seconds to wait before retrying.

Standard errors: 401 403 Errors

Examples

curl
curl "https://api.erp.fluit.cloud/ecom/portal/invoices" \
  -H "Authorization: Bearer $SESSION_TOKEN" \
  -H "X-Tenant-Id: $FLUIT_TENANT_ID" \
  -H "X-Channel: web"
Response 200
{
  "items": [
    {
      "balance": "299.00",
      "currencyCode": "SEK",
      "dueDate": "string",
      "id": "0f8b2c1e-4d3a-4b7e-9f10-2a6c5d8e1b44",
      "invoiceDate": "string",
      "invoiceNumber": "INV-2026-0912",
      "paidAmount": "299.00",
      "status": "string",
      "totalAmount": "299.00",
      "totalVat": "299.00",
      "type": "string"
    }
  ],
  "page": 1,
  "pageSize": 50,
  "totalCount": 137
}

Base URL https://api.erp.fluit.cloud/ecom. The response example is generated from the schema: the shape is right, the values are made up.

Schemas

The objects this group's calls refer to. The field tables above go one level deep and link here rather than repeating the same schema on every endpoint.

PortalInvoice

PortalInvoiceListItem
Field Type
balance decimal
currencyCode string · nullable
dueDate string · nullable
id string(uuid)
invoiceDate string · nullable
invoiceNumber string · nullable
paidAmount decimal
status string · nullable
totalAmount decimal
totalVat decimal
type string · nullable