Skip to main content
POST
/
api
/
v1
/
bills
cURL
curl -sS -X POST "$FLUIDE_BASE_URL/api/v1/bills" \
  -H "Authorization: Bearer $FLUIDE_ACCESS_TOKEN" \
  -H "X-Fluide-Api-Key: $FLUIDE_API_KEY" \
  -H "X-Fluide-Client-Id: fluide-developer" \
  -H "Content-Type: application/json" \
  -d '{}'
{
  "success": true,
  "message": "Operation completed successfully",
  "data": {}
}

Authorizations

Authorization
string
header
required

Access token JWT. Use as Authorization: Bearer . In the API playground, paste the JWT only.

X-Fluide-Api-Key
string
header
default:fl_dev_your_key
required

Developer API key (fl_dev_...). Required on every API call with a machine access token.

X-Fluide-Client-Id
string
header
default:fluide-developer
required

First-party client audience. Must match the fluide_client_id claim on the JWT. Use fluide-developer for Connect.

Body

application/json
vendorId
string<uuid>
required

Vendor / supplier id

issueDate
string
required

Issue date

Example:

"2026-03-15"

dueDate
string
required

Due date

Example:

"2026-04-15"

lineItems
object[]
required

Line items (required). Header subtotal/tax/total are derived server-side.

Minimum array length: 1
projectId
string<uuid>

Project accounting dimension

clientId
string<uuid>

Client / sub-ledger dimension

currency
string

ISO 4217 currency

Maximum string length: 3
notes
string

Response

Create vendor bill (accounts payable) — created

success
boolean
required

Whether the request succeeded

Example:

true

message
string
required

Human-readable outcome message (localized when i18n is configured)

Example:

"Operation completed successfully"

data
object

Endpoint-specific payload