Zola Takehome 1.0.0-dev

Zola interview takehome assignment

  • Contact: N/A
  • License: N/A

Resources

invoice

Operations

Method and Path Description
PUT /v1/invoices

Insert an invoice

GET /v1/invoices

Find an invoice by invoice_number or po_number. If neither is provided, returns all invoices.

Headers

No headers

Imports

No imports

Enums

No enums

Interfaces

No interfaces

Models

invoice

Example Json: Minimal | Full

Interfaces: None

An invoice

Field Type Required? Default Description
id integer No -

Unique identifier for an invoice

invoice_number string Yes -

The invoice number associated with the invoice

po_number string Yes -

The purchase number associated with the invoice

due_date date-iso8601 Yes -

When invoice payment is due

amount_cents long Yes -

Total amount of invoice in US cents

created_at date-time-iso8601 No -

Invoice creation timestamp

Unions

No unions

Annotations

No annotations