Xero-Java icon indicating copy to clipboard operation
Xero-Java copied to clipboard

How To Create a Bill

Open arifainchtein opened this issue 2 years ago • 3 comments

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

arifainchtein avatar Jun 14 '23 05:06 arifainchtein

PETOSS-302

github-actions[bot] avatar Jun 14 '23 05:06 github-actions[bot]

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

github-actions[bot] avatar Jun 14 '23 05:06 github-actions[bot]

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

Sallyhornet avatar Jun 14 '23 08:06 Sallyhornet