Zoho Inventory · Schema
Vendor Credits
Vendor credits are credits that you receive from your vendor, and is treated as an equivalent of physical cash that the vendor owes you. This helps you track the money you're owed until it is either paid by said vendor at a later date i.e refunded, or subtracted from any future bill amount due to that vendor.
Inventory ManagementWarehousingSales OrdersPurchase OrdersStock AdjustmentShipmentsItemsE-commerce
JSON Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Vendor Credits",
"description": "Vendor credits are credits that you receive from your vendor, and is treated as an equivalent of physical cash that the vendor owes you. This helps you track the money you're owed until it is either paid by said vendor at a later date i.e refunded, or subtracted from any future bill amount due to that vendor.",
"definitions": {
"gendoc-attributes-schema": {
"$ref": "#/components/schemas/vendor_credit-response"
},
"vendor_credit-response": {
"type": "object",
"properties": {
"vendor_credit_id": {
"$ref": "#/components/schemas/vendor_credit_id"
},
"vendor_credit_number": {
"$ref": "#/components/schemas/vendor_credit_number"
},
"date": {
"$ref": "#/components/schemas/date"
},
"source_of_supply": {
"$ref": "#/components/schemas/source_of_supply"
},
"destination_of_supply": {
"$ref": "#/components/schemas/destination_of_supply"
},
"place_of_supply": {
"$ref": "#/components/schemas/place_of_supply"
},
"gst_no": {
"$ref": "#/components/schemas/gst_no"
},
"gst_treatment": {
"$ref": "#/components/schemas/gst_treatment"
},
"tax_treatment": {
"$ref": "#/components/schemas/tax_treatment"
},
"pricebook_id": {
"$ref": "#/components/schemas/pricebook_id"
},
"is_reverse_charge_applied": {
"$ref": "#/components/schemas/is_reverse_charge_applied"
},
"status": {
"$ref": "#/components/schemas/status"
},
"reference_number": {
"$ref": "#/components/schemas/reference_number"
},
"vendor_id": {
"$ref": "#/components/schemas/vendor_id"
},
"vendor_name": {
"$ref": "#/components/schemas/vendor_name"
},
"currency_id": {
"$ref": "#/components/schemas/currency_id"
},
"currency_code": {
"$ref": "#/components/schemas/currency_code"
},
"exchange_rate": {
"$ref": "#/components/schemas/exchange_rate"
},
"price_precision": {
"$ref": "#/components/schemas/price_precision"
},
"vat_treatment": {
"$ref": "#/components/schemas/vat_treatment"
},
"filed_in_vat_return_id": {
"$ref": "#/components/schemas/filed_in_vat_return_id"
},
"filed_in_vat_return_name": {
"$ref": "#/components/schemas/filed_in_vat_return_name"
},
"filed_in_vat_return_type": {
"$ref": "#/components/schemas/filed_in_vat_return_type"
},
"is_inclusive_tax": {
"$ref": "#/components/schemas/is_inclusive_tax"
},
"location_id": {
"$ref": "#/components/schemas/location_id"
},
"location_name": {
"$ref": "#/components/schemas/location_name"
},
"line_items": {
"description": "Line items of a vendor credit.",
"type": "object",
"properties": {
"item_id": {
"$ref": "#/components/schemas/item_id"
},
"line_item_id": {
"$ref": "#/components/schemas/line_item_id"
},
"sku": {
"$ref": "#/components/schemas/sku"
},
"account_id": {
"$ref": "#/components/schemas/account_id"
},
"product_type": {
"$ref": "#/components/schemas/product_type"
},
"location_id": {
"$ref": "#/components/schemas/location_id"
},
"location_name": {
"$ref": "#/components/schemas/location_name"
},
"reverse_charge_tax_id": {
"$ref": "#/components/schemas/reverse_charge_tax_id"
},
"reverse_charge_tax_name": {
"$ref": "#/components/schemas/reverse_charge_tax_name"
},
"reverse_charge_tax_percentage": {
"$ref": "#/components/schemas/reverse_charge_tax_percentage"
},
"reverse_charge_tax_amount": {
"$ref": "#/components/schemas/reverse_charge_tax_amount"
},
"account_name": {
"$ref": "#/components/schemas/account_name"
},
"name": {
"$ref": "#/components/schemas/name"
},
"description": {
"$ref": "#/components/schemas/description"
},
"item_order": {
"$ref": "#/components/schemas/item_order"
},
"quantity": {
"$ref": "#/components/schemas/quantity"
},
"unit": {
"$ref": "#/components/schemas/unit"
},
"bcy_rate": {
"$ref": "#/components/schemas/bcy_rate"
},
"rate": {
"$ref": "#/components/schemas/rate"
},
"tax_id": {
"$ref": "#/components/schemas/tax_id"
},
"tds_tax_id": {
"$ref": "#/components/schemas/tds_tax_id"
},
"tax_treatment_code": {
"$ref": "#/components/schemas/tax_treatment_code"
},
"tax_exemption_id": {
"$ref": "#/components/schemas/tax_exemption_id"
},
"tax_exemption_code": {
"$ref": "#/components/schemas/tax_exemption_code"
},
"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"
},
"item_total_inclusive_of_tax": {
"$ref": "#/components/schemas/item_total_inclusive_of_tax"
},
"hsn_or_sac": {
"$ref": "#/components/schemas/hsn_or_sac"
},
"acquisition_vat_id": {
"$ref": "#/components/schemas/acquisition_vat_id"
},
"acquisition_vat_name": {
"$ref": "#/components/schemas/acquisition_vat_name"
},
"acquisition_vat_percentage": {
"$ref": "#/components/schemas/acquisition_vat_percentage"
},
"acquisition_vat_amount": {
"$ref": "#/components/schemas/acquisition_vat_amount"
},
"reverse_charge_vat_id": {
"$ref": "#/components/schemas/reverse_charge_vat_id"
},
"reverse_charge_vat_name": {
"$ref": "#/components/schemas/reverse_charge_vat_name"
},
"reverse_charge_vat_percentage": {
"$ref": "#/components/schemas/reverse_charge_vat_percentage"
},
"reverse_charge_vat_amount": {
"$ref": "#/components/schemas/reverse_charge_vat_amount"
},
"stock_on_hand": {
"$ref": "#/components/schemas/stock_on_hand"
},
"tags": {
"$ref": "#/components/schemas/tags"
},
"item_custom_fields": {
"$ref": "#/components/schemas/item_custom_fields"
}
}
},
"acquisition_vat_summary": {
"$ref": "#/components/schemas/acquisition_vat_summary"
},
"acquisition_vat_total": {
"$ref": "#/components/schemas/acquisition_vat_total"
},
"reverse_charge_vat_summary": {
"$ref": "#/components/schemas/reverse_charge_vat_summary"
},
"reverse_charge_vat_total": {
"$ref": "#/components/schemas/reverse_charge_vat_total"
},
"documents": {
"$ref": "#/components/schemas/documents"
},
"custom_fields": {
"$ref": "#/components/schemas/custom_fields"
},
"sub_total": {
"$ref": "#/components/schemas/sub_total"
},
"total": {
"$ref": "#/components/schemas/total"
},
"total_credits_used": {
"$ref": "#/components/schemas/total_credits_used"
},
"total_refunded_amount": {
"$ref": "#/components/schemas/total_refunded_amount"
},
"balance": {
"$ref": "#/components/schemas/balance"
},
"notes": {
"$ref": "#/components/schemas/notes"
},
"comments": {
"$ref": "#/components/schemas/comments"
},
"vendor_credit_refunds": {
"$ref": "#/components/schemas/vendor_credit_refunds"
},
"bills_credited": {
"$ref": "#/components/schemas/bills_credited"
},
"created_time": {
"$ref": "#/components/schemas/created_time"
},
"last_modified_time": {
"$ref": "#/components/schemas/last_modified_time"
}
}
},
"ignore_auto_number_generation": {
"description": "Ignore auto number generation for this vendor credit only. On enabling this option vendor credit number is mandatory.",
"type": "boolean"
},
"bill_id": {
"description": "Bill Associated with the Vendor Credit",
"type": "string",
"example": "460000000057075"
},
"amount_applied": {
"description": "Amount applied to the bill.",
"type": "number",
"format": "double",
"example": 10
},
"bills": {
"description": "Amount applied from vendor credits to specified bills.",
"type": "array",
"items": {
"type": "object",
"properties": {
"bill_id": {
"$ref": "#/components/schemas/bill_id"
},
"amount_applied": {
"$ref": "#/components/schemas/amount_applied"
}
}
}
},
"gst_treatment": {
"description": "Choose whether the contact is GST registered/unregistered/consumer/overseas. Allowed values are <code> business_gst </code> , <code> business_none </code> , <code> overseas </code> , <code> consumer </code>.",
"type": "string",
"example": "business_gst",
"x-node_available_in": [
"in"
],
"x-node_unavailable_in": []
},
"tax_treatment": {
"description": "VAT treatment for the vendor credit. Choose whether the vendor falls under: <code>vat_registered</code>,<code>vat_not_registered</code>,<code>gcc_vat_not_registered</code>,<code>gcc_vat_registered</code>,<code>non_gcc</code>.</br><code>dz_vat_registered</code> and <code>dz_vat_not_registered</code> are supported only for <b>UAE</b>.</b></br><code>home_country_mexico</code>,<code>border_region_mexico</code>,<code>non_mexico</code> supported only for <b>MX</b>.",
"type": "string",
"example": "vat_registered",
"x-node_available_in": [
"gcc",
"mx"
],
"x-node_unavailable_in": []
},
"gst_no": {
"description": "15 digit GST identification number of the vendor.",
"type": "string",
"example": "22AAAAA0000A1Z5",
"x-node_available_in": [
"in"
],
"x-node_unavailable_in": []
},
"source_of_supply": {
"description": "Place from where the goods/services are supplied. (If not given, <code>place of contact</code> given for the contact will be taken)",
"type": "string",
"example": "TN",
"x-node_available_in": [
"in"
],
"x-node_unavailable_in": []
},
"destination_of_supply": {
"description": "Place where the goods/services are supplied to. (If not given, organisation's home state will be taken)",
"type": "string",
"example": "TN",
"x-node_available_in": [
"in"
],
"x-node_unavailable_in": []
},
"place_of_supply": {
"description": "The place of supply is where a transaction is considered to have occurred for VAT purposes. For the supply of goods, the place of supply is the location of the goods when the supply occurs. For the supply of services, the place of supply should be where the supplier is established. (If not given, <code>place of contact</code> given for the contact will be taken)<br/>Supported codes for UAE emirates are : </br>Abu Dhabi - <code>AB</code>,</br>Ajman - <code>AJ</code>,</br>Dubai - <code>DU</code>,</br>Fujairah - <code>FU</code>,</br>Ras al-Khaimah - <code>RA</code>,</br>Sharjah - <code>SH</code>,</br>Umm al-Quwain - <code>UM</code>.<br/>Supported codes for the GCC countries are : </br>United Arab Emirates - <code>AE</code>,</br>Saudi Arabia - <code>SA</code>,</br>Bahrain - <code>BH</code>,</br>Kuwait - <code>KW</code>,</br>Oman - <code>OM</code>,</br>Qatar - <code>QA</code>.",
"type": "string",
"example": "DU",
"x-node_available_in": [
"gcc"
],
"x-node_unavailable_in": []
},
"reverse_charge_tax_id": {
"description": "ID of the reverse charge tax",
"type": "string",
"example": 460000000057089,
"x-node_available_in": [
"in",
"gcc"
],
"x-node_unavailable_in": []
},
"location_id": {
"description": "Location ID",
"type": "string",
"example": "460000000038080"
},
"location_name": {
"description": "Name of the location.",
"type": "string"
},
"pricebook_id": {
"description": "ID of the pricebook",
"type": "string"
},
"reverse_charge_tax_name": {
"description": "Enter the tax name of the reverse charge",
"type": "string",
"example": "intra",
"x-node_available_in": [
"in"
],
"x-node_unavailable_in": []
},
"reverse_charge_tax_percentage": {
"description": "Tax percentage of the reverse charge",
"type": "number",
"format": "double",
"example": 10,
"x-node_available_in": [
"in"
],
"x-node_unavailable_in": []
},
"reverse_charge_tax_amount": {
"description": "Tax amount of the reverse charge",
"type": "number",
"format": "double",
"example": 100,
"x-node_available_in": [
"in"
],
"x-node_unavailable_in": []
},
"project_id": {
"description": "ID of the project",
"type": "string",
"example": 90300000087378
},
"project_name": {
"description": "Name of the project.",
"type": "string",
"example": "Sample Project"
},
"is_reverse_charge_applied": {
"description": "Applicable for transactions where you pay reverse charge",
"type": "boolean",
"example": true,
"x-node_available_in": [
"in"
],
"x-node_unavailable_in": []
},
"apply_to_bills": {
"type": "object",
"properties": {
"bills": {
"$ref": "#/components/schemas/bills"
}
}
},
"vendor_credit_number": {
"description": "Number of the Vendor Credit",
"type": "string",
"example": "DN-00002"
},
"date": {
"description": "The date the vendor credit is created. [yyyy-mm-dd]",
"type": "string",
"example": "2014-08-28"
},
"status": {
"type": "string",
"example": "open"
},
"reference_number": {
"description": "Reference number for the refund recorded.",
"type": "string"
},
"vendor_id": {
"description": "ID of the vendor the vendor credit associated with the Vendor Credit",
"type": "string",
"example": "460000000020029"
},
"vendor_name": {
"description": "Name of the Vendor Associated with the Vendor Credit",
"type": "string",
"example": "Bowman and Co"
},
"currency_id": {
"description": "ID of the Currency Involved in the Vendor Credit",
"type": "string",
"example": "3000000000083"
},
"currency_code": {
"description": "Code of the Currency Involved in the Vendor Credit",
"type": "string",
"example": "USD"
},
"exchange_rate": {
"description": "Exchange rate of the currency.",
"type": "number",
"format": "double",
"example": 1
},
"price_precision": {
"type": "integer",
"example": 2
},
"is_inclusive_tax": {
"description": "Used to specify whether the line item rates are inclusive or exclusive of tax.",
"type": "boolean",
"example": false,
"x-node_available_in": [],
"x-node_unavailable_in": [
"us"
]
},
"document_id": {
"description": "ID of the Document",
"type": "string"
},
"file_name": {
"description": "Name of the file",
"type": "string"
},
"documents": {
"type": "array",
"description": "List of documents associated with the vendor credit",
"items": {
"type": "object",
"properties": {
"document_id": {
"$ref": "#/components/schemas/document_id"
},
"file_name": {
"$ref": "#/components/schemas/file_name"
}
}
}
},
"custom_fields": {
"type": "array",
"description": "List of custom fields associated with the vendor credit",
"items": {
"type": "object",
"properties": {
"customfield_id": {
"$ref": "#/components/schemas/customfield_id"
},
"label": {
"$ref": "#/components/schemas/label"
},
"value": {
"$ref": "#/components/schemas/value"
}
}
}
},
"sub_total": {
"type": "number",
"format": "double",
"example": 30
},
"total": {
"type": "number",
"format": "double",
"example": 30
},
"total_credits_used": {
"type": "number",
"format": "double",
"example": 0
},
"total_refunded_amount": {
"type": "number",
"format": "double",
"example": 0
},
"balance": {
"description": "Balance in the Vendor Credit",
"type": "number",
"format": "double",
"example": 30
},
"tax_name": {
"description": "Name of the Tax",
"type": "string"
},
"tax_amount": {
"description": "Amount of the Tax",
"type": "number",
"format": "double"
},
"taxes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"tax_name": {
"$ref": "#/components/schemas/tax_name"
},
"tax_amount": {
"$ref": "#/components/schemas/tax_amount"
}
}
}
},
"tax": {
"type": "object",
"properties": {
"tax_name": {
"$ref": "#/components/schemas/tax_name"
},
"tax_amount": {
"$ref": "#/components/schemas/tax_amount"
}
}
},
"notes": {
"description": "Notes for the Vendor Credit",
"type": "string"
},
"vendor_credit_bill_id": {
"description": "ID of the Vendor Credited Bill ID",
"type": "string"
},
"bills_credited": {
"type": "array",
"items": {
"type": "object",
"properties": {
"bill_id": {
"description": "ID of the Bill Credited",
"type": "string",
"example": "460000000057075"
},
"vendor_credit_bill_id": {
"$ref": "#/components/schemas/vendor_credit_bill_id"
},
"date": {
"description": "Date of the Bill Credit",
"type": "string",
"example": "2014-08-30"
},
"bill_number": {
"description": "Number of the Bill Credited",
"type": "string"
},
"amount": {
"description": "Amount that is credited in the bill",
"type": "number",
"format": "double",
"example": 13
}
}
}
},
"created_time": {
"description": "Time of Vendor Credit Creation",
"type": "string",
"example": "2014-08-28T22:53:31-0700"
},
"last_modified_time": {
"description": "Last Modified Time of Vendor Credit",
"type": "string",
"example": "2014-08-28T22:53:31-0700"
},
"item_id": {
"description": "ID of the item.",
"type": "string",
"example": "460000000020071"
},
"line_item_id": {
"description": "ID of the Line Item",
"type": "string",
"example": "460000000020077"
},
"sku": {
"description": "SKU of the Item",
"type": "string"
},
"account_id": {
"description": "ID of the account, the line item is associated with",
"type": "string",
"example": "460000000020097"
},
"account_name": {
"description": "Name of the account the line item is associated with",
"type": "string",
"example": "IT and Internet Expenses"
},
"name": {
"description": "Name of the line item.",
"type": "string",
"example": "Premium Plan - Web hosting"
},
"description": {
"description": "Description of the line item.",
"type": "string"
},
"item_order": {
"description": "Order of the line item",
"type": "integer",
"example": 0
},
"quantity": {
"description": "Quantity of the line item.",
"type": "number",
"format": "double",
"example": 1
},
"unit": {
"description": "Unit of the line item e.g. kgs, Nos.",
"type": "string",
"example": "Nos"
},
"bcy_rate": {
"description": "Rate of the Item in Base Currency",
"type": "number",
"format": "double",
"example": 30
},
"rate": {
"description": "Rate of the line item.",
"type": "number",
"format": "double",
"example": 30
},
"amount": {
"type": "number",
"format": "double",
"description": "Amount that is credited in the bill",
"example": 13
},
"tax_id": {
"description": "ID of the Tax associated with the Vendor Credit",
"type": "string"
},
"tds_tax_id": {
"description": "TDS Tax ID of the Tax associated with the Vendor Credit",
"type": "string",
"x-node_available_in": [
"mx"
],
"x-node_unavailable_in": []
},
"tax_treatment_code": {
"description": "Specify reason for using out of scope.</br>Supported values for <b>UAE</b> are <code>uae_same_tax_group</code>, <code>uae_reimbursed_expense</code> and <code>uae_others</code>.</br> Supported values for <b>Bahrain</b> are <code>bahrain_same_tax_group</code>, <code>bahrain_transfer_of_concern</code>, <code>bahrain_disbursement</code>, <code>bahrain_head_to_branch_transaction</code> and <code>bahrain_others</code>.",
"type": "string",
"example": "uae_others",
"x-node_available_in": [
"gcc"
],
"x-node_unavailable_in": []
},
"tax_exemption_id": {
"description": "ID of the Tax Exemption associated",
"type": "string",
"x-node_available_in": [
"in",
"au"
],
"x-node_unavailable_in": []
},
"tax_exemption_code": {
"description": "Code of the Tax Exemption associated",
"type": "string",
"x-node_available_in": [
"in",
"au"
],
"x-node_unavailable_in": []
},
"tax_type": {
"description": "Type of the Tax",
"type": "string"
},
"tax_percentage": {
"description": "Percentage of Tax",
"type": "number",
"format": "double"
},
"item_total": {
"description": "Total price of the Item",
"type": "number",
"format": "double",
"example": 30
},
"item_total_inclusive_of_tax": {
"description": "Total price of the Item inclusive of Tax",
"type": "number",
"format": "double",
"example": 30
},
"product_type": {
"description": "Type of the product. Allowed Values: <code>goods</code>, <code>digital_service</code> and <code>service</code>.",
"type": "string",
"x-node_available_in": [
"uk",
"eu"
],
"x-node_unavailable_in": []
},
"hsn_or_sac": {
"description": "HSN Code",
"type": "string",
"x-node_available_in": [
"in"
],
"x-node_unavailable_in": []
},
"acquisition_vat_id": {
"description": "ID of the VAT Acquistion",
"type": "string",
"x-node_available_in": [
"uk",
"eu"
],
"x-node_unavailable_in": []
},
"acquisition_vat_name": {
"description": "Name of the VAT Acquistion",
"type": "string",
"x-node_available_in": [
"uk",
"eu"
],
"x-node_unavailable_in": []
},
"acquisition_vat_percentage": {
"description": "Percentage of the VAT Acquistion",
"type": "string",
"x-node_available_in": [
"uk",
"eu"
],
"x-node_unavailable_in": []
},
"acquisition_vat_amount": {
"description": "Amount of the VAT Acquistion",
"type": "string",
"x-node_available_in": [
"uk",
"eu"
],
"x-node_unavailable_in": []
},
"acquisition_vat_summary": {
"description": "Summary of the VAT Acquistion",
"x-node_available_in": [
"uk",
"eu"
],
"x-node_unavailable_in": [],
"type": "array",
"items": {
"type": "object",
"properties": {
"tax": {
"$ref": "#/components/schemas/tax"
}
}
}
},
"reverse_charge_vat_summary": {
"description": "Summary of the Reverse Charge",
"type": "array",
"items": {
"type": "object",
"properties": {
"tax": {
"$ref": "#/components/schemas/tax"
}
}
},
"x-node_available_in": [
"uk",
"eu"
],
"x-node_unavailable_in": []
},
"acquisition_vat_total": {
"description": "Total of the VAT Acquistion",
"type": "number",
"format": "double",
"x-node_available_in": [
"uk",
"eu"
],
"x-node_unavailable_in": []
},
"reverse_charge_vat_total": {
"description": "Total of the Reverse Charge",
"type": "number",
"format": "double",
"x-node_available_in": [
"uk",
"eu"
],
"x-node_unavailable_in": []
},
"reverse_charge_vat_id": {
"description": "ID of the Reverse Charge",
"type": "string",
"x-node_available_in": [
"uk",
"eu"
],
"x-node_unavailable_in": []
},
"reverse_charge_vat_name": {
"description": "Name of the Reverse Charge",
"type": "string",
"x-node_available_in": [
"uk",
"eu"
],
"x-node_unavailable_in": []
},
"reverse_charge_vat_percentage": {
"description": "Percentage of the Reverse Charge",
"type": "string",
"x-node_available_in": [
"uk",
"eu"
],
"x-node_unavailable_in": []
},
"reverse_charge_vat_amount": {
"description": "Percentage of the Reverse Charge",
"type": "string",
"x-node_available_in": [
"uk",
"eu"
],
"x-node_unavailable_in": []
},
"tag_id": {
"description": "ID of the tag",
"type": "string"
},
"tag_option_id": {
"description": "ID of the tag option",
"type": "string"
},
"tags": {
"type": "array",
"description": "List of tags associated with the line item",
"items": {
"type": "object",
"properties": {
"tag_id": {
"$ref": "#/components/schemas/tag_id"
},
"tag_option_id": {
"$ref": "#/components/schemas/tag_option_id"
}
}
}
},
"customfield_id": {
"description": "ID of the Custom Field",
"type": "string"
},
"value": {
"description": "Value of the Custom Field",
"type": "string"
},
"label": {
"description": "Label of the Custom Field",
"type": "string"
},
"item_custom_fields": {
"type": "array",
"description": "List of custom fields associated with the line item",
"items": {
"type": "object",
"properties": {
"label": {
"$ref": "#/components/schemas/label"
},
"value": {
"$ref": "#/components/schemas/value"
}
}
}
},
"serial_numbers": {
"description": "Serial numbers for the line item. Applicable only for items with serial tracking enabled.",
"type": "array",
"items": {
"type": "string",
"example": "ARMP-0078"
}
},
"batches": {
"description": "Batch details for the line item. Reference an existing batch using <code>batch_id</code>. Applicable only for items with batch tracking enabled.",
"type": "array",
"items": {
"type": "object",
"required": [
"batch_id",
"out_quantity"
],
"properties": {
"batch_id": {
"description": "Unique identifier of an existing batch.",
"type": "string",
"example": "6780203000000214019"
},
"out_quantity": {
"description": "Quantity removed from the batch.",
"type": "number",
"format": "float",
"example": 2
},
"storages": {
"description": "Bin/storage locations from which stock was issued for this batch.",
"type": "array",
"x-node_available_in": [
"Batch with Bin tracked items"
],
"items": {
"type": "object",
"required": [
"storage_id",
"out_quantity"
],
"properties": {
"storage_id": {
"description": "Unique identifier of the bin/storage location.",
"type": "string",
"example": "6780203000000093226"
},
"out_quantity": {
"description": "Quantity removed from the bin.",
"type": "number",
"format": "float",
"example": 2
}
}
}
}
}
}
},
"storages": {
"description": "Bin/storage locations allocated (or consumed, for assemblies) for the line item. Applicable only for items with bin tracking enabled.",
"type": "array",
"items": {
"type": "object",
"required": [
"storage_id",
"out_quantity"
],
"properties": {
"storage_id": {
"description": "Unique identifier of the bin/storage location.",
"type": "string",
"example": "6780203000000093225"
},
"out_quantity": {
"description": "Quantity removed from the bin.",
"type": "number",
"format": "float",
"example": 2
},
"serial_numbers": {
"description": "Serial numbers allocated to this bin.",
"type": "array",
"x-node_available_in": [
"Serial with Bin tracked items"
],
"items": {
"type": "string",
"example": "ARMP-0078"
}
}
}
}
},
"batches-update": {
"description": "Batch details for the line item. Reference an existing batch using <code>batch_id</code>. Applicable only for items with batch tracking enabled.",
"type": "array",
"items": {
"type": "object",
"required": [
"batch_id",
"out_quantity"
],
"properties": {
"batch_id": {
"description": "Unique identifier of an existing batch.",
"type": "string",
"example": "6780203000000214019"
},
"out_quantity": {
"description": "Quantity removed from the batch.",
"type
# --- truncated at 32 KB (103 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/zoho-inventory/refs/heads/main/json-schema/vendor-credits.json