addedInput schema / properties / contactId / description
Added value: +"The ID of the contact to create the invoice for. Can be obtained from the list-contacts tool."
addedInput schema / properties / date
Added value: +{
+ "description": "The date the invoice was created (YYYY-MM-DD format).",
+ "type": "string"
+}
addedInput schema / properties / lineItems / items / properties / accountCode / description
Added value: +"The account code of the line item - can be obtained from the list-accounts tool"
addedInput schema / properties / lineItems / items / properties / description / description
Added value: +"The description of the line item"
addedInput schema / properties / lineItems / items / properties / itemCode
Added value: +{
+ "description": "The item code of the line item - can be obtained from the list-items tool If the item is not listed, add without an item code and ask the user if they would like to add an item code.",
+ "type": "string"
+}
addedInput schema / properties / lineItems / items / properties / quantity / description
Added value: +"The quantity of the line item"
addedInput schema / properties / lineItems / items / properties / taxType / description
Added value: +"The tax type of the line item - can be obtained from the list-tax-rates tool"
addedInput schema / properties / lineItems / items / properties / tracking
Added value: +{
+ "description": "Up to 2 tracking categories and options can be added to the line item. Can be obtained from the list-tracking-categories tool. Only use if prompted by the user.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "name": {
+ "description": "The name of the tracking category. Can be obtained from the list-tracking-categories tool",
+ "type": "string"
+ },
+ "option": {
+ "description": "The name of the tracking option. Can be obtained from the list-tracking-categories tool",
+ "type": "string"
+ },
+ "trackingCategoryID": {
+ "description": "The ID of the tracking category. Can be obtained from the list-tracking-categories tool",
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "option",
+ "trackingCategoryID"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+}
addedInput schema / properties / lineItems / items / properties / unitAmount / description
Added value: +"The price per unit of the line item"
addedInput schema / properties / reference / description
Added value: +"A reference number for the invoice."
addedInput schema / properties / type
Added value: +{
+ "description": "The type of invoice to create. ACCREC is for sales invoices, Accounts Receivable, or customer invoices. ACCPAY is for purchase invoices, Accounts Payable invoices, supplier invoices, or bills. If the type is not specified, the default is ACCREC.",
+ "enum": [
+ "ACCREC",
+ "ACCPAY"
+ ],
+ "type": "string"
+}
changedInput schema / required
Previous value: -[
- "contactId",
- "lineItems"
-]New value: +[
+ "contactId",
+ "lineItems",
+ "type"
+]