c_agri_trade/project_code/docs/api/bruno/receivables/get-exposure.bru

29 lines
568 B
Plaintext

meta {
name: Get Customer Credit Exposure
type: http
seq: 2
}
get {
url: {{baseUrl}}/api/v1/finance/receivables/exposure?customer_id={{customerId}}
body: none
auth: bearer
}
auth:bearer {
token: {{jwtToken}}
}
headers {
X-Tenant-ID: {{tenantId}}
Accept: application/json
}
docs {
# Get Customer Credit Exposure (FR-CUSTOMERRECEIVABLES-002)
Fetches customer credit limit, current ledger debt, pending unbilled dispatch value, total exposure, and exposure percentage.
Flags status as NORMAL (<80%), WATCH (80%-100%), or BREACH (>100%).
}