> For the complete documentation index, see [llms.txt](https://apis.rightrev.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://apis.rightrev.com/rightrev-rest-api/revenue-desk-360/revenue-contract-details/retrieve-revenue-contract-billings-details.md).

# Retrieve Revenue Contract Billings Details

This API is to retrieve the billings data of order financial IDs from Revenue Contract .

Method - GET

API End Point

```
/apis/recorder/v1/revenue_contract/<RC ID><ofid=>&object=rc_billings&page_number=1&page_size=10
```

Path Parameters&#x20;

<table><thead><tr><th width="133">Key</th><th>Values</th></tr></thead><tbody><tr><td>1. page<br>2. page_size<br>3. object<br>4. ofid</td><td>1. 1<br>2. 10<br>3. rc_billings<br>4. Order Financial ID For e.g. OFID-001</td></tr></tbody></table>

**Sample API End Point** &#x20;

```
/apis/recorder/v1/revenue_contract/RC-391?ofid=OFID_SNOW-1522_AC_1&object=rc_billings&page_number=1&page_size=10
```

* Above sample endpoint will fetch **Billings Data of Order Financial ID -** OFID\_SNOW-1522\_AC\_1  **of RC-391** from the RightRev system.

**Screenshot for reference**

<div data-with-frame="true"><figure><img src="https://3364757261-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F193S0RVwbPrcp6u9CoPJ%2Fuploads%2F2ZepqR1LlaqyhGOiB94B%2Fimage.png?alt=media&amp;token=4b2449e8-0466-4b51-86ca-d075cf0fda55" alt=""><figcaption></figcaption></figure></div>

Response

```
"{
    ""rc_billings"": {
        ""billings_data"": [
            {
                ""BFID_SNOW-1522_AC_1"": {
                    ""adjust_revenue"": null,
                    ""bill_amount_corporate"": 520.57,
                    ""bill_amount_functional"": 520.57,
                    ""bill_smaps_unique_id"": ""9ef3573d-c303-4695-8c4c-7cff5c0f62db|0"",
                    ""created_period"": ""Jan-21"",
                    ""source_invoice_fields"": {
                        ""RR_Overage_Invoice_Line__c"": """",
                        ""bill_amount"": ""520.5723"",
                        ""bill_date"": ""01/01/2021"",
                        ""bill_financial_id"": ""BFID_SNOW-1522_AC_1"",
                        ""bill_number"": ""BN_SNOW-1522_AC_1"",
                        ""bill_qty"": ""1"",
                        ""functional_currency"": ""USD"",
                        ""functional_exchange_rate"": ""1"",
                        ""global_currency"": ""USD"",
                        ""global_exchange_rate"": ""1"",
                        ""reference_financial_id"": ""OFID_SNOW-1522_AC_1"",
                        ""revenue_end_date"": ""03/31/2021"",
                        ""revenue_start_date"": ""01/01/2021"",
                        ""source_system"": ""Oracle"",
                        ""transaction_currency"": ""USD"",
                        ""transaction_type"": ""INVOICE""
                    }
                }
            }
        ],
        ""order_financial_id"": ""OFID_SNOW-1522_AC_1""
    },
    ""total_records"": 1
}"
```

**Description of the fields**

<table><thead><tr><th width="241">Field Name</th><th width="425">Description</th><th width="241">Example</th></tr></thead><tbody><tr><td>billings_data</td><td>List of billing records associated with the RC.</td><td></td></tr><tr><td>Bill Financial ID</td><td>Unique identifier for the invoice/billing line.</td><td>BFID_SNOW-1522_AC_1</td></tr><tr><td>adjust_revenue</td><td>Amount of revenue adjusted for this billing line.</td><td>null</td></tr><tr><td>bill_amount_corporate</td><td>Billed amount in corporate/reporting currency.</td><td>520.57</td></tr><tr><td>bill_amount_functional</td><td>Billed amount in functional currency.</td><td>520.57</td></tr><tr><td>bill_smaps_unique_id</td><td>Internal SMAPS reference ID for billing linkage.</td><td>9ef3573d-c303-4695-8c4c-7cff5c0f62db|0</td></tr><tr><td>created_period</td><td>Period in which this billing transaction was created.</td><td>46043</td></tr><tr><td>RR_Overage_Invoice_Line__c</td><td>Invoice overage flag/identifier.</td><td></td></tr><tr><td>bill_amount</td><td>Original bill amount from invoice.</td><td>520.5723</td></tr><tr><td>bill_date</td><td>Invoice bill date.</td><td>44197</td></tr><tr><td>bill_financial_id</td><td>Unique identifier for the invoice/billing line.</td><td>BFID_SNOW-1522_AC_1</td></tr><tr><td>bill_number</td><td>Invoice number from source system.</td><td>BN_SNOW-1522_AC_1</td></tr><tr><td>bill_qty</td><td>Quantity billed.</td><td>1</td></tr><tr><td>functional_currency</td><td>Functional currency used for reporting.</td><td>USD</td></tr><tr><td>functional_exchange_rate</td><td>FX rate to convert to functional currency.</td><td>1</td></tr><tr><td>global_currency</td><td>Global/consolidated reporting currency.</td><td>USD</td></tr><tr><td>global_exchange_rate</td><td>FX rate used for global currency.</td><td>1</td></tr><tr><td>reference_financial_id</td><td>Linked Order Financial ID.</td><td>OFID_SNOW-1522_AC_1</td></tr><tr><td>revenue_end_date</td><td>Revenue recognition end date for the invoice.</td><td>44286</td></tr><tr><td>revenue_start_date</td><td>Revenue recognition start date for invoice.</td><td>44197</td></tr><tr><td>source_system</td><td>Source ERP/CRM system name.</td><td>Oracle</td></tr><tr><td>transaction_currency</td><td>Currency in which invoice was originally billed.</td><td>USD</td></tr><tr><td>transaction_type</td><td>Type of transaction – Invoice.</td><td>INVOICE</td></tr><tr><td>order_financial_id</td><td>Order Financial ID to which these billings belong.</td><td>OFID_SNOW-1522_AC_1</td></tr><tr><td>total_records</td><td>Total number of billing entries returned.</td><td>1</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://apis.rightrev.com/rightrev-rest-api/revenue-desk-360/revenue-contract-details/retrieve-revenue-contract-billings-details.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
