> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://developer.tradespace.io/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developer.tradespace.io/_mcp/server.

# Organization

GraphQL object

An external organization the account works with, such as a company, funder, or law firm.

Reference: https://developer.tradespace.io/api-reference/types/objects/organization

## Fields

- `archivedAt` — The date the organization was archived. Returns null if the organization is active.
- `archivedByUser` — The user who archived the organization.
- `billsCount` — The number of bills from the organization.
- `commentsCount` — The number of comments on the organization.
- `createdAt` — The organization's creation date.
- `createdByUser` — The user who created the organization.
- `createdByUserId` — The unique identifier of the user who created the organization.
- `description` — The organization's description.
- `domain` — The organization's primary web domain.
- `email` — The organization's email address.
- `expensesCount` — The number of expenses attributed to the organization.
- `federalAgencyCode` — The organization's federal agency code, used in iEdison reporting.
- `filingsCount` — The number of filings linked to the organization.
- `hqCountryCode` — The ISO 3166-1 alpha-2 country code of the organization's headquarters.
- `id` — The organization's unique identifier.
- `invoicesCount` — The number of invoices sent to the organization.
- `legalName` — The organization's registered legal name.
- `logoUrl` — The URL of the organization's logo.
- `name` — The organization's name.
- `organizationAddresses` — The organization's postal addresses.
- `organizationRelationships` — The relationship types the account has with the organization.
- `paymentDueDays` — The organization's default payment terms in days.
- `paymentsCount` — The number of payments involving the organization.
- `phoneNumber` — The organization's phone number.
- `receivablesCount` — The number of receivables from the organization.
- `taxIdNumber` — The organization's tax identification number.
- `totalAmountPaid` — The total amount paid by the organization.
- `typeEnum` — The organization's type.
- `updatedAt` — The date the organization was last updated.
- `updatedByUser` — The user who last updated the organization.
- `updatedByUserId` — The unique identifier of the user who last updated the organization.
- `website` — The organization's website URL.

## Definition

```graphql
type Organization {
  archivedAt: ISO8601DateTime
  archivedByUser: User
  billsCount: Int
  commentsCount: Int
  createdAt: ISO8601DateTime!
  createdByUser: User
  createdByUserId: String
  description: String
  domain: String
  email: String
  expensesCount: Int
  federalAgencyCode: String
  filingsCount: Int
  hqCountryCode: String
  id: String!
  invoicesCount: Int
  legalName: String
  logoUrl: String
  name: String
  organizationAddresses: [OrganizationAddress!]!
  organizationRelationships: [OrganizationRelationship!]!
  paymentDueDays: Int
  paymentsCount: Int
  phoneNumber: String
  receivablesCount: Int
  taxIdNumber: String
  totalAmountPaid: Float
  typeEnum: OrganizationTypeEnum
  updatedAt: ISO8601DateTime!
  updatedByUser: User
  updatedByUserId: String
  website: String
}
```