System integrations
ManziCRM and accounting
Sync payload
Connection contract and runtime configuration
Configure the integration base URL and bearer token for each authorised destination. The receiver must support authenticated GET and PUT at its base URL followed by the encoded external key. A missing record returns 404. PUT must atomically upsert by external key and honour the Idempotency-Key header.
PUT receives externalKey, digest and record. GET must return externalKey, remoteId and the stored record. PetroVela compares the complete stored record before marking a sync verified. The CRM receiver must enforce the configured hold stage and suppress outreach. Accounting payloads are evidence for review.
CRM_SYNC_URL, CRM_SYNC_TOKEN, CRM_SYNC_HOLD_STAGE, ACCOUNTING_SYNC_URL, ACCOUNTING_SYNC_TOKEN
Sync receipts
Recent audit history
Counterparty shipment sync
Give an authorised recipient a revocable, 30-day token for one shipment and role. Vessel operators, terminals and inspectors receive only their own slot. The API includes a readback receipt for the current snapshot.
This token is displayed once.
Counterparty API
Send the private token in the Authorization: Bearer header.
Read GET /api/integrations/counterparty/snapshot. After receiving the snapshot, send its digest as JSON to POST /api/integrations/counterparty/ack.
