Merge · JSON Structure

Accounting Api Invoice Structure

An invoice from a connected accounting system.

Type: object Properties: 17
IntegrationsPlatformUnified APIAgent HandlerLLM Gateway

Invoice is a JSON Structure definition published by Merge, describing 17 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id remote_id type contact number issue_date due_date paid_on_date memo currency total_discount sub_total total_tax_amount total_amount balance status remote_was_deleted

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-structure/accounting-api-invoice-structure.json",
  "name": "Invoice",
  "description": "An invoice from a connected accounting system.",
  "type": "object",
  "properties": {
    "id": { "type": "uuid" },
    "remote_id": { "type": "string" },
    "type": { "type": "string", "enum": ["ACCOUNTS_RECEIVABLE", "ACCOUNTS_PAYABLE"] },
    "contact": { "type": "uuid" },
    "number": { "type": "string" },
    "issue_date": { "type": "datetime" },
    "due_date": { "type": "datetime" },
    "paid_on_date": { "type": "datetime" },
    "memo": { "type": "string" },
    "currency": { "type": "string" },
    "total_discount": { "type": "double" },
    "sub_total": { "type": "double" },
    "total_tax_amount": { "type": "double" },
    "total_amount": { "type": "double" },
    "balance": { "type": "double" },
    "status": { "type": "string", "enum": ["DRAFT", "SUBMITTED", "PARTIALLY_PAID", "PAID", "OVERDUE", "VOIDED"] },
    "remote_was_deleted": { "type": "boolean" }
  }
}