> For the complete documentation index, see [llms.txt](https://gp0.gitbook.io/graphql-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gp0.gitbook.io/graphql-docs/legal/select-contract-financial-information.md).

# Select contract financial information

Select financial information included in contract details.

## Explanation

Contract IDs are retrieved for a single contract along with financial information.

```
query GetContractFinancialDetails($contractId: Int!) {
  contract(contractSearch: {idEq: $contractId}) {
    id
    flatFeeValue
    guaranteedRoyaltyValue
    authorDiscount
    remainderRate
    remainderRateOverCost
  }
}
```

Define your contract ID variable:

```
{
  "contractId": YOUR_CONTRACT_ID_HERE
}
```
