Publisher Bulk Ops
Post one statement's matched writer shares to the ledger
POST /publisher/statements//post-to-ledger
POST
Post one statement's matched writer shares to the ledger
This endpoint requires authentication. Include your Bearer token in the Authorization header.
Description
POST /publisher/statements//post-to-ledger Bridges the statement’s matched WRITER shares into the ledger aspublishing_royalty earning_post transactions, one per writer
TenantUser. Explicit action, never automatic on ingest — line
matching may still be under review. Idempotent per (statement,
writer): re-posting reports already-posted writers under skipped
rather than double-posting.
?dryRun=true (also accepted as dryRun: true in the body)
returns the identical payload shape with nothing written —
data.dryRun is true, data.totals.transactions is 0, and
every entry in posted[].transactionId is the literal string
'dry-run'. Use it to preview shares and spot unmapped writers
before committing.
In writer-payee statements an unpostableWriters[] row for
no_payee_writer or payee_writer_not_found also carries
participant {name, ipi}; every no_payee_writer row has writerId ''.
Use GET /publisher/statements/{id}/setup-checklist for the grouped view.
Authorization: admin role + publisher capability enabled.