c_agri_trade/project_code/docs/api/bruno/dispatch/post-pod-delivery.bru

42 lines
906 B
Plaintext

meta {
name: Record Proof of Delivery & Shortage Settlement
type: http
seq: 3
}
post {
url: {{baseUrl}}/api/v1/logistics/dispatches/{{dispatchId}}/pod
body: json
auth: bearer
}
auth:bearer {
token: {{jwtToken}}
}
headers {
Content-Type: application/json
X-Tenant-ID: {{tenantId}}
Accept: application/json
}
body:json {
{
"delivery_date": "2026-10-12T14:30:00Z",
"dest_net_mt": 24.550,
"dest_bags": 495,
"pod_document_ref": "DOC-POD-26-00412.pdf",
"remarks": "Rain damage on 4 bags in transit. Acknowledged by buyer.",
"sales_manager_approval": false
}
}
docs {
# Record Proof of Delivery & Shortage Settlement (FR-DISPATCHDELIVERY-003)
Records consignee receipt and logs transit shortage note.
Automatically triggers finalized Sales Invoice and generates compensating Credit Note.
Enforces Sales Manager sign-off if shortage exceeds 2.0%.
}