Bill rebill factor

Hi,

The /bills endpoint does not return a rebill factor, making it impossible
to figure out what the actual value is for a rebill (i.e. I know its a %
markup, price or specific value but have no way of knowing what figure that
relates to):

{
“category”: “https://api.sandbox.freeagent.com/v2/categories/285”,
“dated_on”: “2015-07-07”,
“reference”: “RG002”,
“total_value”: “100.0”,
“url”: “https://api.sandbox.freeagent.com/v2/bills/854”,
“paid_value”: “0.0”,
“rebill_type”: “markup”,
“updated_at”: “2015-07-07T15:02:19Z”,
“comments”: “Rebill with 10% markup”,
“project”: “https://api.sandbox.freeagent.com/v2/projects/3392”,
“contact”: “https://api.sandbox.freeagent.com/v2/contacts/31556”,
“status”: “Open”,
“due_value”: “100.0”,
“rebill_to_project”: “https://api.sandbox.freeagent.com/v2/projects/3392”,
“due_on”: “2015-08-06”,
“created_at”: “2015-07-07T15:02:19Z”
}

Any possibility of getting this solved as a matter of urgency to allow us to use this value as we are attempting to create a profitability calculation, which will be inaccurate in the case of re-billing at anything other than cost or not re-billing at all.

Thanks,

Adam

Hi Adam,

We now have the rebill_factor attribute in the API. It will be returned
when the rebill_type is either price or markup. Hope it helps!

IoanOn Tuesday, July 7, 2015 at 4:46:53 PM UTC+1, Adam Barclay wrote:

Hi,

The /bills endpoint does not return a rebill factor, making it impossible
to figure out what the actual value is for a rebill (i.e. I know its a %
markup, price or specific value but have no way of knowing what figure that
relates to):

{
“category”: “https://api.sandbox.freeagent.com/v2/categories/285”,
“dated_on”: “2015-07-07”,
“reference”: “RG002”,
“total_value”: “100.0”,
“url”: “https://api.sandbox.freeagent.com/v2/bills/854”,
“paid_value”: “0.0”,
“rebill_type”: “markup”,
“updated_at”: “2015-07-07T15:02:19Z”,
“comments”: “Rebill with 10% markup”,
“project”: “https://api.sandbox.freeagent.com/v2/projects/3392”,
“contact”: “https://api.sandbox.freeagent.com/v2/contacts/31556”,
“status”: “Open”,
“due_value”: “100.0”,
“rebill_to_project”: “https://api.sandbox.freeagent.com/v2/projects/3392”,
“due_on”: “2015-08-06”,
“created_at”: “2015-07-07T15:02:19Z”
}

Any possibility of getting this solved as a matter of urgency to allow us to use this value as we are attempting to create a profitability calculation, which will be inaccurate in the case of re-billing at anything other than cost or not re-billing at all.

Thanks,

Adam