{
  "id": 0,
  "created": "2019-08-24T14:15:22Z",
  "business": "string",
  "client": "string",
  "amount": "string",
  "status": "string",
  "payment_method": "string",
  "reference": "string",
  "is_oneclick": true,
  "items": [
    {
      "description": "string",
      "product_reference": "string",
      "quantity": "string",
      "price_unit": "string",
      "discount": "string",
      "taxes": "string",
      "amount_total": "string"
    }
  ],
  "billing_address": {
    "id": 0,
    "created": "2019-08-24T14:15:22Z",
    "modified": "2019-08-24T14:15:22Z",
    "street": "string",
    "number": "string",
    "suburb": "string",
    "zip_code": -2147483648,
    "number_int": "string",
    "number_ext": "string",
    "notes": "string",
    "state": {
      "id": 0,
      "key": "string",
      "name": "string",
      "country": {}
    },
    "city": {
      "id": 0,
      "key": "string",
      "name": "string",
      "state": {}
    },
    "user": {
      "id": 0,
      "password": "string",
      "last_login": "2019-08-24T14:15:22Z",
      "is_superuser": true,
      "username": "string",
      "first_name": "string",
      "last_name": "string",
      "email": "user@example.com",
      "is_staff": true,
      "is_active": true,
      "date_joined": "2019-08-24T14:15:22Z",
      "type": "Cliente",
      "name": "string",
      "groups": [{}],
      "user_permissions": [{}]
    }
  },
  "billing_address_id": 0,
  "shipping_address": {
    "id": 0,
    "created": "2019-08-24T14:15:22Z",
    "modified": "2019-08-24T14:15:22Z",
    "street": "string",
    "number": "string",
    "suburb": "string",
    "zip_code": -2147483648,
    "number_int": "string",
    "number_ext": "string",
    "notes": "string",
    "state": {
      "id": 0,
      "key": "string",
      "name": "string",
      "country": {}
    },
    "city": {
      "id": 0,
      "key": "string",
      "name": "string",
      "state": {}
    },
    "user": {
      "id": 0,
      "password": "string",
      "last_login": "2019-08-24T14:15:22Z",
      "is_superuser": true,
      "username": "string",
      "first_name": "string",
      "last_name": "string",
      "email": "user@example.com",
      "is_staff": true,
      "is_active": true,
      "date_joined": "2019-08-24T14:15:22Z",
      "type": "Cliente",
      "name": "string",
      "groups": [{}],
      "user_permissions": [{}]
    }
  },
  "shipping_address_id": 0
}
id
intefer

read-only

created
string<date-time>

read-only

business
string
required

>= 1 characters <= 100 characters

client
string
required

>= 1 characters <= 100 characters

amount
string<decimal>
required
status
string

read-only

payment_method
string or null

<= 50 characters

reference
string
required

>= 1 characters <= 80 characters

is_oneclick
boolean
items
array[object]
required
billing_address
object
billing_address_id
integer or null
shipping_address
object

read-only

city
object
user
object
shipping_address_id
integer or null