Update invoice
documentedUpdate an invoice.
PUT /Invoice/{id}Invoicesno 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.saasu.com/Invoice/{{$invoice_id}}?FileId={{$file_id}}" \
-X PUT \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"LineItems": [{"Description": "{{$description}}", "Quantity": {{$quantity}}, "UnitPrice": {{$unit_price}}, "TotalAmount": {{$total_amount}}, "TaxCode": "G1", "InventoryId": 0, "ItemCode": "{{$item_code}}"}], "TransactionDate": "{{$transaction_date}}", "InvoiceType": "{{$invoice_type}}", "TransactionType": "{{$transaction_type}}", "Currency": "{{$currency}}"}'