Skip to main content

Generate Accounting Transaction

POST 

/api/vendor-credits/:vendor_credit/generate-accounting-transaction

Generate (or regenerate) the local accounting transaction for the vendor credit. Builds the transaction lines from the vendor credit and saves the accounting transaction. Returns an accounting transaction object with eager-loaded lines and nominal codes.

Required scope: accounting:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Request

Responses

Successful response