Update a Credit InvoiceAsk AIput https://api.fireberry.com/api/record/invoicecredit/{id}Path ParamsidstringrequiredUse a credit invoice's GUID.Body ParamsaccountidstringrequiredThe related account's GUID.companynamestringrequiredThe name of the related account or company receiving the invoice.ItemsobjectrequiredAdd an object for each item you'd like to add to this credit invoice. You cannot update existing items here.Items objectaddressstringFull address of the related account.amountdiscountfloatProvide a discount on the whole invoice by amount.amountdiscountpercentfloatIf you've filled out the amountdiscount field, use this field to display the relevant percentage. Leave this field blank to display the percentage as 0.crmorderidstringThe related order's GUID.currencycodeint32Type of currency, defaults to NIS (Picklist).descriptionstringDescription of up to 4,000 characters.emailaddressstringEmail of the related account, must be in email format.faxstringFax of the related account.idnumberstringID number of the related account.owneridstringThe GUID of the system user who created the record, can also be set manually. Will be used for permissions.rounddiscountcodeint32Enter 1 to apply a round discount to the total amount (Picklist).taxincludecodeint32Enter 1 to add tax to the total amount (Picklist).telephonestringPhone number of the related account.HeadersacceptstringenumDefaults to application/jsonGenerated from available response content typesapplication/jsontext/plainAllowed:application/jsontext/plainResponses 200200 400400 401401Updated 10 months ago