Add manual purchase

Records a purchase and its line items for the authenticated business.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
date
required

The date the purchase was made, in YYYY-MM-DD format. Future dates are rejected.

string

The supplier's Zambia Taxpayer Identification Number (TPIN), exactly 10 digits when used.

string

The supplier's name.

string

The supplier's email address.

string

The supplier's phone number.

string

The DigiTax ID of an existing supplier. When supplied, this supplier is used instead of supplier_tin.

int32

The invoice number from the supplier's system. It must be unique for the same supplier within the business.

string

The payment method code. See the Payment Type Codes table for codes 01 through 07; the API also supports 08 for bank transfer. Defaults to 01 when omitted or empty.

boolean

Set to true to record the purchase as rejected; otherwise it is recorded as approved.

items
array of objects
required

The purchase line items.

items*
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json