Get invoice method details
GET
/v1/reference/invoice-methods/{id}
const url = 'https://api2.recruso.co.uk/v1/reference/invoice-methods/1';const options = {method: 'GET', headers: {Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api2.recruso.co.uk/v1/reference/invoice-methods/1 \ --header 'Authorization: <Authorization>'Returns one invoice method by id. How a client wants its invoices grouped. The values are Cost Centre, Employees, Job Category, PO Number Day/Rate, PO Order Number and Standard.
Invoice methods are platform-wide, so an id means the same invoice method for every agency.
An id that does not match a invoice method returns 404.
Access. Requires an authenticated token. No further policy is applied.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
integer format: int32
The id path parameter
Responses
Section titled “Responses”OK
Media typeapplication/json
One invoice method.
object
id
The invoice method’s identifier. Stable and platform-wide — the same id means the same thing for every agency.
integer format: int16
name
The invoice method name, as it appears in Recruso. Up to 30 characters. Unique across all invoice methods.
string
Example
{ "id": 1, "name": "Email"}Unauthorized
Media typeapplication/problem+json
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}Not Found
Media typeapplication/problem+json
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}
