Send an existing invoice Ask AIpost https://api.wafeq.com/v1/zatca/prepayment-invoices/{id}/send/Send the invoice using specified channels.Path ParamsidstringrequiredThe unique identifier of the document.Body Paramschannelsarray of objectslength ≤ 1The channels to send the documentchannelsADD objectlanguagestringenumDefaults to en ar - Arabic en - English Full information for LanguageEnumarenAllowed:arenmetadataobjectThe metadata of the documentmetadata objectreferencestringThe reference of the documenttemplateobjectThe template of the documenttemplate objectHeadersX-ZATCA-BranchstringIf the account is under a Group VAT, then it is required to be the TIN of the instance under the Group VAT. Otherwise it is optional and can be used as a branch nameX-ZATCA-Connected-Account-IdstringThe unique identifier of the connected account you're operating on behalf ofX-ZATCA-EnvironmentstringrequiredThe zatca environment to use, available options are ['production', 'simulation']Response 200Updated 5 months ago