createAdvanceBilling Mutation
Issues an advance bill and posts it: Dr accounts receivable / Cr the chosen deferred revenue account, so money billed ahead of the work is on the trial balance from the day it is billed. The document's deferred revenue schedule and the recognition schedule that relieves it are created with it, in the same transaction as the journal. Access: signed-in members of the workspace with the billingInvoiceGenerate permission, in a workspace where finance is enabled. Errors: amount not greater than zero; schedule periods not greater than zero; deferred revenue account is not an active other current liability account; revenue account is not an active income account; no receivable or revenue account mapped for the workspace; issue date inside closed books; and a refusal to post at all when the deployment cannot run the write in a transaction, which keeps the document and its journal together. Not validated, and so not listed: the client account, the project and the invoice are stored as given. The pickers that author them offer only what this workspace holds, which is where that is decided today.
Arguments
#
Response
#
Returns AdvanceBilling !.
Example
#
createActivityFeed