I have set the invoice date to tomorrow 10th December.
I still cannot set status to mark_as_scheduled on the invoice.
FYI at that point in the process they are marked as draft - could that make a difference?
I can set mark_as_sent but not mark_as_cancelled or mark_as_scheduled----- Original Message -----
From: “Jonathan Barrett” firstname.lastname@example.org
To: “freeagent api” email@example.com
Sent: Monday, December 9, 2013 2:26:23 PM
Subject: Re: Send invoice using the default template
For scheduling, the date used is the invoice date (e.g…, set the invoice date for tomorrow, then mark it as scheduled). FreeAgent don’t provide hourly granularity on the date used: when it’s been scheduled to go on a given day, it will be sent as soon as possible for that day.
You may be getting a forbidden error if the date is in the past: double check this and let me know if you’re still seeing problems.
On Monday, 9 December 2013 13:29:24 UTC, Gary Fairchild wrote:
FYI we can mark as sent readily enough but if we simply swap in mark_as_scheduled for mark_as_sent (as per https://dev.freeagent.com/docs/invoices#mark-invoice-as-scheduled ) we get 403 forbidden.
On Monday, December 9, 2013 12:23:03 PM UTC, Gary Fairchild wrote:
We are trying to email an invcoie using the default template.
Having looked at some threads here we tried using the following.
We get a response 403 forbidden.
The only way we have successfully managed to send an email for an invoice is to post using xml in the format…
anemail acco...@domain.co.uk Invoice ref:ourref
Is there any way to post xml and get the invoice to email using the default invoice template in freeagent?
We have tried sending empty xml but no joy?
You received this message because you are subscribed to a topic in the Google Groups “FreeAgent API” group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/freeagent_api/c6G4mHerhAw/unsubscribe .
To unsubscribe from this group and all its topics, send an email to firstname.lastname@example.org.
To post to this group, send email to email@example.com.
Visit this group at http://groups.google.com/group/freeagent_api .
For more options, visit https://groups.google.com/groups/opt_out .