Zoho Inventory · Schema

Invoices

An invoice is a statement of items sold by a seller. It includes all the details of sale including units of goods, price of goods sold, shipping details, etc.

Inventory ManagementWarehousingSales OrdersPurchase OrdersStock AdjustmentShipmentsItemsE-commerce
View JSON Schema on GitHub

JSON Schema

invoices.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Invoices",
  "description": "An invoice is a statement of items sold by a seller. It includes all the details of sale including units of goods, price of goods sold, shipping details, etc.",
  "definitions": {
    "gendoc-attributes-schema": {
      "$ref": "#/components/schemas/invoice-response"
    },
    "invoice-response": {
      "type": "object",
      "properties": {
        "invoice_id": {
          "$ref": "#/components/schemas/invoice_id"
        },
        "ach_payment_initiated": {
          "$ref": "#/components/schemas/ach_payment_initiated"
        },
        "invoice_number": {
          "$ref": "#/components/schemas/invoice_number"
        },
        "date": {
          "$ref": "#/components/schemas/date"
        },
        "status": {
          "$ref": "#/components/schemas/status"
        },
        "payment_terms": {
          "$ref": "#/components/schemas/payment_terms"
        },
        "payment_terms_label": {
          "$ref": "#/components/schemas/payment_terms_label"
        },
        "due_date": {
          "$ref": "#/components/schemas/due_date"
        },
        "payment_expected_date": {
          "$ref": "#/components/schemas/payment_expected_date"
        },
        "last_payment_date": {
          "$ref": "#/components/schemas/last_payment_date"
        },
        "reference_number": {
          "$ref": "#/components/schemas/reference_number"
        },
        "customer_id": {
          "$ref": "#/components/schemas/customer_id"
        },
        "customer_name": {
          "$ref": "#/components/schemas/customer_name"
        },
        "contact_persons_associated": {
          "$ref": "#/components/schemas/contact_persons_associated"
        },
        "currency_id": {
          "$ref": "#/components/schemas/currency_id"
        },
        "currency_code": {
          "$ref": "#/components/schemas/currency_code"
        },
        "exchange_rate": {
          "$ref": "#/components/schemas/exchange_rate"
        },
        "discount": {
          "$ref": "#/components/schemas/discount"
        },
        "is_discount_before_tax": {
          "$ref": "#/components/schemas/is_discount_before_tax"
        },
        "discount_type": {
          "$ref": "#/components/schemas/discount_type"
        },
        "is_inclusive_tax": {
          "$ref": "#/components/schemas/is_inclusive_tax"
        },
        "recurring_invoice_id": {
          "$ref": "#/components/schemas/recurring_invoice_id"
        },
        "is_viewed_by_client": {
          "$ref": "#/components/schemas/is_viewed_by_client"
        },
        "has_attachment": {
          "$ref": "#/components/schemas/has_attachment"
        },
        "client_viewed_time": {
          "$ref": "#/components/schemas/client_viewed_time"
        },
        "line_items": {
          "description": "Items listed in invoice",
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "line_item_id": {
                "$ref": "#/components/schemas/line_item_id"
              },
              "item_id": {
                "$ref": "#/components/schemas/item_id"
              },
              "project_id": {
                "$ref": "#/components/schemas/project_id"
              },
              "sat_item_key_code": {
                "$ref": "#/components/schemas/sat_item_key_code"
              },
              "unitkey_code": {
                "$ref": "#/components/schemas/unitkey_code"
              },
              "time_entry_ids": {
                "$ref": "#/components/schemas/time_entry_ids"
              },
              "expense_id": {
                "$ref": "#/components/schemas/expense_id"
              },
              "expense_receipt_name": {
                "$ref": "#/components/schemas/expense_receipt_name"
              },
              "name": {
                "$ref": "#/components/schemas/name"
              },
              "description": {
                "$ref": "#/components/schemas/description"
              },
              "item_order": {
                "$ref": "#/components/schemas/item_order"
              },
              "bcy_rate": {
                "$ref": "#/components/schemas/bcy_rate"
              },
              "rate": {
                "$ref": "#/components/schemas/rate"
              },
              "quantity": {
                "$ref": "#/components/schemas/quantity"
              },
              "unit": {
                "$ref": "#/components/schemas/unit"
              },
              "discount_amount": {
                "$ref": "#/components/schemas/discount_amount"
              },
              "discount": {
                "$ref": "#/components/schemas/discount"
              },
              "tax_id": {
                "$ref": "#/components/schemas/tax_id"
              },
              "tds_tax_id": {
                "$ref": "#/components/schemas/tds_tax_id"
              },
              "tax_name": {
                "$ref": "#/components/schemas/tax_name"
              },
              "tax_type": {
                "$ref": "#/components/schemas/tax_type"
              },
              "tax_percentage": {
                "$ref": "#/components/schemas/tax_percentage"
              },
              "item_total": {
                "$ref": "#/components/schemas/item_total"
              },
              "location_id": {
                "$ref": "#/components/schemas/location_id"
              },
              "location_name": {
                "$ref": "#/components/schemas/location_name"
              },
              "hsn_or_sac": {
                "$ref": "#/components/schemas/hsn_or_sac"
              },
              "is_combo_product": {
                "$ref": "#/components/schemas/is_combo_product"
              },
              "combo_type": {
                "$ref": "#/components/schemas/combo_type"
              },
              "mapped_items": {
                "$ref": "#/components/schemas/mapped_items"
              },
              "serial_numbers": {
                "$ref": "#/components/schemas/serial_numbers"
              },
              "batches": {
                "$ref": "#/components/schemas/batches-response"
              },
              "storages": {
                "$ref": "#/components/schemas/storages-response"
              },
              "item_custom_fields": {
                "$ref": "#/components/schemas/item_custom_fields"
              }
            }
          }
        },
        "location_id": {
          "$ref": "#/components/schemas/location_id"
        },
        "location_name": {
          "$ref": "#/components/schemas/location_name"
        },
        "shipping_charge": {
          "$ref": "#/components/schemas/shipping_charge"
        },
        "adjustment": {
          "$ref": "#/components/schemas/adjustment"
        },
        "adjustment_description": {
          "$ref": "#/components/schemas/adjustment_description"
        },
        "sub_total": {
          "$ref": "#/components/schemas/sub_total"
        },
        "tax_total": {
          "$ref": "#/components/schemas/tax_total"
        },
        "total": {
          "$ref": "#/components/schemas/total"
        },
        "taxes": {
          "$ref": "#/components/schemas/taxes"
        },
        "payment_reminder_enabled": {
          "$ref": "#/components/schemas/payment_reminder_enabled"
        },
        "payment_made": {
          "$ref": "#/components/schemas/payment_made"
        },
        "credits_applied": {
          "$ref": "#/components/schemas/credits_applied"
        },
        "tax_amount_withheld": {
          "$ref": "#/components/schemas/tax_amount_withheld"
        },
        "balance": {
          "$ref": "#/components/schemas/balance"
        },
        "write_off_amount": {
          "$ref": "#/components/schemas/write_off_amount"
        },
        "allow_partial_payments": {
          "$ref": "#/components/schemas/allow_partial_payments"
        },
        "price_precision": {
          "$ref": "#/components/schemas/price_precision"
        },
        "payment_options": {
          "$ref": "#/components/schemas/payment_options"
        },
        "is_emailed": {
          "$ref": "#/components/schemas/is_emailed"
        },
        "reminders_sent": {
          "$ref": "#/components/schemas/reminders_sent"
        },
        "last_reminder_sent_date": {
          "$ref": "#/components/schemas/last_reminder_sent_date"
        },
        "billing_address": {
          "$ref": "#/components/schemas/billing_address"
        },
        "shipping_address": {
          "$ref": "#/components/schemas/shipping_address"
        },
        "notes": {
          "$ref": "#/components/schemas/notes"
        },
        "terms": {
          "$ref": "#/components/schemas/terms"
        },
        "custom_fields": {
          "$ref": "#/components/schemas/custom_fields"
        },
        "template_id": {
          "$ref": "#/components/schemas/template_id"
        },
        "template_name": {
          "$ref": "#/components/schemas/template_name"
        },
        "created_time": {
          "$ref": "#/components/schemas/created_time"
        },
        "last_modified_time": {
          "$ref": "#/components/schemas/last_modified_time"
        },
        "attachment_name": {
          "$ref": "#/components/schemas/attachment_name"
        },
        "can_send_in_mail": {
          "$ref": "#/components/schemas/can_send_in_mail"
        },
        "salesperson_id": {
          "$ref": "#/components/schemas/salesperson_id"
        },
        "salesperson_name": {
          "$ref": "#/components/schemas/salesperson_name"
        },
        "invoice_url": {
          "$ref": "#/components/schemas/invoice_url"
        },
        "is_pre_gst": {
          "$ref": "#/components/schemas/is_pre_gst"
        },
        "gst_no": {
          "$ref": "#/components/schemas/gst_no"
        },
        "gst_treatment": {
          "$ref": "#/components/schemas/gst_treatment"
        },
        "place_of_supply": {
          "$ref": "#/components/schemas/place_of_supply"
        },
        "tax_treatment": {
          "$ref": "#/components/schemas/tax_treatment"
        },
        "cfdi_usage": {
          "$ref": "#/components/schemas/cfdi_usage"
        },
        "cfdi_reference_type": {
          "$ref": "#/components/schemas/cfdi_reference_type"
        },
        "reference_invoice_id": {
          "description": "Associate the reference invoice.",
          "type": "string",
          "example": "132738000000126013",
          "x-node_available_in": [
            "mx"
          ],
          "x-node_unavailable_in": []
        }
      }
    },
    "show_comment_to_clients": {
      "description": "Boolean to check if the comment to be shown to the clients",
      "type": "boolean",
      "example": true
    },
    "ignore_auto_number_generation": {
      "description": "Ignore auto invoice number generation for this invoice. This mandates the invoice number. Allowed values <code>true</code> and <code>false</code>",
      "type": "boolean"
    },
    "send": {
      "description": "Send the invoice to the contact person(s) associated with the invoice. Allowed values <code>true</code> and <code>false</code>.",
      "type": "boolean"
    },
    "location_id": {
      "description": "Location ID",
      "type": "string",
      "example": "460000000038080"
    },
    "location_name": {
      "description": "Name of the location",
      "type": "string"
    },
    "organization_contact_id": {
      "description": "ID of the contact's organisation",
      "type": "string",
      "example": "2000000002266"
    },
    "is_org_email_id": {
      "description": "To check if the email ID belongs to the organisation",
      "type": "boolean",
      "example": true
    },
    "comments": {
      "description": "The details of the comments",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "commented_by_id": {
      "description": "Sorting by ID of the comment",
      "type": "string",
      "example": 982000000554041
    },
    "comment_type": {
      "description": "Type of the comment",
      "type": "string",
      "example": "system"
    },
    "commented_by": {
      "description": "Individual who made a comment",
      "type": "string",
      "example": "John David"
    },
    "date_description": {
      "description": "Number of days since the comment was made",
      "type": "string",
      "example": "yesterday"
    },
    "time": {
      "description": "Time of the comment",
      "type": "string",
      "example": "2:02 AM"
    },
    "operation_type": {
      "description": "Type of operation done on the invoice",
      "type": "string",
      "example": "Added"
    },
    "transaction_id": {
      "description": "Unique ID of the transaction",
      "type": "string",
      "example": " "
    },
    "transaction_type": {
      "description": "Type of the transaction",
      "type": "string",
      "example": "invoice"
    },
    "online_transaction_id": {
      "description": "Unique ID of an online transaction",
      "type": "string",
      "example": ""
    },
    "comment_id": {
      "description": "The ID of the comment",
      "type": "string",
      "example": 982000000567019
    },
    "invoice_payments": {
      "description": "Invoice payment list",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "apply_creditnotes": {
      "description": "Apply existing credit note of a customer against the invoice",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "preview": {
      "description": "Get the thumbnail of the attachment.",
      "type": "boolean"
    },
    "credits": {
      "description": "The list of credits",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "creditnote_id": {
      "description": "The ID of creditnote",
      "type": "string",
      "example": 982000000567134
    },
    "creditnotes_invoice_id": {
      "description": "The creditnotes invoice ID",
      "type": "string",
      "example": "982000000567172"
    },
    "creditnotes_number": {
      "description": "The creditnotes Number",
      "type": "string",
      "example": "CN-00001"
    },
    "credited_date": {
      "description": "The date of credit",
      "type": "string",
      "example": "2013-11-18"
    },
    "amount_applied": {
      "description": "The amount applied to a creditnote",
      "type": "number",
      "format": "float",
      "example": 12.2
    },
    "payments": {
      "description": "The list of payments",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "payment_id": {
      "description": "The ID of the payment",
      "type": "string",
      "example": 982000000567190
    },
    "payment_number": {
      "description": "The payment Serial Number",
      "type": "integer",
      "example": 7
    },
    "invoice_payment_id": {
      "description": "The invoice payment ID",
      "type": "string",
      "example": 982000000567192
    },
    "payment_mode": {
      "description": "The mode of payment for the invoice",
      "type": "string",
      "example": "cash"
    },
    "amount": {
      "description": "The amount in the payment of invoice",
      "type": "number",
      "format": "float",
      "example": 10.57
    },
    "is_single_invoice_payment": {
      "description": "To check if invoice is paid in a single payment or multiple payments",
      "type": "boolean",
      "example": true
    },
    "to_mails_str": {
      "description": "Mail recepients",
      "type": "string",
      "example": ""
    },
    "cc_mails_str": {
      "description": "Mail recepients who need to be CC'd",
      "type": "string",
      "example": ""
    },
    "from_email": {
      "description": "Mail sender",
      "type": "string",
      "example": ""
    },
    "from_address": {
      "description": "Sender's email address",
      "type": "string",
      "example": ""
    },
    "emailtemplate_documents": {
      "description": "Email templates used",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "file_name_without_extension": {
      "description": "Name of file included",
      "type": "string",
      "example": "INV-000004"
    },
    "print": {
      "description": "Print the exported pdf.",
      "type": "boolean"
    },
    "accept": {
      "description": "Get the details of a particular invoice in formats such as json/ pdf/ html. Default format is json. Allowed values <code>json</code> <code>pdf</code> and <code>html</code>",
      "type": "string"
    },
    "templates": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "template_type": {
      "description": "The type of template type",
      "type": "string",
      "example": "classic"
    },
    "error_list": {
      "description": "Error List",
      "type": "array",
      "items": {
        "type": "string"
      },
      "example": []
    },
    "file_name": {
      "description": "Name of the file attached",
      "type": "string",
      "example": "INV-00001.pdf"
    },
    "to_contacts": {
      "description": "Email recepients",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "contact_person_name": {
      "description": "Name of the Contact Person",
      "type": "string",
      "example": "David"
    },
    "first_name": {
      "description": "First Name of the Contact Person",
      "type": "string",
      "example": "David"
    },
    "phone": {
      "description": "Phone Number of the Contact Person",
      "type": "string",
      "example": "+1-925-921-9201"
    },
    "last_name": {
      "description": "Last Name of the Contact Person",
      "type": "string",
      "example": "John"
    },
    "salutation": {
      "description": "Salutation of the Contact Person",
      "type": "string",
      "example": "Mr"
    },
    "contact_person_id": {
      "description": "Unique ID of the Contact Person",
      "type": "string",
      "example": 982000000567003
    },
    "contact_person_email": {
      "description": "Email ID of the Contact Person.",
      "type": "string",
      "example": "[email protected]"
    },
    "mobile": {
      "description": "Mobile Number of the Contact Person",
      "type": "string",
      "example": "+1-4054439562"
    },
    "from_emails": {
      "description": "Email sender address",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "user_name": {
      "description": "User name of the contact",
      "type": "string",
      "example": "David John"
    },
    "emailtemplates": {
      "description": "Email template used to send invoice",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "gateways_configured": {
      "description": "List of payment gateways configured",
      "type": "boolean",
      "example": true
    },
    "deprecated_placeholders_used": {
      "description": "List of placeholders used in invoice",
      "type": "array",
      "items": {
        "type": "string"
      },
      "example": []
    },
    "email_template_id": {
      "description": "Get the email content based on a specific email template. If this param is not inputted, then the content will be based on the email template associated with the customer. If no template is associated with the customer, then default template will be used.",
      "type": "string"
    },
    "invoice_ids": {
      "description": "Comma separated invoice ids which are to be emailed.",
      "type": "string"
    },
    "contacts": {
      "description": "Contacts to whom email or snail mail has to be sent.",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "contact_id": {
      "description": "ID of the contact. Can specify if email or snail mail has to be sent for each contact.",
      "type": "string",
      "example": 460000000026049
    },
    "snail_mail": {
      "description": "the boolean check for snail mail",
      "type": "boolean",
      "example": false
    },
    "attachment": {
      "description": "The file to be attached",
      "type": "string",
      "format": "binary"
    },
    "send_customer_statement": {
      "description": "Send customer statement pdf a with email.",
      "type": "boolean",
      "example": " "
    },
    "send_attachment": {
      "description": "Send the invoice attachment a with the email.",
      "type": "boolean",
      "example": " "
    },
    "cc_mail_ids": {
      "description": "Array of email addresses of the recipients to be CC'd.",
      "type": "array",
      "items": {
        "type": "string"
      },
      "example": [
        "[email protected]"
      ]
    },
    "to_mail_ids": {
      "description": "Array of email addresses of the recipients.",
      "type": "array",
      "items": {
        "type": "string"
      },
      "example": [
        "[email protected]"
      ]
    },
    "subject": {
      "description": "The subject of the mail",
      "type": "string",
      "example": "Invoice from Zillium Inc (Invoice#: INV-00001)"
    },
    "body": {
      "description": "The body/content of the mail",
      "type": "string",
      "example": "Dear Customer,         <br><br><br><br>Thanks for your business.         <br><br><br><br>The invoice INV-00001 is attached with this email. You can choose the easy way out and <a href= https://invoice.zoho.com/SecurePayment?CInvoiceID=b9800228e011ae86abe71227bdacb3c68e1af685f647dcaed747812e0b9314635e55ac6223925675b371fcbd2d5ae3dc  >pay online for this invoice.</a>         <br><br>Here's an overview of the invoice for your reference.         <br><br><br><br>Invoice Overview:         <br><br>Invoice  : INV-00001         <br><br>Date : 05 Aug 2013         <br><br>Amount : $541.82         <br><br><br><br>It was great working with you. Looking forward to working with you again.<br><br><br>\\nRegards<br>\\nZillium Inc<br>\\n\","
    },
    "send_from_org_email_id": {
      "description": "Boolean to trigger the email from the organization's email address",
      "type": "boolean",
      "example": false
    },
    "attachments": {
      "description": "Files to be attached to the email",
      "type": "string",
      "format": "binary"
    },
    "reason": {
      "description": "Description of the attachment",
      "type": "string",
      "example": " "
    },
    "custom_subject": {
      "description": "Customized Subject line",
      "type": "string",
      "example": " "
    },
    "custom_body": {
      "description": "Customized email content",
      "type": "string",
      "example": " "
    },
    "invoiced_estimate_id": {
      "description": "ID of the invoice from which the invoice is created.",
      "type": "string",
      "example": " "
    },
    "can_send_in_mail": {
      "description": "To check if attachment can be sent in email",
      "type": "boolean",
      "example": true
    },
    "invoice_url": {
      "description": "Url of invoice as a link",
      "type": "string",
      "example": "https://invoice.zoho.com/SecurePayment?CInvoiceID=23d84d0cf64f9a72ea0c66fded25a08c8bafd0ab508aff05323a9f80e2cd03fdc5dd568d3d6407bbda969d3e870d740b6fce549a9438c4ea"
    },
    "attachment_name": {
      "description": "Name of the file attached",
      "type": "string",
      "example": " "
    },
    "last_modified_time": {
      "description": "Date of last modification of the invoice",
      "type": "string",
      "example": "2013-11-18"
    },
    "salesperson_id": {
      "description": "ID of the salesperson linked to invoice",
      "type": "string",
      "example": " "
    },
    "salesperson_name": {
      "description": "Name of the salesperson. Maximum length [200]",
      "type": "string",
      "example": " "
    },
    "created_time": {
      "description": "The time of creation of the invoices",
      "type": "string",
      "example": "2013-11-18"
    },
    "template_id": {
      "description": "ID of the pdf template associated with the invoice.",
      "type": "string",
      "example": 982000000000143
    },
    "template_name": {
      "description": "Name of the invoice template used",
      "type": "string",
      "example": "Service - Classic"
    },
    "bcc_mails": {
      "description": "Bcc mail details",
      "type": "array",
      "items": {
        "type": "string"
      },
      "example": ""
    },
    "gateways_associated": {
      "description": "List of Payment gateways associated",
      "type": "boolean",
      "example": true
    },
    "bcc_mails_str": {
      "description": "Bcc mails content",
      "type": "string",
      "example": ""
    },
    "attach_pdf": {
      "description": "check if PDF attachment",
      "type": "boolean",
      "example": true
    },
    "entity_id": {
      "description": "Unique ID of the entity associated",
      "type": "string",
      "example": "2000000007037"
    },
    "show_on_pdf": {
      "description": "Boolean value to check if the custom field is to be dispplayed on the pdf.",
      "type": "boolean",
      "example": false
    },
    "value": {
      "description": "Value of the custom field like VAT Id etc.",
      "type": "string",
      "example": "The value of the custom field"
    },
    "label": {
      "description": "The label of the custom field.",
      "type": "string",
      "example": "Delivery Date"
    },
    "billing_address_id": {
      "description": "Unique Id generated by the server for address in contacts page. To add a billing address to invoice, send the address_id using this node. Else, the default billing address for that contact is used",
      "type": "string",
      "example": 4815000000017005
    },
    "shipping_address_id": {
      "description": "Unique Id generated by the server for address in contacts page. To add a shipping address to invoice, send the address_id using this node. Else, the default shipping address for that contact is used",
      "type": "string",
      "example": 4815000000017005
    },
    "address": {
      "description": "Billing address for the invoice",
      "type": "string",
      "example": "4900 Hopyard Rd, Suite 310"
    },
    "city": {
      "description": "City of the customer's billing address.",
      "type": "string",
      "example": "Pleasanton"
    },
    "state": {
      "description": "State of the customer's billing address.",
      "type": "string",
      "example": "CA"
    },
    "zip": {
      "description": "Zip code of the customer's billing address.",
      "type": "string",
      "example": 94588
    },
    "country": {
      "description": "Country of the customer's billing address.",
      "type": "string",
      "example": "U.S.A"
    },
    "fax": {
      "description": "Customer's fax number.",
      "type": "string",
      "example": "+1-925-924-9600"
    },
    "notes": {
      "description": "The notes added below expressing gratitude or for conveying some information.",
      "type": "string",
      "example": "Looking forward for your business."
    },
    "terms": {
      "description": "The terms added below expressing gratitude or for conveying some information.",
      "type": "string",
      "example": "Terms & Conditions apply"
    },
    "is_emailed": {
      "description": "Boolean check to see if the mail has been sent",
      "type": "boolean",
      "example": false
    },
    "reminders_sent": {
      "description": "The number of reminders sent",
      "type": "integer",
      "example": 1
    },
    "last_reminder_sent_date": {
      "description": "The date the last email was sent",
      "type": "string",
      "example": " "
    },
    "salesorder_item_id": {
      "description": "Pass the unique ID(line_item_id) generated by the server for the line item in sales order for this node to associate this invoice with the sales order",
      "type": "string",
      "example": 4815000000017009
    },
    "shipping_charge": {
      "description": "Shipping charges applied to the invoice. Maximum length [100]",
      "type": "string",
      "example": 0
    },
    "adjustment": {
      "description": "Adjustments made to the invoice.",
      "type": "number",
      "format": "double",
      "example": 0
    },
    "adjustment_description": {
      "description": "Customize the adjustment description. E.g. Rounding off.",
      "type": "string",
      "example": " "
    },
    "sub_total": {
      "description": "The sub total of the all items",
      "type": "number",
      "format": "float",
      "example": 153
    },
    "tax_total": {
      "description": "The total amount of the tax levied",
      "type": "number",
      "format": "double",
      "example": 22.6
    },
    "price_precision": {
      "description": "The precision value on the price",
      "type": "integer",
      "example": 2
    },
    "taxes": {
      "description": "List of the taxes levied",
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "tax_name": {
            "$ref": "#/components/schemas/tax_name"
          },
          "tax_amount": {
            "$ref": "#/components/schemas/tax_amount"
          }
        }
      }
    },
    "payment_reminder_enabled": {
      "description": "Boolean to check if reminders have been enabled",
      "type": "boolean",
      "example": true
    },
    "payment_made": {
      "description": "The amount paid",
      "type": "number",
      "format": "float",
      "example": 26.91
    },
    "credits_applied": {
      "description": "The credits applied",
      "type": "number",
      "format": "float",
      "example": 22.43
    },
    "tax_amount_withheld": {
      "description": "The tax amount which has been withheld",
      "type": "number",
      "format": "float",
      "example": 0
    },
    "write_off_amount": {
      "description": "The write off amount. i.e. the amount which is not expected to be returned. Like a bad debt",
      "type": "number",
      "format": "float",
      "example": 0
    },
    "allow_partial_payments": {
      "description": "Boolean to check if partial payments are allowed for the contact",
      "type": "boolean",
      "example": true
    },
    "configured": {
      "description": "Boolean check to see if a payment gateway has been configured",
      "type": "boolean",
      "example": true
    },
    "additional_field1": {
      "description": "Paypal payment method. Allowed Values: <code>standard</code> and <code>adaptive</code>",
      "type": "string",
      "example": "standard"
    },
    "gateway_name": {
      "description": "Name of the payment gateway associated with the invoice. E.g. paypal, stripe.Allowed Values: <code>paypal</code>, <code>authorize_net</code>, <code>payflow_pro</code>, <code>stripe</code>, <code>2checkout</code> and <code>braintree</code>",
      "type": "string",
      "example": "paypal"
    },
    "payment_terms": {
      "description": "Payment terms in days e.g. 15, 30, 60. Invoice due date will be calculated based on this. Maximum length [100]",
      "type": "integer",
      "example": 15
    },
    "payment_terms_label": {
      "description": "Used to override the default payment terms label. Default value for 15 days is \"Net 15 Days\". Maximum length [100]",
      "type": "string",
      "example": "Net 15"
    },
    "email": {
      "description": "contact's email id. Maximum length [100]",
      "type": "string",
      "example": "[email protected]"
    },
    "is_primary_contact": {
      "description": "To mark contact person as primary for contact"
    },
    "is_email_enabled": {
      "description": "Used to check if Email communication preference is enabled for the contact person at transaction level.",
      "type": "boolean",
      "example": true
    },
    "is_sms_enabled": {
      "description": "Used to check if SMS communication preference is enabled for the contact person at transaction level.",
      "type": "boolean",
      "example": true,
      "x-node_available_in": [
        "SMS integration"
      ]
    },
    "is_whatsapp_enabled": {
      "description": "Used to check if WhatsApp communication preference is enabled for the contact person at transaction level.",
      "type": "boolean",
      "example": true,
      "x-node_available_in": [
        "WhatsApp integration"
      ]
    },
    "communicatio

# --- truncated at 32 KB (149 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/zoho-inventory/refs/heads/main/json-schema/invoices.json