You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
I get "Invoice Type must be specified" when creating an invoice even when I specify "Type": "ACCREC" #432
Describe the bug
I'm unable to create a new invoice when I pass what I believe to be valid JSON to the Invoices API. I receive the message "Invoice Type must be specified" even though I pass a valid invoice type of "ACCREC". The full JSON I'm sending is:
Expected behavior
I'd expect an invoice to be created for that customer
Screenshots
Here's my JSON (on the left) compared with an example of the minimum JSON necessary to create an in voice (on the right) that I obtained from the Xero API website which leads me to believe that I'm sending the correct payload to the API
Additional context
Add any other context about the problem here.
Activity
github-actions commentedon Jan 8, 2026
PETOSS-882
github-actions commentedon Jan 8, 2026
Thanks for raising an issue, a ticket has been created to track your request
iwgreenhouseemail commentedon Jan 14, 2026
Can I get an update on this please?