Contracts
List Contracts (v1)
Retrieve a paginated list of revenue recognition contracts, with filtering and ordering options.
GET
/
public
/
v1
/
contracts
/
List Contracts
curl --request GET \
--url https://api.dualentry.com/public/v1/contracts/ \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.dualentry.com/public/v1/contracts/"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://api.dualentry.com/public/v1/contracts/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.dualentry.com/public/v1/contracts/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.dualentry.com/public/v1/contracts/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.dualentry.com/public/v1/contracts/")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.dualentry.com/public/v1/contracts/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"items": [
{
"id": 123,
"number": 123,
"name": "<string>",
"memo": "<string>",
"date": "2023-12-25",
"start_date": "2023-12-25",
"bill_to_address": "<string>",
"ship_to_address": "<string>",
"is_incomplete": true,
"is_locked": true,
"revenue_recognitions": [
{
"id": 123,
"number": 123,
"contract_id": 123,
"date": "2023-12-25",
"transaction_date": "2023-12-25",
"amount": "<string>",
"transaction_id": 123,
"income_account_id": 123,
"deferrered_revenue_account_id": 123,
"performance_obligation_id": 123,
"is_reversal": false
}
],
"invoices": [
{
"id": 123,
"number": 123,
"date": "2023-12-25",
"due_date": "2023-12-25",
"amount": "<string>",
"tax_amount": "<string>",
"paid_total": "<string>",
"source": "<string>",
"term_id": 123
}
],
"amount": "<string>",
"metrics": {
"mrr": "<string>",
"arr": "<string>",
"amount_invoiced": "<string>",
"invoices_paid": "<string>",
"revenue_recognized": "<string>",
"unbilled_revenue": "<string>",
"unrecognized_revenue": "<string>",
"deferred_revenue": "<string>",
"total_contract_value": "<string>",
"amount_invoiced_percentage": "<string>",
"invoices_paid_percentage": "<string>",
"revenue_recognized_percentage": "<string>",
"next_invoice_date": "2023-12-25",
"total_discount_amount": "0",
"total_tax_amount": "0"
},
"custom_fields": [],
"completed_approvals_count": 0,
"total_approvals_count": 0,
"integration_remote_records": [],
"company_id": 123,
"company_name": "<string>",
"customer_id": 123,
"customer_name": "<string>",
"term_id": 123,
"default_ar_account_id": 123,
"contract_template_id": 123,
"end_date": "2023-12-25",
"billing_address": {
"street": "<string>",
"city": "<string>",
"postal_code": "<string>",
"state": "",
"country": "",
"second_line": "",
"name": "<string>"
},
"shipping_address": {
"street": "<string>",
"city": "<string>",
"postal_code": "<string>",
"state": "",
"country": "",
"second_line": "",
"name": "<string>"
},
"billing_anchor_weekday": 123,
"recognition_anchor_weekday": 123,
"cutover_date": "2023-12-25",
"prior_recognized_amount": "<string>",
"default_early_termination_fee": "<string>",
"recognition_mode": "individual",
"workflow_status": "<string>",
"pending_approvers_count": 0,
"payment": {
"type": "<string>",
"id": 123,
"body": "<string>",
"link": "<string>"
},
"renewed_end_date": "2023-12-25",
"next_renewal_date": "2023-12-25",
"days_till_expiry": 123,
"termination": {
"id": 123,
"number": 123,
"contract_id": 123,
"termination_type": "<string>",
"termination_date": "2023-12-25",
"transaction_id": 123,
"memo": "<string>",
"date": "2023-12-25",
"early_termination_fee": "<string>",
"early_termination_fee_item_id": 123,
"fee_invoice_id": 123,
"refund_amount": "<string>",
"refund_credit_account_id": 123
},
"change_orders": [],
"cached_metrics": {
"tcv": "<string>",
"mrr": "0",
"arr": "0",
"amount_invoiced_percentage": "<string>",
"revenue_recognized": "0",
"revenue_recognized_percentage": "<string>",
"next_invoice_date": "2023-12-25"
},
"has_usage_obligations": false,
"has_usages": false
}
],
"count": 123
}{
"errors": {},
"success": false
}Authorizations
Query Parameters
Available options:
bill_com, ramp, zoho, fivetran, stripe, hubspot, brex, cubby, avalara, deel, tax1099, sitelink, postgresql, qlik, power_bi, snowflake, avidxchange, concur, salesforce, hmrc, quickbooks, xero, netsuite_suiteanalytics, sage_intacct, adp_totalsource, justworks, paychex_flex, paycom, gusto, ukg_ready Filter-only enum that extends ContractStatus with virtual statuses.
Available options:
draft, review, active, completed, terminated, archived Number of records to return per page (capped at 100)
Required range:
x >= 1Number of records to skip before starting to return results
Required range:
x >= 0Last modified on July 13, 2026
Was this page helpful?
⌘I
List Contracts
curl --request GET \
--url https://api.dualentry.com/public/v1/contracts/ \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.dualentry.com/public/v1/contracts/"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://api.dualentry.com/public/v1/contracts/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.dualentry.com/public/v1/contracts/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.dualentry.com/public/v1/contracts/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.dualentry.com/public/v1/contracts/")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.dualentry.com/public/v1/contracts/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"items": [
{
"id": 123,
"number": 123,
"name": "<string>",
"memo": "<string>",
"date": "2023-12-25",
"start_date": "2023-12-25",
"bill_to_address": "<string>",
"ship_to_address": "<string>",
"is_incomplete": true,
"is_locked": true,
"revenue_recognitions": [
{
"id": 123,
"number": 123,
"contract_id": 123,
"date": "2023-12-25",
"transaction_date": "2023-12-25",
"amount": "<string>",
"transaction_id": 123,
"income_account_id": 123,
"deferrered_revenue_account_id": 123,
"performance_obligation_id": 123,
"is_reversal": false
}
],
"invoices": [
{
"id": 123,
"number": 123,
"date": "2023-12-25",
"due_date": "2023-12-25",
"amount": "<string>",
"tax_amount": "<string>",
"paid_total": "<string>",
"source": "<string>",
"term_id": 123
}
],
"amount": "<string>",
"metrics": {
"mrr": "<string>",
"arr": "<string>",
"amount_invoiced": "<string>",
"invoices_paid": "<string>",
"revenue_recognized": "<string>",
"unbilled_revenue": "<string>",
"unrecognized_revenue": "<string>",
"deferred_revenue": "<string>",
"total_contract_value": "<string>",
"amount_invoiced_percentage": "<string>",
"invoices_paid_percentage": "<string>",
"revenue_recognized_percentage": "<string>",
"next_invoice_date": "2023-12-25",
"total_discount_amount": "0",
"total_tax_amount": "0"
},
"custom_fields": [],
"completed_approvals_count": 0,
"total_approvals_count": 0,
"integration_remote_records": [],
"company_id": 123,
"company_name": "<string>",
"customer_id": 123,
"customer_name": "<string>",
"term_id": 123,
"default_ar_account_id": 123,
"contract_template_id": 123,
"end_date": "2023-12-25",
"billing_address": {
"street": "<string>",
"city": "<string>",
"postal_code": "<string>",
"state": "",
"country": "",
"second_line": "",
"name": "<string>"
},
"shipping_address": {
"street": "<string>",
"city": "<string>",
"postal_code": "<string>",
"state": "",
"country": "",
"second_line": "",
"name": "<string>"
},
"billing_anchor_weekday": 123,
"recognition_anchor_weekday": 123,
"cutover_date": "2023-12-25",
"prior_recognized_amount": "<string>",
"default_early_termination_fee": "<string>",
"recognition_mode": "individual",
"workflow_status": "<string>",
"pending_approvers_count": 0,
"payment": {
"type": "<string>",
"id": 123,
"body": "<string>",
"link": "<string>"
},
"renewed_end_date": "2023-12-25",
"next_renewal_date": "2023-12-25",
"days_till_expiry": 123,
"termination": {
"id": 123,
"number": 123,
"contract_id": 123,
"termination_type": "<string>",
"termination_date": "2023-12-25",
"transaction_id": 123,
"memo": "<string>",
"date": "2023-12-25",
"early_termination_fee": "<string>",
"early_termination_fee_item_id": 123,
"fee_invoice_id": 123,
"refund_amount": "<string>",
"refund_credit_account_id": 123
},
"change_orders": [],
"cached_metrics": {
"tcv": "<string>",
"mrr": "0",
"arr": "0",
"amount_invoiced_percentage": "<string>",
"revenue_recognized": "0",
"revenue_recognized_percentage": "<string>",
"next_invoice_date": "2023-12-25"
},
"has_usage_obligations": false,
"has_usages": false
}
],
"count": 123
}{
"errors": {},
"success": false
}