XeroAPI / Xero-Java

Official Java client for use with Xero API
MIT License
78 stars 88 forks source link

How To Create a Bill #344

Open arifainchtein opened 1 year ago

arifainchtein commented 1 year ago

SDK you're using (please complete the following information): 2.14

Describe the bug Its not a bug, i just need to create a new Bill but i cant seem to find the object in the API. How do you create a new BIll?

To Reproduce I am including a screenshot of the object in Xero that i need to create using the Java api

Screenshots

Additional context Add any other context about the problem here. Screenshot from 2023-06-14 15-22-47

github-actions[bot] commented 1 year ago

PETOSS-302

github-actions[bot] commented 1 year ago

Thanks for raising an issue, a ticket has been created to track your request

Sallyhornet commented 1 year ago

You use the create invoices call, https://xeroapi.github.io/Xero-Java/v4/accounting/index.html#api-Accounting-createInvoices. The type is ACCPAY for bills as opposed to ACCREC for sales invoices.

Xero Developer Centre: Invoices endpoint