2
0
mirror of https://github.com/frappe/books.git synced 2024-11-15 01:44:04 +00:00
books/schemas/app/Invoice.json

203 lines
4.3 KiB
JSON
Raw Normal View History

2022-09-27 09:37:11 +00:00
{
"name": "Invoice",
"label": "Invoice",
"isAbstract": true,
"isSingle": false,
"isChild": false,
"isSubmittable": true,
"fields": [
{
"label": "Invoice No",
"fieldname": "name",
"fieldtype": "Data",
"required": true,
"readOnly": true,
"hidden": true
2022-09-27 09:37:11 +00:00
},
{
"abstract": true,
"fieldname": "numberSeries",
"section": "Default"
2022-09-27 09:37:11 +00:00
},
{
"abstract": true,
2022-09-27 09:37:11 +00:00
"fieldname": "party",
"section": "Default"
2022-09-27 09:37:11 +00:00
},
{
"fieldname": "account",
"label": "Account",
"fieldtype": "Link",
"target": "Account",
"create": true,
"required": true
},
{
"fieldname": "date",
"label": "Date",
"fieldtype": "Date",
"required": true,
"section": "Default"
2022-09-27 09:37:11 +00:00
},
2023-06-06 08:58:48 +00:00
{
"fieldname": "priceList",
"label": "Price List",
"fieldtype": "Link",
"target": "PriceList",
"section": "Default"
},
2022-09-27 09:37:11 +00:00
{
"abstract": true,
"fieldname": "items",
"section": "Items"
2022-09-27 09:37:11 +00:00
},
{
"fieldname": "netTotal",
"label": "Net Total",
"fieldtype": "Currency",
"readOnly": true,
"section": "Items"
2022-09-27 09:37:11 +00:00
},
{
"fieldname": "taxes",
"label": "Taxes",
"fieldtype": "Table",
"target": "TaxSummary",
"readOnly": true,
"section": "Tax and Totals"
2022-09-27 09:37:11 +00:00
},
{
"fieldname": "baseGrandTotal",
2022-10-03 08:18:02 +00:00
"label": "Base Grand Total",
2022-09-27 09:37:11 +00:00
"fieldtype": "Currency",
"readOnly": true,
"section": "Tax and Totals"
2022-09-27 09:37:11 +00:00
},
{
"fieldname": "grandTotal",
"label": "Grand Total",
2022-09-27 09:37:11 +00:00
"fieldtype": "Currency",
"readOnly": true,
"section": "Tax and Totals"
2022-09-27 09:37:11 +00:00
},
{
"fieldname": "setDiscountAmount",
"label": "Set Discount Amount",
"fieldtype": "Check",
"default": false,
"hidden": true
2022-09-27 09:37:11 +00:00
},
{
"fieldname": "discountAmount",
"label": "Discount Amount",
"fieldtype": "Currency",
"readOnly": false,
"hidden": true
2022-09-27 09:37:11 +00:00
},
{
"fieldname": "discountPercent",
"label": "Discount Percent",
"fieldtype": "Float",
"readOnly": false,
"hidden": true
2022-09-27 09:37:11 +00:00
},
{
"fieldname": "entryCurrency",
"label": "Entry Currency",
"fieldtype": "Select",
"options": [
{
"value": "Party",
"label": "Party"
},
{
"value": "Company",
"label": "Company"
}
],
"default": "Party",
"hidden": true
},
{
"fieldname": "currency",
"label": "Customer Currency",
"fieldtype": "Link",
"target": "Currency",
"readOnly": true,
"hidden": true
},
{
"fieldname": "exchangeRate",
"label": "Exchange Rate",
"fieldtype": "Float",
"default": 1,
"readOnly": true,
"hidden": true
},
{
"fieldname": "discountAfterTax",
"label": "Apply Discount After Tax",
"fieldtype": "Check",
"default": false,
"readOnly": false,
"tab": "Settings"
},
{
"fieldname": "makeAutoPayment",
"label": "Make Payment On Submit",
"fieldtype": "Check",
"default": false,
"readOnly": false,
"tab": "Settings"
},
{
"abstract": true,
"fieldname": "makeAutoStockTransfer",
"tab": "Settings"
},
{
"fieldname": "outstandingAmount",
"label": "Outstanding Amount",
"fieldtype": "Currency",
"readOnly": true,
"section": "Outstanding"
},
{
"abstract": true,
"fieldname": "stockNotTransferred",
"section": "Outstanding"
2022-09-27 09:37:11 +00:00
},
{
"fieldname": "terms",
"label": "Notes",
"placeholder": "Add invoice terms",
"fieldtype": "Text",
"section": "References"
},
{
"fieldname": "attachment",
"placeholder": "Add attachment",
"label": "Attachment",
"fieldtype": "Attachment",
"section": "References"
},
2023-09-23 10:26:24 +00:00
{
"fieldname": "isReturned",
"fieldtype": "Check",
"hidden": true,
"default": false
},
{
"abstract": true,
"fieldname": "backReference",
"section": "References"
2023-09-23 10:26:24 +00:00
},
{
"abstract": true,
"fieldname": "returnAgainst",
"section": "References"
2022-09-27 09:37:11 +00:00
}
],
"keywordFields": ["name", "party"]
}