Purchases

Create a purchase document of the given type

post/accounting/purchases/{purchaseType}

Request

  • Base URL: https://api.clearbooks.co.uk/v1
  • URL: https://api.clearbooks.co.uk/v1/accounting/purchases/{purchaseType}
  • Auth: OAuth 2 (authorization code, authorization URL https://secure.clearbooks.co.uk/account/action/oauth/, token URL https://api.clearbooks.co.uk/oauth/token, scopes: accounting.purchases:write)

Path parameters

purchaseType'bills' | 'creditNotes' | 'expenses' required

Type of purchase document

Headers

X-Business-IDinteger

ID of the business to use (required for multi-business authorisations only)

Request body

OR
OR

Response

Purchase document created

OR
OR

Changes

No recorded changes to this operation across all 1 revision of this API.