Hi Dave
I ended up shelving the feature, as I couldn’t get enough info to make
it work. It was in production - I dont use the sandbox much, if at
all. (I had test accounts setup before the sandbox existed)
The fields were (from memory, it’s a long time ago!) in the comments
in the json:
{
“category”: “https://api.freeagent.com/v2/categories/289”,
“dated_on”: “2014-08-27”,
“receipt_reference”: “4747”,
“description”: “entertaining”,
“url”: “https://api.freeagent.com/v2/bank_transaction_explanations/45433960”,
“gross_value”: “-45.0”,
“rebill_to_project”: “https://api.freeagent.com/v2/projects/270530”,
“rebill_type”: “price”,
//where is rebill amount?? this had 47.00 entered in for it. or rebill_factor?
// this always comes back as a % even if I enter a specific amount. I
had 11.093845093840593% tax before.
“sales_tax_rate”: “5.0”,
// and better yet, a $100 item with $50 of tax shows as sales_tax_tate
== 100, but no manual_sales_tax_amount
"bank_transaction":
“https://api.freeagent.com/v2/bank_transactions/51145084”,
“bank_account”: “https://api.freeagent.com/v2/bank_accounts/285345”
}
I’m throwing around various things I can do with mobileagent to make
it more modern, so I may revisit this then - its not going to be for a
while tho.
Maybe the problem is/was a lack of documentation, too?
Thanks
NicOn 12 February 2015 at 04:46, David Jones david.jones@freeagent.com wrote:
Hi Guys,
I’ve discovered this message as part of a sweep of unanswered API queries.
I’m really sorry this hasn’t been answered sooner.
Reading through the code, it looks like our responses for the
/bank_transaction_explanations are fairly comprehensive.
This includes many of the attributes that Nic has reported as missing, such
as date, category, description, receipt reference.
swombat, did you ever try to get started with your integration? I’d be
interested in whether you found missing attributes in our API responses?
Nic, are you still finding that our API responses are unexpectedly sparse?
If so, could you provide some specifics about the
bank_transaction_explanation you’re trying to retrieve? Also, does it belong
to a sandbox or production account?
Thanks,
Dave J
On Thursday, 25 December 2014 20:43:57 UTC, swombat wrote:
Has there been any progress on this? Is the Explanations API still broken?
I’m building an integration with FA, aiming to use it as our “database” of
financial information (and doing some of the more advanced processing of
financial data on our side) - but if the Explanations API is broken then
that plan falls flat right now…
On Friday, 29 August 2014 00:15:24 UTC+1, Nic Wise wrote:
ok, thanks Olly.
Cheers
Nic
On Thu, Aug 28, 2014 at 11:04 PM, Olly H ol...@freeagent.com wrote:
Hi Nic
Sorry for the slow response. We are going to be looking into this. It
sounds
like the documentation needs work and we’ll evaluate the correctness of
the
information in the response. I can’t give you a date right now for when
it’s
fix, we’ll keep this thread up to date.
Olly
On Wednesday, August 27, 2014 2:15:07 AM UTC+1, Nic Wise wrote:
Hi there
I’m trying to implement bank transaction explanations for mobileAgent,
however the API isn’t making much sense. I’m looking here for docs:
FreeAgent Developer Dashboard
When I add a manual transaction in the web UI, , I see a set of fields
(in the web UI), and I fill them in. No problems.
However, when I pull them back via the API, a LOAD of the data is
missing,
eg:
{
"category": "https://api.freeagent.com/v2/categories/289",
"dated_on": "2014-08-27",
"receipt_reference": "4747",
"description": "entertaining",
"url":
“https://api.freeagent.com/v2/bank_transaction_explanations/45433960”,
“gross_value”: “-45.0”,
“rebill_to_project”:
“https://api.freeagent.com/v2/projects/270530”,
“rebill_type”: “price”,
//where is rebill amount?? this had 47.00 entered in for it. or
rebill_factor?
// this always comes back as a % even if I enter a specific amount. I
had 11.093845093840593% tax before.
“sales_tax_rate”: “5.0”,
// and better yet, a $100 item with $50 of tax shows as sales_tax_tate
== 100, but no manual_sales_tax_amount
"bank_transaction":
“https://api.freeagent.com/v2/bank_transactions/51145084”,
“bank_account”:
“https://api.freeagent.com/v2/bank_accounts/285345”
}
foreign_currency_value? where is this used? How would I enter one in
the
web ui?
the type? Payment vs transfer vrs … etc. (I only want payment,
mind)
Am I doing this wrong? I want to create something that someone can use
later as an explanation - not really a manual item. What and where are
all the other fields?
Thanks
Nic
–
Nic Wise
t. +64 21 676 418 | @fastchicken
b. http://www.fastchicken.co.nz/
–
You received this message because you are subscribed to the Google
Groups
“FreeAgent API” group.
To unsubscribe from this group and stop receiving emails from it, send
an
email to freeagent_ap...@googlegroups.com.
To post to this group, send email to freeag...@googlegroups.com.
Visit this group at http://groups.google.com/group/freeagent_api.
For more options, visit https://groups.google.com/d/optout.
–
Nic Wise
t. +64 21 676 418 | @fastchicken
b. http://www.fastchicken.co.nz/
–
You received this message because you are subscribed to the Google Groups
“FreeAgent API” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to freeagent_api+unsubscribe@googlegroups.com.
To post to this group, send email to freeagent_api@googlegroups.com.
Visit this group at http://groups.google.com/group/freeagent_api.
For more options, visit https://groups.google.com/d/optout.
Nic Wise
t. +64 21 676 418 | @fastchicken
b. http://www.fastchicken.co.nz/