Nominal-code ignored in XML API?

I’m creating an invoice then POSTing XML to /invoices/{:invoice_id}/
invoice_items …

<?xml version="1.0" encoding="UTF-8"?> 9 50 products Products 50.0 4.167 <?xml version="1.0" encoding="UTF-8"?> 009 50 products Products 50.0 4.167

I have the matching code set up in my sandbox as 9 (or 009) but either
way my invoice item is created with the default nominal code of 001.

How can I set the nominal code?

Hi Brian,

I’m afraid there is a known bug with API v1 that all invoice items are
created with the default nominal code. It will be fixed in API v2.

Kind regards,

GraemeOn 28 February 2012 12:00, Brian Lowe b.lowe@volcanic.co.uk wrote:

I’m creating an invoice then POSTing XML to /invoices/{:invoice_id}/
invoice_items …

<?xml version="1.0" encoding="UTF-8"?> 9 50 products Products 50.0 4.167 <?xml version="1.0" encoding="UTF-8"?> 009 50 products Products 50.0 4.167

I have the matching code set up in my sandbox as 9 (or 009) but either
way my invoice item is created with the default nominal code of 001.

How can I set the nominal code?


You received this message because you are subscribed to the Google Groups
“FreeAgent API” group.
To post to this group, send email to freeagent_api@googlegroups.com.
To unsubscribe from this group, send email to
freeagent_api+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/freeagent_api?hl=en.

Graeme Boyd
Senior Software Engineer
FreeAgent Central Ltd
40 Torphichen Street, Edinburgh EH3 8JB
Registered in Scotland SC316774