Sync Workflow Bills

Create or reconcile 1–100 complete workflow bills as full snapshots. An
exact replay returns the same bill identities without an Accounting write;
a material update follows the bill's current lifecycle and approver-access
policy. Results preserve request order.

Validation and payment-destination preflight finish before Accounting.
Accounting commits the bill batch atomically, then Payments reconciles
destinations atomically, then bill events publish. A failure in a later
service does not roll back an earlier service's committed work.

Webhook event identity uses the persisted whole-second bill mutation
time. Two material updates to the same bill within one second can share a
deduplication key and suppress the later webhook. An exact no-op replay
cannot recover a missing event after the mutation has committed.

Requires scope: bills:manage.

Body Params

SyncWorkflowBillsRequest creates or reconciles a batch of complete workflow
bill snapshots. The request must contain 1–100 bills. Omitting a mutable bill
field or approver supplies that field's empty state unless its documentation
explicitly defines presence-aware behavior; Sync is not otherwise a patch API.

entity
object
required

Client organization and entity that owns every bill in this batch.

string

User's Digits-assigned ID.

string

User's caller-assigned ID, resolved on the backend.

bills
array of objects
required

Complete bills in caller order. External bill IDs must be unique within
the request and are scoped to the authenticated installed application.

bills*
Responses

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json