I am playing around with the invoices API explorer.
I am attempting to create an invoice for myself just so that I can get it figured out how it works and then attempt to implement it on our website.
First of all, the documentation is severely lacking in understandability and you have so much deprecated stuff on there that you have to wade through it to get to the actual items.
I tried to create an invoice by just filling in the explorer info that it said was needed. I got errors. After searching for a good 5-10 minutes, I figured out that you have to Create an Order that is left open, so that you have the order id, then you use that order id for creating the invoice. Documentation stating that, even in the explorer would have been helpful.
So, order created, copied that order id over to the create invoice explorer. Fill in the appropriate information, that I know of.
I am getting this error
"errors": [
{
"code": "BAD_REQUEST",
"detail": "fixed_amount_requested_money cannot be set on BALANCE payment requests",
"field": "invoice.payment_requests",
"category": "INVALID_REQUEST_ERROR"
So I change the payment_requests to deposit and then it tells me that I cannot have just 1 payment request for a deposit, which makes sense.
I just want to create a simple invoice with 1 or more line items that have an amount, I don’t need anything special or anything extra. I want something similar to the invoice line items that I am currently using to bill our customers twice a month when I enter them manually on the PC every 2 weeks.
Is this even something possible with the Invoices API?
Anything would be helpful at this point.
2 posts - 2 participants