Void a credit
documentedVoids a credit note.
PUT /credits/{id}/voidBillingno 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://{{ACCOUNT_NAME}}.quadernoapp.com/api/credits/{{$id}}/void" \
-X PUT \
-u "{{QUADERNO_API_KEY}}:x" \
-H "Accept: application/json; api_version=20241028" \
-H "Content-Type: application/json" \
-d '{"reason": "{{$void_reason}}"}'