Workflow-run
Task
Document
- GETDocument metadata
- GETFull document details
- GETDocument CSV content
- POSTUnzip file and return PDFs
- POSTGenerate CSV document
- POSTPresigned URL for upload
- POSTClassify document (async)
- POSTSplit document (async)
- POSTCreate documents from splits
- POSTLegacy extract document (async)
- POSTDocument extraction (async)
- POSTRender document body
- POSTGenerate document from template (async)
- POSTTransform JSON to HTML
- POSTDocument reasoning (async)
- POSTSearch across documents
- GETPDF template document metadata
Async-result
Communication
Clearinghouse
Ledger
- POSTCreate new ledger order
- POSTPost patient adjustment
- POSTPost institution adjustment
- POSTPost claim adjustment
- POSTPost claim payment
- POSTPost patient payment
- POSTPost institution payment
- POSTPost order write-off
- POSTPost invoice assignment
- POSTReverse a ledger entry
- GETGet outstanding institutional orders
Integration - Snowflake
Dashboard
Ledger
Get outstanding institutional orders
Retrieves all outstanding orders for a specific institution (accounts with non-zero balances).
GET
/
api
/
v2
/
ledger
/
outstanding-institutional-orders
/
{institutionId}
Copy
import SampleHealthcare from 'samplehc';
const client = new SampleHealthcare({
apiKey: process.env['SAMPLEHC_API_KEY'], // This is the default and can be omitted
});
const response = await client.v2.ledger.retrieveOutstandingInstitutionOrders('institutionId');
console.log(response.orders);
Copy
{
"orders": [
{
"orderId": "<string>",
"institutionId": "<string>",
"balanceUsdCents": 123
}
]
}
Path Parameters
Identifier of the institution to get outstanding orders for.
Response
200
application/json
Outstanding orders retrieved successfully.
Copy
import SampleHealthcare from 'samplehc';
const client = new SampleHealthcare({
apiKey: process.env['SAMPLEHC_API_KEY'], // This is the default and can be omitted
});
const response = await client.v2.ledger.retrieveOutstandingInstitutionOrders('institutionId');
console.log(response.orders);
Copy
{
"orders": [
{
"orderId": "<string>",
"institutionId": "<string>",
"balanceUsdCents": 123
}
]
}
Assistant
Responses are generated using AI and may contain mistakes.