Generate Accounting Transaction
POST/api/purchase-receipts/:receipt/generate-accounting-transaction
Generates (or regenerates) the accounting transaction for a purchase receipt. Authentication: Requires Bearer token. Returns 422 if the purchase order is a dropship order (has a sales_order_id) or has no destination warehouse.
Request
Responses
- 200
Successful response