Unified.to · Schema

AccountingBill

IntegrationsUnified API

Properties

Name Type Description
attachments object
balance_amount number
bill_number string
cancelled_at string
contact_id string
created_at string
currency string
discount_amount number
due_at string
id string
lineitems object
notes string
organization_id string
paid_amount number
paid_at string
payment_collection_method string
posted_at string
raw object
refund_amount number
refund_reason string
refunded_at string
send boolean
status string
tax_amount number
total_amount number
updated_at string
url string
View JSON Schema on GitHub

JSON Schema

unified-to-accountingbill-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AccountingBill",
  "title": "AccountingBill",
  "properties": {
    "attachments": {
      "$ref": "#/components/schemas/property_AccountingBill_attachments"
    },
    "balance_amount": {
      "type": "number"
    },
    "bill_number": {
      "type": "string"
    },
    "cancelled_at": {
      "format": "date-time",
      "type": "string"
    },
    "contact_id": {
      "type": "string"
    },
    "created_at": {
      "format": "date-time",
      "type": "string"
    },
    "currency": {
      "type": "string"
    },
    "discount_amount": {
      "type": "number"
    },
    "due_at": {
      "format": "date-time",
      "type": "string"
    },
    "id": {
      "type": "string"
    },
    "lineitems": {
      "$ref": "#/components/schemas/property_AccountingBill_lineitems"
    },
    "notes": {
      "type": "string"
    },
    "organization_id": {
      "type": "string"
    },
    "paid_amount": {
      "type": "number"
    },
    "paid_at": {
      "format": "date-time",
      "type": "string"
    },
    "payment_collection_method": {
      "enum": [
        "send_invoice",
        "charge_automatically"
      ],
      "type": "string",
      "x-speakeasy-unknown-values": "allow"
    },
    "posted_at": {
      "format": "date-time",
      "type": "string"
    },
    "raw": {
      "additionalProperties": true,
      "type": "object"
    },
    "refund_amount": {
      "type": "number"
    },
    "refund_reason": {
      "type": "string"
    },
    "refunded_at": {
      "format": "date-time",
      "type": "string"
    },
    "send": {
      "type": "boolean"
    },
    "status": {
      "enum": [
        "DRAFT",
        "VOIDED",
        "AUTHORIZED",
        "PAID",
        "PARTIALLY_PAID",
        "PARTIALLY_REFUNDED",
        "REFUNDED",
        "SUBMITTED",
        "DELETED",
        "OVERDUE"
      ],
      "type": "string",
      "x-speakeasy-unknown-values": "allow"
    },
    "tax_amount": {
      "type": "number"
    },
    "total_amount": {
      "type": "number"
    },
    "updated_at": {
      "format": "date-time",
      "type": "string"
    },
    "url": {
      "type": "string"
    }
  },
  "type": "object"
}