Charge References for Invoice Lines
invoiceLineChargeReferences Based on 26C
Create, change, delete and look up Charge References for Invoice Lines. Actions include get charge reference estimates for invoice line.
- Operations
- GET (list)GET (one)POST (create)PATCH (update)DELETE1 action
- Record key
InvoiceChargeReferenceId- Required on create
- none marked
- At a glance
- 17 fields1 finders0 children
Try it
Only attributes Oracle marks as searchable are offered.
GET /fscmRestApi/resources/11.13.18.05/invoiceLineChargeReferences?fields=ChargeReferenceTypeDescription,ChargeReferenceTypeId,ChargeReferenceValueDataType,InvoiceChargeReferenceId,InvoiceId&limit=25&onlyData=true
{
"items": [
{
"ChargeReferenceTypeDescription": "<string, max 240>",
"ChargeReferenceTypeId": 0,
"ChargeReferenceValueDataType": "<string, max 30>",
"InvoiceChargeReferenceId": 0,
"InvoiceId": 0
}
],
"count": 25,
"hasMore": true,
"limit": 25,
"offset": 0
}Shapes and placeholders, not real data. Replace https://<your-pod> and the login with your own: this site never sees them. Based on Oracle's 26C REST specification.
Fields 17
| Attribute | Type | Use |
|---|---|---|
ChargeReferenceTypeDescription | text · max 240 | Read-onlySearchable |
ChargeReferenceTypeId | number | Optional on createUpdatableSearchable |
ChargeReferenceValueDataType | text · max 30 | Read-onlySearchable |
InvoiceChargeReferenceId | number | Optional on createUpdatableSearchable |
InvoiceId | number | Optional on createUpdatableSearchable |
InvoiceLineNumber | number | Optional on createUpdatableSearchable |
Name | text · max 100 | Optional on createUpdatableSearchable |
PredefinedFlag | yes/no · max 6 · default false | Optional on createUpdatableSearchable |
ProcurementBUId | number | Optional on createUpdatableSearchable |
ReferenceTypeCode | text · max 30 | Read-onlySearchable |
ReferenceTypeNumber | number | Optional on createUpdatableSearchable |
ReferenceTypeTimestamp | date-time | Optional on createUpdatableSearchable |
ReferenceTypeVarchar | text · max 64 | Optional on createUpdatableSearchable |
SetId | number | Read-onlySearchable |
SupplierId | number | Optional on create |
SupplierSiteId | number | Optional on create |
UserComment | text · max 240 | Optional on createUpdatableSearchable |
Names, types, labels and flags from Oracle's REST specification (26C). Flexfield and custom attributes vary by pod: check /describe for yours.
Finders 1
Predefined searches: ?finder=Name;variable=value,variable2=value2. Pick one in Try it to build the call.
filterByInvoiceIdAndInvoiceLineNumber·pInvoiceIdpInvoiceLineNumber
Check a payload
Checked in your browser only; nothing you paste is sent anywhere. Checks names and flags, not values.
Actions 1
POST …/action/getChargeReferenceEstimatesForInvoiceLine·supplierIdinvoiceIdsupplierSiteIdinvoiceLineNumber
Actions use Content-Type: application/vnd.oracle.adf.action+json. A path with a {key} runs on one record.
Use in AI Agent Studio
- Point a Business Object or REST tool at
/fscmRestApi/resources/11.13.18.05/invoiceLineChargeReferencesand ask only for the fields the agent needs withfields=. Big responses cost tokens and slow the agent. - Prefer a finder such as
filterByInvoiceIdAndInvoiceLineNumberfor the agent's main search: its variables become clean tool parameters. - Narrow with
q=on searchable fields and a smalllimit; for a count usetotalResults=true&limit=1. - Call once and pass the result on to later steps rather than calling the same endpoint again.
- This resource can change data. Put a human approval step before any create, update, delete or action call.
More in For Builders.
Pitfalls
- Attribute names are case-sensitive in
q,fieldsand bodies:ChargeReferenceTypeId, notchargereferencetypeid. - 4 fields are read-only: sending them in POST or PATCH fails or is ignored. The builder leaves them out.
- Send dates as
YYYY-MM-DD; date-time fields take ISO 8601 with a time zone. - A list returns 25 rows unless you set
limit; readhasMoreand moveoffsetto page through. - Text fields have maximum lengths (shown in the field table). Longer values are rejected.