Procurify · Schema
BillRead
Spend ManagementProcurementPurchase OrdersAccounts PayableVendor ManagementBudget TrackingProcure-to-PayERP Integration
Properties
| Name | Type | Description |
|---|---|---|
| id | integer | |
| uuid | string | |
| user | object | |
| vendor | object | |
| approval_chain | integer | |
| approver | object | |
| items | array | |
| costs | array | |
| invoice_attachments | array | |
| bill_statuses | array | |
| currency | object | |
| comments | array | |
| version_choices | array | |
| tax_amount | number | |
| inclusive_tax_amount | number | |
| exclusive_tax_amount | number | |
| subtotal_cost | number | This amount does not include any tax or shipping_amount |
| total_cost | number | This amount should not contain any tax or shipping, but include bill cost |
| total_cost_with_tax | number | Make sure full tax amount is added |
| converted_total_cost | number | Total cost converted to base currency. |
| next_approver_choices | array | |
| locked | boolean | |
| bill_payment | object | |
| creditcard | integer | |
| creditcard_name | string | |
| last_export_user | object | |
| last_export_date | string | |
| vendor_name | string | |
| vendor_contact | string | |
| vendor_address_one | string | |
| vendor_address_two | string | |
| vendor_postal_code | string | |
| vendor_city | string | |
| vendor_state_province | string | |
| vendor_country | string | |
| last_modified_datetime | string | |
| submitted_date | string | |
| invoice_number | string | |
| invoice_date | string | |
| due_date | string | |
| payment_terms | string | |
| version | integer | |
| status | object | |
| type | object | |
| active | boolean | |
| note | string | |
| gl_post_date | string | |
| group | integer | |
| payment_method | integer | |
| payment_method_name | string | |
| added_purchase_orders | array | List of purchase orders of the added bill items. |
| shipping_amount | number | |
| invoice_uuid | string | |
| invoice_total | number | |
| creator | object |
JSON Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "BillRead",
"type": "object",
"properties": {
"id": {
"type": "integer",
"readOnly": true
},
"uuid": {
"type": "string",
"format": "uuid"
},
"user": {
"$ref": "#/components/schemas/UserSummary"
},
"vendor": {
"$ref": "#/components/schemas/VendorRead"
},
"approval_chain": {
"type": "integer",
"readOnly": true,
"nullable": true
},
"approver": {
"allOf": [
{
"$ref": "#/components/schemas/ApproverRead"
}
],
"nullable": true,
"type": "object"
},
"items": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ItemReadSerializer_v2"
}
},
"costs": {
"type": "array",
"items": {
"$ref": "#/components/schemas/BillCostRead"
}
},
"invoice_attachments": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Attachment"
}
},
"bill_statuses": {
"type": "array",
"items": {
"$ref": "#/components/schemas/BillStatusRead"
}
},
"currency": {
"$ref": "#/components/schemas/Currency"
},
"comments": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Comment"
},
"readOnly": true
},
"version_choices": {
"type": "array",
"items": {
"$ref": "#/components/schemas/VersionChoicesDocs"
},
"readOnly": true
},
"tax_amount": {
"type": "number",
"format": "double",
"readOnly": true
},
"inclusive_tax_amount": {
"type": "number",
"format": "double",
"readOnly": true
},
"exclusive_tax_amount": {
"type": "number",
"format": "double",
"readOnly": true
},
"subtotal_cost": {
"type": "number",
"format": "double",
"description": "This amount does not include any tax or shipping_amount",
"readOnly": true
},
"total_cost": {
"type": "number",
"format": "double",
"description": "This amount should not contain any tax or shipping, but include bill cost",
"readOnly": true
},
"total_cost_with_tax": {
"type": "number",
"format": "double",
"description": "Make sure full tax amount is added",
"readOnly": true
},
"converted_total_cost": {
"type": "number",
"format": "double",
"description": "Total cost converted to base currency.",
"readOnly": true
},
"next_approver_choices": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ApproverRead"
},
"nullable": true,
"readOnly": true
},
"locked": {
"type": "boolean",
"readOnly": true
},
"bill_payment": {
"allOf": [
{
"$ref": "#/components/schemas/APBillPaymentDocs"
}
],
"nullable": true,
"readOnly": true,
"type": "object"
},
"creditcard": {
"type": "integer",
"readOnly": true
},
"creditcard_name": {
"type": "string",
"readOnly": true
},
"last_export_user": {
"allOf": [
{
"$ref": "#/components/schemas/SimpleUserSummary"
}
],
"readOnly": true
},
"last_export_date": {
"type": "string",
"format": "date",
"readOnly": true
},
"vendor_name": {
"type": "string",
"maxLength": 100
},
"vendor_contact": {
"type": "string",
"maxLength": 100
},
"vendor_address_one": {
"type": "string",
"title": "Vendor Address Line One",
"maxLength": 300
},
"vendor_address_two": {
"type": "string",
"title": "Vendor Address Line Two",
"maxLength": 300
},
"vendor_postal_code": {
"type": "string",
"maxLength": 10
},
"vendor_city": {
"type": "string",
"maxLength": 50
},
"vendor_state_province": {
"type": "string",
"title": "Vendor State/Province",
"maxLength": 40
},
"vendor_country": {
"type": "string",
"maxLength": 80
},
"last_modified_datetime": {
"type": "string",
"format": "date-time",
"readOnly": true,
"title": "Last Modified"
},
"submitted_date": {
"type": "string",
"format": "date-time",
"nullable": true
},
"invoice_number": {
"type": "string",
"maxLength": 50
},
"invoice_date": {
"type": "string",
"format": "date-time",
"nullable": true,
"title": "Bill Invoice Date"
},
"due_date": {
"type": "string",
"format": "date-time",
"nullable": true,
"title": "Bill Due Date"
},
"payment_terms": {
"type": "string",
"maxLength": 100
},
"version": {
"type": "integer",
"maximum": 4294967295,
"minimum": 0,
"format": "int64"
},
"status": {
"allOf": [
{
"$ref": "#/components/schemas/BillStatusEnum"
}
],
"minimum": 0,
"maximum": 4294967295
},
"type": {
"allOf": [
{
"$ref": "#/components/schemas/BillTypeEnum"
}
],
"minimum": 0,
"maximum": 4294967295
},
"active": {
"type": "boolean"
},
"note": {
"type": "string"
},
"gl_post_date": {
"type": "string",
"format": "date-time",
"nullable": true
},
"group": {
"type": "integer",
"nullable": true
},
"payment_method": {
"type": "integer",
"nullable": true,
"title": "Bill Payment Method"
},
"payment_method_name": {
"type": "string",
"readOnly": true
},
"added_purchase_orders": {
"type": "array",
"items": {
"$ref": "#/components/schemas/BillPurchaseOrderDocs"
},
"readOnly": true,
"description": "List of purchase orders of the added bill items."
},
"shipping_amount": {
"type": "number",
"format": "double",
"readOnly": true
},
"invoice_uuid": {
"type": "string",
"readOnly": true
},
"invoice_total": {
"type": "number",
"format": "double",
"maximum": 10000000000000,
"minimum": -10000000000000,
"exclusiveMaximum": true,
"exclusiveMinimum": true,
"readOnly": true
},
"creator": {
"$ref": "#/components/schemas/UserSummary"
}
},
"required": [
"bill_statuses",
"costs",
"creator",
"currency",
"invoice_attachments",
"items",
"user",
"uuid",
"vendor"
]
}