Manage rate catalog (pricing for services)
- Get Settled Charge Details
Billing & Ledger Service API (1.0.0)
The Billing & Ledger Service is the financial engine of the NPS Billing Platform. It manages pricing (Rates, Rate Cards), subscription configurations, allocation rules for split billing scenarios (divorced households, subsidies), charge lifecycle, and double-entry accounting ledger.
Charges follow a strict lifecycle with immutability after invoicing:
- PENDING → Created but not validated
- BILLED → Validated and ready to invoice (still editable)
- INVOICED → Invoiced (IMMUTABLE - moved to SettledCharge)
- PAID → Paid directly without invoice
- VOID → Cancelled
Defines how charges are split between multiple accounts (e.g., divorced parents, subsidy agencies). Three rule types:
- RESPONSIBLE_PARTY: Percentage-based split
- COVERAGE_TRANSFER: Fixed amount covered (e.g., $25 subsidy per charge)
- BILLING_CAP: Maximum amount per period
All financial transactions follow the accounting equation (Debits = Credits). Journal entries are immutable once created - corrections use adjustment entries.
Request
List settled charges (immutable post-invoice/payment state).
Settled charges are created when:
- A charge is invoiced (
settlementType: INVOICED) - A charge is paid directly without invoice (
settlementType: DIRECT_PAYMENT)
Note: Settled charges are IMMUTABLE. Corrections must be made via ledger adjustments.
- Mock serverhttps://docs.nelnetpay.com/_mock/apis/billing-ledger-service/settledCharges
- UAT serverhttps://api.uat.nelnetpay.com/billing/settledCharges
- Production serverhttps://api.nelnetpay.com/billing/settledCharges
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.nelnetpay.com/_mock/apis/billing-ledger-service/settledCharges?status=INVOICED&settlement_type=INVOICED&billable_entity_id=497f6eca-6276-4993-bfeb-53cbbbba6f08&account_id=497f6eca-6276-4993-bfeb-53cbbbba6f08&invoice_id=497f6eca-6276-4993-bfeb-53cbbbba6f08&settled_at_from=2019-08-24T14%3A15%3A22Z&settled_at_to=2019-08-24T14%3A15%3A22Z&page=1&page_size=50' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Successful response
Status of settled (immutable) charge
Tags consolidated from all sources with prefixes:
- profile.billableEntity.*
- profile.account.*
- billing.rate.*
- billing.subscription.*
- billing.charge.*
Optimistic locking version (managed by Hibernate @Version). Prevents concurrent update conflicts.
{ "results": [ { … } ], "pagination": { "totalRecords": 100, "currentPage": 1, "totalPages": 10, "nextPage": 2, "prevPage": null } }
- Mock serverhttps://docs.nelnetpay.com/_mock/apis/billing-ledger-service/settledCharges/{settledChargeId}
- UAT serverhttps://api.uat.nelnetpay.com/billing/settledCharges/{settledChargeId}
- Production serverhttps://api.nelnetpay.com/billing/settledCharges/{settledChargeId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.nelnetpay.com/_mock/apis/billing-ledger-service/settledCharges/{settledChargeId}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Successful response
Status of settled (immutable) charge
Tags consolidated from all sources with prefixes:
- profile.billableEntity.*
- profile.account.*
- billing.rate.*
- billing.subscription.*
- billing.charge.*
Optimistic locking version (managed by Hibernate @Version). Prevents concurrent update conflicts.
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "originalChargeId": "b6f1f7cb-49e8-4f30-ac44-8630c716f6ba", "entityId": "156e622c-6cdf-4c27-9bc9-2f2db69919f5", "billableEntityId": "efd73805-0b19-4de3-9f1e-a64de8c44765", "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9", "invoiceId": "4f163819-178d-470c-a246-d6768476a6ec", "rateId": "dc6263b0-e8fb-4144-a111-53fde6c86836", "quantity": 0.1, "amount": 0, "prorationFactor": 0.1, "proratedAmount": 0, "netAmount": 0, "discountRateIds": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "discountAmounts": [ 0 ], "allocationConfigId": "dacda6b8-3e25-4031-b6a4-1ec5aa108ab2", "rateVersion": 0, "subscriptionVersion": 0, "allocationVersion": 0, "discountRateVersions": [ 0 ], "settlementType": "INVOICED", "status": "INVOICED", "originalAmount": 0, "resolvedAmount": 0, "amountPaid": 0, "amountOutstanding": 0, "resolvedAllocation": {}, "resolvedRate": {}, "consolidatedTags": { "property1": "string", "property2": "string" }, "settledAt": "2019-08-24T14:15:22Z", "optimisticLockVersion": 0, "createdAt": "2019-08-24T14:15:22Z" }