Create invoice recurrence
documentedCreate a new invoice recurrence.
POST /invoicerecurrenceInvoice Recurrenceno 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.servicetrade.com/api/invoicerecurrence" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-d '{"locationId": {{$location_id}}, "endsOn": {{$ends_on}}, "description": "{{$description}}", "serviceLineId": {{$service_line_id}}, "contractId": {{$contract_id}}, "frequency": "{{$frequency}}", "interval": {{$interval}}, "customerId": {{$customer_id}}, "vendorId": {{$vendor_id}}, "nextDue": {{$next_due}}}'