---
schema_version: "1"
id: 6d5c3172a2e3d1274698c3096ba51700f24d3b1c5b3963e47ec95d736e46acc3
title: SalesforceContract
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_salesforcecontract.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_salesforcecontract.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: d5cf1cc0de2121e777b5999c41d523ad5fe86612925af167e8cba17d73bc1002
description: Read-only virtual object used in the Your Account App. Represents contract information related to your organization’s Salesforce subscription.
---
# SalesforceContract

Read-only virtual object used in the Your Account App. Represents contract information related to your organization’s Salesforce subscription.

## Supported Calls

describeLayout(), describeSObjects(), query()

## Fields

| Field | Details |
| --- | --- |
| AutoRenewCode | 
Type

picklist

Properties

Filter, Group, Nillable, Restricted picklist, Sort

Description

Determines if contract renews automatically

Possible values are:

- No
- Yes





 |
| BillingAddressCity | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

Details for the billing address. Maximum size is 40 characters.



 |
| BillingAddressCountry | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

Details for the billing address of this contract. Maximum size is 80 characters.



 |
| BillingAddressPostalCode | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

Details for the billing address of this contract. Maximum size is 20 characters.



 |
| BillingAddressState | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

Details for the billing address of this contract. Maximum size is 80 characters.



 |
| BillingAddressStreet | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

Street address for the billing address of this contract.



 |
| BillingCompany | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

Name of the billing company.



 |
| BillingEmail | 

Type

email

Properties

Filter, Group, Nillable, Sort

Description

Email address for billing this contract.



 |
| BillingFrequency | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

Define billing periods.



 |
| BillingName | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

Contact name for this contract.



 |
| BillingPhone | 

Type

phone

Properties

Filter, Group, Nillable, Sort

Description

Phone number for billing this contract.



 |
| ContractId | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

ID for this contract.



 |
| ContractNumber | 

Type

string

Properties

Filter, Group, idLookup, Nillable, Sort

Description

Number of the contract.



 |
| CreditCardExpirationMonth | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

Month the credit card expires.



 |
| CreditCardExpirationYear | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

Year the credit card expires.



 |
| CreditCardNumber | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

16-digit credit card number.



 |
| CreditCardType | 

Type

picklist

Properties

Filter, Group, Nillable, Restricted picklist, Sort

Description

Credit card provider.

Possible values are:

- AmericanExpress—
- JCB
- MasterCard
- Visa





 |
| EndDate | 

Type

date

Properties

Filter, Group, Nillable, Sort

Description

End date of the contract.



 |
| ExternalId | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

External reference ID set by Salesforce.



 |
| FirstNameOnCreditCard | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

Cardholder’s first name on the credit card.



 |
| LastNameOnCreditCard | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

Cardholder’s last name on the credit card.



 |
| PaymentTerm | 

Type

picklist

Properties

Filter, Group, Nillable, Restricted picklist, Sort

Description

Payment terms definition.

Possible values are:

- Net0—Due upon receipt
- Net10—DD-Germany: Net 10
- Net30—
- Net30EOM—JP-Net 30 EOM
- Net45—
- Net60—
- Net60EOM—JP-Net 60 EOM





 |
| PaymentType | 

Type

picklist

Properties

Filter, Group, Nillable, Restricted picklist, Sort

Description

Payment type definition.

Possible values are:

- Check
- CreditCard—
- DirectDebit—
- WireTransfer—





 |
| SalesforceContractStatus | 

Type

picklist

Properties

Filter, Group, Nillable, Restricted picklist, Sort

Description

The status of the contract

Possible values are:

- Activated
- Draft
- Expired
- Terminated
- inApproval—





 |
| ShippingAddressCity | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

Details of the shipping address. City maximum size is 40 characters.



 |
| ShippingAddressCountry | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

Details of the shipping address. Country maximum size is 80 characters.



 |
| ShippingAddressPostalCode | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

Details of the shipping address. Postal code maximum size is 20 characters.



 |
| ShippingAddressState | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

Details of the shipping address. State maximum size is 80 characters.



 |
| ShippingAddressStreet | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The street address of the shipping address. Maximum of 255 characters.



 |
| StartDate | 

Type

date

Properties

Filter, Group, Nillable, Sort

Description

Start date of the contract.



 |
| SubscriptionDaysLeft | 

Type

int

Properties

Filter, Group, Nillable, Sort

Description

Days remaining for this subscription.



 |

## Usage

Used by Your Account to manage contracts related to your organization’s Salesforce subscription. Read-only.

## Associated Objects

This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.

[SalesforceInvoice](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_salesforceinvoice.htm "Read-only virtual object used in the Your Account App. Represents information about your organization’s invoices with Salesforce.")

[SalesforcePayment](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_salesforcepayment.htm "Read-only virtual object used in the Your Account App. Represents information about payments related to your organization’s Salesforce invoice.")

[SalesforceQuote](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_salesforcequote.htm "Read-only virtual object used in the Your Account App. Represents information about your organization’s quotes with Salesforce.")