Copy PageMark expense as postedposthttps://api.wafeq.com/v1/expenses/{id}/mark-as-posted/Posts a draft expense to the ledger (generates its journal).Path ParamsidstringrequiredQuery ParamsexpandstringComma-separated related objects to return in full instead of as IDs. Accepted values: account, account.parent, attachments, branch, contact, contact.persons, journal, paid_through_account, paid_through_account.parent, project, tax_rate, cost_center. Nested relations are joined with a dot. Pass journal to replace the journal ID with its object (ID, date, currency, reference, notes and timestamps). Documents without a journal still return null. Journal line items are retrieved separately with GET /v1/journal-line-items/?journal={journal_id}.HeadersX-Wafeq-OrganizationstringThe id of the organization to act on, from GET /v1/organizations/. Required when the OAuth token or accounting partner API key grants access to several organizations; optional otherwise. With an organization API key, it must name the key's own organization.Response200Updated about 2 months agoMark expense as draftList files