Submit an invoice

POSThttps://api.sandbox.stridehq.ai/v1/invoices

Submits an invoice as structured fields, a file, or both (multipart). It gets the same checks, purchase order matching and approval routing as an invoice uploaded in StrideHQ. Idempotency-Key is required.

Scope invoices:write

Headers

Idempotency-Key stringrequired

A unique value, such as a UUID. The same key and body within 24 hours returns the original response.

Body parameters

creator_id stringrequired

The creator who sent the invoice.

invoice_number stringrequired

Unique per creator.

invoice_date string (date)

due_date string (date)

po_number string

Matched against your purchase orders.

description string

net_amount integer

Minor units.

vat_amount integer

Minor units.

total_amount integerrequired

Minor units.

currency stringrequired

ISO 4217.

external_id string

Your own reference.

metadata object

Up to 20 string keys and values, for your use. StrideHQ never reads them.

Responses