Create invoice
documentedCreate a new invoice.
POST /v2/invoicesInvoicesno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.harvestapp.com/v2/invoices" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Harvest-Account-Id: {{$account_id}}" \
-H "User-Agent: Keychains" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"client_id": {{$client_id}}, "issue_date": "{{$issue_date}}", "due_date": "{{$due_date}}", "line_items": [{"description": "{{$line_item_description}}", "quantity": {{$line_item_quantity}}, "unit_price": {{$line_item_unit_price}}}] }'