Propose Customer Invoice
v0.1.0commandsWorkflow #3 — draft a customer invoice (AR) for approval; created in QBO only once a cleared human approves.
1{
2 "$schema": "http://json-schema.org/draft-07/schema#",
3 "title": "ProposeInvoice",
4 "type": "object",
5 "properties": {
6 "customerId": {
7 "type": "string",
8 "minLength": 1
9 },
10 "customerName": {
11 "type": "string"
12 },
13 "lines": {
14 "type": "array",
15 "minItems": 1,
16 "items": {
17 "type": "object",
18 "properties": {
19 "itemId": {
20 "type": "string",
21 "minLength": 1
22 },
23 "description": {
24 "type": "string"
25 },
26 "amount": {
27 "type": "number",
28 "exclusiveMinimum": 0
29 },
30 "qty": {
31 "type": "number"
32 },
33 "unitPrice": {
34 "type": "number"
35 }
36 },
37 "required": [
38 "itemId",
39 "amount"
40 ]
41 }
42 },
43 "txnDate": {
44 "type": "string"
45 },
46 "dueDate": {
47 "type": "string"
48 },
49 "docNumber": {
50 "type": "string"
51 },
52 "memo": {
53 "type": "string"
54 }
55 },
56 "required": [
57 "customerId",
58 "lines"
59 ]
60}Details
- Format
- JSON Schema
- Resource
- commands
- Filename
- schema.json