c_agri_trade_code/docs/api/bruno/payables/get-payables.bru

29 lines
567 B
Plaintext

meta {
name: Get Supplier Payables & Aging
type: http
seq: 1
}
get {
url: {{baseUrl}}/api/v1/finance/payables?supplier_id={{supplierId}}
body: none
auth: bearer
}
auth:bearer {
token: {{jwtToken}}
}
headers {
X-Tenant-ID: {{tenantId}}
Accept: application/json
}
docs {
# Get Supplier Payables & Aging (FR-SUPPLIERPAYABLES-001)
Fetches supplier outstanding payables generated from accepted Goods Receipt Notes (GRN).
Calculates due dates from supplier credit terms and summarizes aging into 0-7d, 8-15d, 16-30d, >30d overdue buckets.
}