{"swagger":"2.0","info":{"version":"","title":"Coupa API","description":"RESTful API that provides robust access to read, edit, or integrate your data with the Coupa platform. The [JSON](/api_docs/2.json) and [YAML](/api_docs/2.yaml) are also available."},"host":"r32.coupadev.com","basePath":"/api","tags":[{"name":"ExpenseArtifact","description":"Expense Artifacts API"},{"name":"ExpenseReport","description":"Expense Reports API"},{"name":"ExpenseLine","description":"Expense Lines API"}],"schemes":["https"],"security":[{"internalApiKey":[]}],"paths":{"/expense_artifacts/{id}/image":{"get":{"tags":["ExpenseArtifact"],"summary":"Upload expense artifact image","description":"Upload expense artifact image","produces":["application/xml","application/json"],"parameters":[{"in":"path","name":"id","required":true,"type":"integer"},{"in":"query","name":"limit","type":"integer","required":false},{"in":"query","name":"offset","type":"integer","required":false},{"in":"query","name":"order_by","type":"string","required":false},{"in":"query","name":"dir","type":"string","required":false,"enum":["asc","desc"]},{"in":"query","name":"return_object","type":"string","required":false,"enum":["limited","shallow","none"]},{"in":"query","name":"filter","type":"string","required":false}],"responses":{"200":{"description":"ExpenseArtifact object","schema":{"$ref":"#/definitions/ExpenseArtifact"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}}}},"/expense_artifacts":{"post":{"tags":["ExpenseArtifact"],"summary":"Create expense artifact","description":"Create expense artifact","consumes":["application/xml","application/json"],"produces":["application/xml","application/json"],"parameters":[{"name":"ExpenseArtifact","in":"body","required":true,"schema":{"$ref":"#/definitions/ExpenseArtifact"}},{"in":"query","name":"return_object","type":"string","required":false,"enum":["limited","shallow","none"]},{"in":"query","name":"filter","type":"string","required":false}],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ExpenseArtifact"}},"400":{"description":"Bad Request"}}}},"/expense_artifacts/{id}":{"delete":{"tags":["ExpenseArtifact"],"summary":"Delete expense artifact","description":"Delete expense artifact","produces":["application/xml","application/json"],"parameters":[{"in":"path","name":"id","required":true,"type":"integer"}],"responses":{"200":{"description":"Deleted"}}}},"/expense_reports/{id}/submit":{"put":{"tags":["ExpenseReport"],"summary":"Create an expense report and attempt to submit it for approval","description":"Create an expense report and attempt to submit it for approval","consumes":["application/xml","application/json"],"produces":["application/xml","application/json"],"parameters":[{"name":"ExpenseReport","in":"body","required":false,"schema":{"$ref":"#/definitions/ExpenseReport"}},{"in":"path","name":"id","required":true,"type":"integer"},{"in":"query","name":"return_object","type":"string","required":false,"enum":["limited","shallow","none"]},{"in":"query","name":"filter","type":"string","required":false}],"responses":{"200":{"description":"ExpenseReport object","schema":{"items":{"$ref":"#/definitions/ExpenseReport"}}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}}}},"/expense_reports/{id}/add_approver":{"put":{"tags":["ExpenseReport"],"summary":"Manually add an approver for an expense report","description":"Manually add an approver for an expense report","consumes":["application/xml","application/json"],"produces":["application/xml","application/json"],"parameters":[{"name":"ExpenseReport","in":"body","required":false,"schema":{"$ref":"#/definitions/ExpenseReport"}},{"in":"path","name":"id","required":true,"type":"integer"},{"in":"query","name":"return_object","type":"string","required":false,"enum":["limited","shallow","none"]},{"in":"query","name":"filter","type":"string","required":false}],"responses":{"200":{"description":"ExpenseReport object","schema":{"items":{"$ref":"#/definitions/ExpenseReport"}}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}}}},"/expense_reports/{id}/remove_approval":{"put":{"tags":["ExpenseReport"],"summary":"Remove an approver who was manually added","description":"Remove an approver who was manually added","consumes":["application/xml","application/json"],"produces":["application/xml","application/json"],"parameters":[{"name":"ExpenseReport","in":"body","required":false,"schema":{"$ref":"#/definitions/ExpenseReport"}},{"in":"path","name":"id","required":true,"type":"integer"},{"in":"query","name":"return_object","type":"string","required":false,"enum":["limited","shallow","none"]},{"in":"query","name":"filter","type":"string","required":false}],"responses":{"200":{"description":"ExpenseReport object","schema":{"items":{"$ref":"#/definitions/ExpenseReport"}}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}}}},"/expense_reports/{id}/send_back_line":{"put":{"tags":["ExpenseReport"],"summary":"Send expense line back to submitter","description":"Send expense line back to submitter","consumes":["application/xml","application/json"],"produces":["application/xml","application/json"],"parameters":[{"name":"ExpenseReport","in":"body","required":false,"schema":{"$ref":"#/definitions/ExpenseReport"}},{"in":"path","name":"id","required":true,"type":"integer"},{"in":"query","name":"return_object","type":"string","required":false,"enum":["limited","shallow","none"]},{"in":"query","name":"filter","type":"string","required":false}],"responses":{"200":{"description":"ExpenseReport object","schema":{"items":{"$ref":"#/definitions/ExpenseReport"}}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}}}},"/expense_reports/{expense_report_id}/expense_lines/{expense_line_id}/expense_artifacts/{id}/image(/{style})":{"get":{"tags":["ExpenseArtifact"],"summary":"Upload expense artifact image","description":"Upload expense artifact image","produces":["application/xml","application/json"],"parameters":[{"in":"path","name":"expense_report_id","required":true,"type":"integer"},{"in":"path","name":"expense_line_id","required":true,"type":"integer"},{"in":"path","name":"id","required":true,"type":"integer"},{"in":"path","name":"style","required":true,"type":"integer"},{"in":"query","name":"limit","type":"integer","required":false},{"in":"query","name":"offset","type":"integer","required":false},{"in":"query","name":"order_by","type":"string","required":false},{"in":"query","name":"dir","type":"string","required":false,"enum":["asc","desc"]},{"in":"query","name":"return_object","type":"string","required":false,"enum":["limited","shallow","none"]},{"in":"query","name":"filter","type":"string","required":false}],"responses":{"200":{"description":"ExpenseArtifact object","schema":{"$ref":"#/definitions/ExpenseArtifact"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}}}},"/expense_reports/{expense_report_id}/expense_lines/{expense_line_id}/expense_artifacts":{"post":{"tags":["ExpenseArtifact"],"summary":"Create expense artifact","description":"Create expense artifact","consumes":["application/xml","application/json"],"produces":["application/xml","application/json"],"parameters":[{"name":"ExpenseArtifact","in":"body","required":true,"schema":{"$ref":"#/definitions/ExpenseArtifact"}},{"in":"path","name":"expense_report_id","required":true,"type":"integer"},{"in":"path","name":"expense_line_id","required":true,"type":"integer"},{"in":"query","name":"return_object","type":"string","required":false,"enum":["limited","shallow","none"]},{"in":"query","name":"filter","type":"string","required":false}],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ExpenseArtifact"}},"400":{"description":"Bad Request"}}}},"/expense_reports/{expense_report_id}/expense_lines/{expense_line_id}/expense_artifacts/{id}":{"delete":{"tags":["ExpenseArtifact"],"summary":"Delete expense artifact","description":"Delete expense artifact","produces":["application/xml","application/json"],"parameters":[{"in":"path","name":"expense_report_id","required":true,"type":"integer"},{"in":"path","name":"expense_line_id","required":true,"type":"integer"},{"in":"path","name":"id","required":true,"type":"integer"}],"responses":{"200":{"description":"Deleted"}}}},"/expense_reports/{expense_report_id}/expense_lines":{"get":{"tags":["ExpenseLine"],"summary":"Query expense lines","description":"Query expense lines","produces":["application/xml","application/json"],"parameters":[{"in":"path","name":"expense_report_id","required":true,"type":"integer"},{"in":"query","name":"limit","type":"integer","required":false},{"in":"query","name":"offset","type":"integer","required":false},{"in":"query","name":"order_by","type":"string","required":false},{"in":"query","name":"dir","type":"string","required":false,"enum":["asc","desc"]},{"in":"query","name":"return_object","type":"string","required":false,"enum":["limited","shallow","none"]},{"in":"query","name":"filter","type":"string","required":false}],"responses":{"200":{"description":"ExpenseLine objects","schema":{"type":"array","items":{"$ref":"#/definitions/ExpenseLine"},"xml":{"name":"expense-lines","wrapped":true}}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}}},"post":{"tags":["ExpenseLine"],"summary":"Create expense line","description":"Create expense line","consumes":["application/xml","application/json"],"produces":["application/xml","application/json"],"parameters":[{"name":"ExpenseLine","in":"body","required":true,"schema":{"$ref":"#/definitions/ExpenseLine"}},{"in":"path","name":"expense_report_id","required":true,"type":"integer"},{"in":"query","name":"return_object","type":"string","required":false,"enum":["limited","shallow","none"]},{"in":"query","name":"filter","type":"string","required":false}],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ExpenseLine"}},"400":{"description":"Bad Request"}}}},"/expense_reports/{expense_report_id}/expense_lines/{id}":{"get":{"tags":["ExpenseLine"],"summary":"Show expense line","description":"Show expense line","produces":["application/xml","application/json"],"parameters":[{"in":"path","name":"expense_report_id","required":true,"type":"integer"},{"in":"path","name":"id","required":true,"type":"integer"},{"in":"query","name":"limit","type":"integer","required":false},{"in":"query","name":"offset","type":"integer","required":false},{"in":"query","name":"order_by","type":"string","required":false},{"in":"query","name":"dir","type":"string","required":false,"enum":["asc","desc"]},{"in":"query","name":"return_object","type":"string","required":false,"enum":["limited","shallow","none"]},{"in":"query","name":"filter","type":"string","required":false}],"responses":{"200":{"description":"ExpenseLine object","schema":{"$ref":"#/definitions/ExpenseLine"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}}},"patch":{"tags":["ExpenseLine"],"summary":"Update expense line","description":"Update expense line","consumes":["application/xml","application/json"],"produces":["application/xml","application/json"],"parameters":[{"name":"ExpenseLine","in":"body","required":false,"schema":{"$ref":"#/definitions/ExpenseLine"}},{"in":"path","name":"expense_report_id","required":true,"type":"integer"},{"in":"path","name":"id","required":true,"type":"integer"},{"in":"query","name":"return_object","type":"string","required":false,"enum":["limited","shallow","none"]},{"in":"query","name":"filter","type":"string","required":false}],"responses":{"200":{"description":"ExpenseLine object","schema":{"items":{"$ref":"#/definitions/ExpenseLine"}}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}}},"put":{"tags":["ExpenseLine"],"summary":"Update expense line","description":"Update expense line","consumes":["application/xml","application/json"],"produces":["application/xml","application/json"],"parameters":[{"name":"ExpenseLine","in":"body","required":false,"schema":{"$ref":"#/definitions/ExpenseLine"}},{"in":"path","name":"expense_report_id","required":true,"type":"integer"},{"in":"path","name":"id","required":true,"type":"integer"},{"in":"query","name":"return_object","type":"string","required":false,"enum":["limited","shallow","none"]},{"in":"query","name":"filter","type":"string","required":false}],"responses":{"200":{"description":"ExpenseLine object","schema":{"items":{"$ref":"#/definitions/ExpenseLine"}}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}}},"delete":{"tags":["ExpenseLine"],"summary":"Delete expense line","description":"Delete expense line","produces":["application/xml","application/json"],"parameters":[{"in":"path","name":"expense_report_id","required":true,"type":"integer"},{"in":"path","name":"id","required":true,"type":"integer"}],"responses":{"200":{"description":"Deleted"}}}},"/expense_reports":{"get":{"tags":["ExpenseReport"],"summary":"Query expense reports","description":"Query expense reports","produces":["application/xml","application/json"],"parameters":[{"in":"query","name":"limit","type":"integer","required":false},{"in":"query","name":"offset","type":"integer","required":false},{"in":"query","name":"order_by","type":"string","required":false},{"in":"query","name":"dir","type":"string","required":false,"enum":["asc","desc"]},{"in":"query","name":"return_object","type":"string","required":false,"enum":["limited","shallow","none"]},{"in":"query","name":"filter","type":"string","required":false}],"responses":{"200":{"description":"ExpenseReport objects","schema":{"type":"array","items":{"$ref":"#/definitions/ExpenseReport"},"xml":{"name":"expense-reports","wrapped":true}}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}}},"post":{"tags":["ExpenseReport"],"summary":"Create an expense report in draft status","description":"Create an expense report in draft status","consumes":["application/xml","application/json"],"produces":["application/xml","application/json"],"parameters":[{"name":"ExpenseReport","in":"body","required":true,"schema":{"$ref":"#/definitions/ExpenseReport"}},{"in":"query","name":"return_object","type":"string","required":false,"enum":["limited","shallow","none"]},{"in":"query","name":"filter","type":"string","required":false}],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ExpenseReport"}},"400":{"description":"Bad Request"}}}},"/expense_reports/{id}":{"get":{"tags":["ExpenseReport"],"summary":"Show expense report","description":"Show expense report","produces":["application/xml","application/json"],"parameters":[{"in":"path","name":"id","required":true,"type":"integer"},{"in":"query","name":"limit","type":"integer","required":false},{"in":"query","name":"offset","type":"integer","required":false},{"in":"query","name":"order_by","type":"string","required":false},{"in":"query","name":"dir","type":"string","required":false,"enum":["asc","desc"]},{"in":"query","name":"return_object","type":"string","required":false,"enum":["limited","shallow","none"]},{"in":"query","name":"filter","type":"string","required":false}],"responses":{"200":{"description":"ExpenseReport object","schema":{"$ref":"#/definitions/ExpenseReport"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}}},"patch":{"tags":["ExpenseReport"],"summary":"Update expense report","description":"Update expense report","consumes":["application/xml","application/json"],"produces":["application/xml","application/json"],"parameters":[{"name":"ExpenseReport","in":"body","required":false,"schema":{"$ref":"#/definitions/ExpenseReport"}},{"in":"path","name":"id","required":true,"type":"integer"},{"in":"query","name":"return_object","type":"string","required":false,"enum":["limited","shallow","none"]},{"in":"query","name":"filter","type":"string","required":false}],"responses":{"200":{"description":"ExpenseReport object","schema":{"items":{"$ref":"#/definitions/ExpenseReport"}}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}}},"put":{"tags":["ExpenseReport"],"summary":"Update expense report","description":"Update expense report","consumes":["application/xml","application/json"],"produces":["application/xml","application/json"],"parameters":[{"name":"ExpenseReport","in":"body","required":false,"schema":{"$ref":"#/definitions/ExpenseReport"}},{"in":"path","name":"id","required":true,"type":"integer"},{"in":"query","name":"return_object","type":"string","required":false,"enum":["limited","shallow","none"]},{"in":"query","name":"filter","type":"string","required":false}],"responses":{"200":{"description":"ExpenseReport object","schema":{"items":{"$ref":"#/definitions/ExpenseReport"}}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}}},"delete":{"tags":["ExpenseReport"],"summary":"Delete expense report","description":"Delete expense report","produces":["application/xml","application/json"],"parameters":[{"in":"path","name":"id","required":true,"type":"integer"}],"responses":{"200":{"description":"Deleted"}}}},"/expense_lines/{id}/assign_attendee/{expense_attendee_id}":{"post":{"tags":["ExpenseLine"],"summary":"Assign attendee to expense line","description":"Assign attendee to expense line","consumes":["application/xml","application/json"],"produces":["application/xml","application/json"],"parameters":[{"name":"ExpenseLine","in":"body","required":true,"schema":{"$ref":"#/definitions/ExpenseLine"}},{"in":"path","name":"id","required":true,"type":"integer"},{"in":"path","name":"expense_attendee_id","required":true,"type":"integer"},{"in":"query","name":"return_object","type":"string","required":false,"enum":["limited","shallow","none"]},{"in":"query","name":"filter","type":"string","required":false}],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ExpenseLine"}},"400":{"description":"Bad Request"}}}},"/expense_lines/{id}/unassign_attendee/{expense_attendee_id}":{"delete":{"tags":["ExpenseLine"],"summary":"Unassign attendee from expense line","description":"Unassign attendee from expense line","produces":["application/xml","application/json"],"parameters":[{"in":"path","name":"id","required":true,"type":"integer"},{"in":"path","name":"expense_attendee_id","required":true,"type":"integer"}],"responses":{"200":{"description":"Deleted"}}}},"/expense_lines/{id}/calculate_mileage":{"post":{"tags":["ExpenseLine"],"summary":"Calculate line total based on mileage data","description":"Calculate line total based on mileage data","consumes":["application/xml","application/json"],"produces":["application/xml","application/json"],"parameters":[{"name":"ExpenseLine","in":"body","required":true,"schema":{"$ref":"#/definitions/ExpenseLine"}},{"in":"path","name":"id","required":true,"type":"integer"},{"in":"query","name":"return_object","type":"string","required":false,"enum":["limited","shallow","none"]},{"in":"query","name":"filter","type":"string","required":false}],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ExpenseLine"}},"400":{"description":"Bad Request"}}}},"/expense_lines/{id}/calculate_per_diem":{"post":{"tags":["ExpenseLine"],"summary":"Calculate line total based on trip data","description":"Calculate line total based on trip data","consumes":["application/xml","application/json"],"produces":["application/xml","application/json"],"parameters":[{"name":"ExpenseLine","in":"body","required":true,"schema":{"$ref":"#/definitions/ExpenseLine"}},{"in":"path","name":"id","required":true,"type":"integer"},{"in":"query","name":"return_object","type":"string","required":false,"enum":["limited","shallow","none"]},{"in":"query","name":"filter","type":"string","required":false}],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ExpenseLine"}},"400":{"description":"Bad Request"}}}},"/expense_lines/{id}/calculate_taxes":{"put":{"tags":["ExpenseLine"],"summary":"/expense_lines/{id}/calculate_taxes","description":"","consumes":["application/xml","application/json"],"produces":["application/xml","application/json"],"parameters":[{"name":"ExpenseLine","in":"body","required":false,"schema":{"$ref":"#/definitions/ExpenseLine"}},{"in":"path","name":"id","required":true,"type":"integer"},{"in":"query","name":"return_object","type":"string","required":false,"enum":["limited","shallow","none"]},{"in":"query","name":"filter","type":"string","required":false}],"responses":{"200":{"description":"ExpenseLine object","schema":{"items":{"$ref":"#/definitions/ExpenseLine"}}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}}}},"/expense_lines/{id}/estimate_taxes":{"post":{"tags":["ExpenseLine"],"summary":"/expense_lines/{id}/estimate_taxes","description":"","consumes":["application/xml","application/json"],"produces":["application/xml","application/json"],"parameters":[{"name":"ExpenseLine","in":"body","required":true,"schema":{"$ref":"#/definitions/ExpenseLine"}},{"in":"path","name":"id","required":true,"type":"integer"},{"in":"query","name":"return_object","type":"string","required":false,"enum":["limited","shallow","none"]},{"in":"query","name":"filter","type":"string","required":false}],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ExpenseLine"}},"400":{"description":"Bad Request"}}}},"/expense_lines/{expense_line_id}/expense_artifacts/{id}/image(/{style})":{"get":{"tags":["ExpenseArtifact"],"summary":"Upload expense artifact image","description":"Upload expense artifact image","produces":["application/xml","application/json"],"parameters":[{"in":"path","name":"expense_line_id","required":true,"type":"integer"},{"in":"path","name":"id","required":true,"type":"integer"},{"in":"path","name":"style","required":true,"type":"integer"},{"in":"query","name":"limit","type":"integer","required":false},{"in":"query","name":"offset","type":"integer","required":false},{"in":"query","name":"order_by","type":"string","required":false},{"in":"query","name":"dir","type":"string","required":false,"enum":["asc","desc"]},{"in":"query","name":"return_object","type":"string","required":false,"enum":["limited","shallow","none"]},{"in":"query","name":"filter","type":"string","required":false}],"responses":{"200":{"description":"ExpenseArtifact object","schema":{"$ref":"#/definitions/ExpenseArtifact"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}}}},"/expense_lines/{expense_line_id}/expense_artifacts":{"post":{"tags":["ExpenseArtifact"],"summary":"Create expense artifact","description":"Create expense artifact","consumes":["application/xml","application/json"],"produces":["application/xml","application/json"],"parameters":[{"name":"ExpenseArtifact","in":"body","required":true,"schema":{"$ref":"#/definitions/ExpenseArtifact"}},{"in":"path","name":"expense_line_id","required":true,"type":"integer"},{"in":"query","name":"return_object","type":"string","required":false,"enum":["limited","shallow","none"]},{"in":"query","name":"filter","type":"string","required":false}],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ExpenseArtifact"}},"400":{"description":"Bad Request"}}}},"/expense_lines/{expense_line_id}/expense_artifacts/{id}":{"delete":{"tags":["ExpenseArtifact"],"summary":"Delete expense artifact","description":"Delete expense artifact","produces":["application/xml","application/json"],"parameters":[{"in":"path","name":"expense_line_id","required":true,"type":"integer"},{"in":"path","name":"id","required":true,"type":"integer"}],"responses":{"200":{"description":"Deleted"}}}},"/expense_lines":{"get":{"tags":["ExpenseLine"],"summary":"Query expense lines","description":"Query expense lines","produces":["application/xml","application/json"],"parameters":[{"in":"query","name":"limit","type":"integer","required":false},{"in":"query","name":"offset","type":"integer","required":false},{"in":"query","name":"order_by","type":"string","required":false},{"in":"query","name":"dir","type":"string","required":false,"enum":["asc","desc"]},{"in":"query","name":"return_object","type":"string","required":false,"enum":["limited","shallow","none"]},{"in":"query","name":"filter","type":"string","required":false}],"responses":{"200":{"description":"ExpenseLine objects","schema":{"type":"array","items":{"$ref":"#/definitions/ExpenseLine"},"xml":{"name":"expense-lines","wrapped":true}}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}}},"post":{"tags":["ExpenseLine"],"summary":"Create expense line","description":"Create expense line","consumes":["application/xml","application/json"],"produces":["application/xml","application/json"],"parameters":[{"name":"ExpenseLine","in":"body","required":true,"schema":{"$ref":"#/definitions/ExpenseLine"}},{"in":"query","name":"return_object","type":"string","required":false,"enum":["limited","shallow","none"]},{"in":"query","name":"filter","type":"string","required":false}],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/ExpenseLine"}},"400":{"description":"Bad Request"}}}},"/expense_lines/{id}":{"get":{"tags":["ExpenseLine"],"summary":"Show expense line","description":"Show expense line","produces":["application/xml","application/json"],"parameters":[{"in":"path","name":"id","required":true,"type":"integer"},{"in":"query","name":"limit","type":"integer","required":false},{"in":"query","name":"offset","type":"integer","required":false},{"in":"query","name":"order_by","type":"string","required":false},{"in":"query","name":"dir","type":"string","required":false,"enum":["asc","desc"]},{"in":"query","name":"return_object","type":"string","required":false,"enum":["limited","shallow","none"]},{"in":"query","name":"filter","type":"string","required":false}],"responses":{"200":{"description":"ExpenseLine object","schema":{"$ref":"#/definitions/ExpenseLine"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}}},"patch":{"tags":["ExpenseLine"],"summary":"Update expense line","description":"Update expense line","consumes":["application/xml","application/json"],"produces":["application/xml","application/json"],"parameters":[{"name":"ExpenseLine","in":"body","required":false,"schema":{"$ref":"#/definitions/ExpenseLine"}},{"in":"path","name":"id","required":true,"type":"integer"},{"in":"query","name":"return_object","type":"string","required":false,"enum":["limited","shallow","none"]},{"in":"query","name":"filter","type":"string","required":false}],"responses":{"200":{"description":"ExpenseLine object","schema":{"items":{"$ref":"#/definitions/ExpenseLine"}}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}}},"put":{"tags":["ExpenseLine"],"summary":"Update expense line","description":"Update expense line","consumes":["application/xml","application/json"],"produces":["application/xml","application/json"],"parameters":[{"name":"ExpenseLine","in":"body","required":false,"schema":{"$ref":"#/definitions/ExpenseLine"}},{"in":"path","name":"id","required":true,"type":"integer"},{"in":"query","name":"return_object","type":"string","required":false,"enum":["limited","shallow","none"]},{"in":"query","name":"filter","type":"string","required":false}],"responses":{"200":{"description":"ExpenseLine object","schema":{"items":{"$ref":"#/definitions/ExpenseLine"}}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}}},"delete":{"tags":["ExpenseLine"],"summary":"Delete expense line","description":"Delete expense line","produces":["application/xml","application/json"],"parameters":[{"in":"path","name":"id","required":true,"type":"integer"}],"responses":{"200":{"description":"Deleted"}}}}},"securityDefinitions":{"internalApiKey":{"type":"apiKey","in":"header","name":"X-COUPA-API-KEY"}},"definitions":{"Account":{"type":"object","properties":{"account-type":{"$ref":"#/definitions/AccountType"},"account-type-id":{"type":"integer","description":"Account Type Id","format":"integer","readOnly":true},"active":{"type":"boolean","description":"A false value will inactivate the account making it no longer available to users.  A true value will make it active and available to users.","format":"boolean"},"code":{"type":"string","description":"All segments concatenated with a hyphen ( - )","format":"string(1024)","readOnly":true},"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"created-by":{"$ref":"#/definitions/UserSimple"},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"name":{"type":"string","description":"This is the nickname for the account.  Users can view and search against this field through the user interface.","format":"string(1024)"},"segment-1":{"type":"string","description":"Each segment represents the segment of the account code (e.g. code: 99-9023-100132, where segment-1 is 99, segment-2 is 9023, and segment-3 is 100132)","format":"string(100)"},"segment-10":{"type":"string","description":"Each segment represents the segment of the account code (e.g. code: 99-9023-100132, where segment-1 is 99, segment-2 is 9023, and segment-3 is 100132)","format":"string(100)"},"segment-11":{"type":"string","description":"Each segment represents the segment of the account code (e.g. code: 99-9023-100132, where segment-1 is 99, segment-2 is 9023, and segment-3 is 100132)","format":"string(100)"},"segment-12":{"type":"string","description":"Each segment represents the segment of the account code (e.g. code: 99-9023-100132, where segment-1 is 99, segment-2 is 9023, and segment-3 is 100132)","format":"string(100)"},"segment-13":{"type":"string","description":"Each segment represents the segment of the account code (e.g. code: 99-9023-100132, where segment-1 is 99, segment-2 is 9023, and segment-3 is 100132)","format":"string(100)"},"segment-14":{"type":"string","description":"Each segment represents the segment of the account code (e.g. code: 99-9023-100132, where segment-1 is 99, segment-2 is 9023, and segment-3 is 100132)","format":"string(100)"},"segment-15":{"type":"string","description":"Each segment represents the segment of the account code (e.g. code: 99-9023-100132, where segment-1 is 99, segment-2 is 9023, and segment-3 is 100132)","format":"string(100)"},"segment-16":{"type":"string","description":"Each segment represents the segment of the account code (e.g. code: 99-9023-100132, where segment-1 is 99, segment-2 is 9023, and segment-3 is 100132)","format":"string(100)"},"segment-17":{"type":"string","description":"Each segment represents the segment of the account code (e.g. code: 99-9023-100132, where segment-1 is 99, segment-2 is 9023, and segment-3 is 100132)","format":"string(100)"},"segment-18":{"type":"string","description":"Each segment represents the segment of the account code (e.g. code: 99-9023-100132, where segment-1 is 99, segment-2 is 9023, and segment-3 is 100132)","format":"string(100)"},"segment-19":{"type":"string","description":"Each segment represents the segment of the account code (e.g. code: 99-9023-100132, where segment-1 is 99, segment-2 is 9023, and segment-3 is 100132)","format":"string(100)"},"segment-2":{"type":"string","description":"Each segment represents the segment of the account code (e.g. code: 99-9023-100132, where segment-1 is 99, segment-2 is 9023, and segment-3 is 100132)","format":"string(100)"},"segment-20":{"type":"string","description":"Each segment represents the segment of the account code (e.g. code: 99-9023-100132, where segment-1 is 99, segment-2 is 9023, and segment-3 is 100132)","format":"string(100)"},"segment-3":{"type":"string","description":"Each segment represents the segment of the account code (e.g. code: 99-9023-100132, where segment-1 is 99, segment-2 is 9023, and segment-3 is 100132)","format":"string(100)"},"segment-4":{"type":"string","description":"Each segment represents the segment of the account code (e.g. code: 99-9023-100132, where segment-1 is 99, segment-2 is 9023, and segment-3 is 100132)","format":"string(100)"},"segment-5":{"type":"string","description":"Each segment represents the segment of the account code (e.g. code: 99-9023-100132, where segment-1 is 99, segment-2 is 9023, and segment-3 is 100132)","format":"string(100)"},"segment-6":{"type":"string","description":"Each segment represents the segment of the account code (e.g. code: 99-9023-100132, where segment-1 is 99, segment-2 is 9023, and segment-3 is 100132)","format":"string(100)"},"segment-7":{"type":"string","description":"Each segment represents the segment of the account code (e.g. code: 99-9023-100132, where segment-1 is 99, segment-2 is 9023, and segment-3 is 100132)","format":"string(100)"},"segment-8":{"type":"string","description":"Each segment represents the segment of the account code (e.g. code: 99-9023-100132, where segment-1 is 99, segment-2 is 9023, and segment-3 is 100132)","format":"string(100)"},"segment-9":{"type":"string","description":"Each segment represents the segment of the account code (e.g. code: 99-9023-100132, where segment-1 is 99, segment-2 is 9023, and segment-3 is 100132)","format":"string(100)"},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"updated-by":{"$ref":"#/definitions/UserSimple"}},"required":["account-type"]},"AccountGroup":{"type":"object","properties":{"account-group-type":{"type":"integer","description":"Type","format":"integer","enum":["1","2"]},"account-type":{"$ref":"#/definitions/AccountType"},"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"created-by":{"$ref":"#/definitions/UserSimple"},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"name":{"type":"string","description":"name","format":"string(80)"},"segment-10-col":{"type":"string","description":"segment_10_col","format":"string(255)"},"segment-10-op":{"type":"string","description":"segment_10_op","format":"string(255)"},"segment-10-val":{"type":"string","description":"segment_10_val","format":"string(255)"},"segment-11-col":{"type":"string","description":"segment_11_col","format":"string(255)"},"segment-11-op":{"type":"string","description":"segment_11_op","format":"string(255)"},"segment-11-val":{"type":"string","description":"segment_11_val","format":"string(255)"},"segment-12-col":{"type":"string","description":"segment_12_col","format":"string(255)"},"segment-12-op":{"type":"string","description":"segment_12_op","format":"string(255)"},"segment-12-val":{"type":"string","description":"segment_12_val","format":"string(255)"},"segment-13-col":{"type":"string","description":"segment_13_col","format":"string(255)"},"segment-13-op":{"type":"string","description":"segment_13_op","format":"string(255)"},"segment-13-val":{"type":"string","description":"segment_13_val","format":"string(255)"},"segment-14-col":{"type":"string","description":"segment_14_col","format":"string(255)"},"segment-14-op":{"type":"string","description":"segment_14_op","format":"string(255)"},"segment-14-val":{"type":"string","description":"segment_14_val","format":"string(255)"},"segment-15-col":{"type":"string","description":"segment_15_col","format":"string(255)"},"segment-15-op":{"type":"string","description":"segment_15_op","format":"string(255)"},"segment-15-val":{"type":"string","description":"segment_15_val","format":"string(255)"},"segment-16-col":{"type":"string","description":"segment_16_col","format":"string(255)"},"segment-16-op":{"type":"string","description":"segment_16_op","format":"string(255)"},"segment-16-val":{"type":"string","description":"segment_16_val","format":"string(255)"},"segment-17-col":{"type":"string","description":"segment_17_col","format":"string(255)"},"segment-17-op":{"type":"string","description":"segment_17_op","format":"string(255)"},"segment-17-val":{"type":"string","description":"segment_17_val","format":"string(255)"},"segment-18-col":{"type":"string","description":"segment_18_col","format":"string(255)"},"segment-18-op":{"type":"string","description":"segment_18_op","format":"string(255)"},"segment-18-val":{"type":"string","description":"segment_18_val","format":"string(255)"},"segment-19-col":{"type":"string","description":"segment_19_col","format":"string(255)"},"segment-19-op":{"type":"string","description":"segment_19_op","format":"string(255)"},"segment-19-val":{"type":"string","description":"segment_19_val","format":"string(255)"},"segment-1-col":{"type":"string","description":"segment_1_col","format":"string(255)"},"segment-1-op":{"type":"string","description":"segment_1_op","format":"string(255)"},"segment-1-val":{"type":"string","description":"segment_1_val","format":"string(255)"},"segment-20-col":{"type":"string","description":"segment_20_col","format":"string(255)"},"segment-20-op":{"type":"string","description":"segment_20_op","format":"string(255)"},"segment-20-val":{"type":"string","description":"segment_20_val","format":"string(255)"},"segment-2-col":{"type":"string","description":"segment_2_col","format":"string(255)"},"segment-2-op":{"type":"string","description":"segment_2_op","format":"string(255)"},"segment-2-val":{"type":"string","description":"segment_2_val","format":"string(255)"},"segment-3-col":{"type":"string","description":"segment_3_col","format":"string(255)"},"segment-3-op":{"type":"string","description":"segment_3_op","format":"string(255)"},"segment-3-val":{"type":"string","description":"segment_3_val","format":"string(255)"},"segment-4-col":{"type":"string","description":"segment_4_col","format":"string(255)"},"segment-4-op":{"type":"string","description":"segment_4_op","format":"string(255)"},"segment-4-val":{"type":"string","description":"segment_4_val","format":"string(255)"},"segment-5-col":{"type":"string","description":"segment_5_col","format":"string(255)"},"segment-5-op":{"type":"string","description":"segment_5_op","format":"string(255)"},"segment-5-val":{"type":"string","description":"segment_5_val","format":"string(255)"},"segment-6-col":{"type":"string","description":"segment_6_col","format":"string(255)"},"segment-6-op":{"type":"string","description":"segment_6_op","format":"string(255)"},"segment-6-val":{"type":"string","description":"segment_6_val","format":"string(255)"},"segment-7-col":{"type":"string","description":"segment_7_col","format":"string(255)"},"segment-7-op":{"type":"string","description":"segment_7_op","format":"string(255)"},"segment-7-val":{"type":"string","description":"segment_7_val","format":"string(255)"},"segment-8-col":{"type":"string","description":"segment_8_col","format":"string(255)"},"segment-8-op":{"type":"string","description":"segment_8_op","format":"string(255)"},"segment-8-val":{"type":"string","description":"segment_8_val","format":"string(255)"},"segment-9-col":{"type":"string","description":"segment_9_col","format":"string(255)"},"segment-9-op":{"type":"string","description":"segment_9_op","format":"string(255)"},"segment-9-val":{"type":"string","description":"segment_9_val","format":"string(255)"},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"updated-by":{"$ref":"#/definitions/UserSimple"}},"required":["account-group-type","account-type","name"]},"AccountType":{"type":"object","properties":{"active":{"type":"boolean","description":"A false value will inactivate the chart of account making it no longer available to users.  A true value will make it active and available to users.","format":"boolean"},"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"created-by":{"$ref":"#/definitions/UserSimple"},"currency":{"$ref":"#/definitions/Currency"},"dynamic-flag":{"type":"boolean","description":"Boolean value for determing if account type is dynamic","format":"boolean","readOnly":true},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"legal-entity-name":{"type":"string","description":"Legal entity or entities that are associated with this chart of accounts","format":"string","readOnly":true},"name":{"type":"string","description":"name","format":"string(50)"},"primary-address":{"$ref":"#/definitions/Address"},"primary-contact":{"$ref":"#/definitions/Contact"},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"updated-by":{"$ref":"#/definitions/UserSimple"}},"required":["currency","name"]},"Address":{"type":"object","properties":{"active":{"type":"boolean","description":"A no value will make the address inactive making it no longer available to users.  A yes value will make it active and available to users.","format":"boolean"},"attention":{"type":"string","description":"Address Default Attention Line","format":"string(255)"},"business-group-name":{"type":"string","description":"Content Group Name for Address","format":"string"},"city":{"type":"string","description":"City Name","format":"string(255)"},"content-groups":{"type":"array","items":{"$ref":"#/definitions/BusinessGroup"}},"country":{"$ref":"#/definitions/Country"},"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"created-by":{"$ref":"#/definitions/UserSimple"},"id":{"type":"integer","description":"Coupa Internal Address ID","format":"integer","readOnly":true},"local-tax-number":{"type":"string","description":"Local Tax Number","format":"string(255)"},"location-code":{"type":"string","description":"location_code","format":"string(255)"},"name":{"type":"string","description":"Address 'Nickname'","format":"string(255)"},"postal-code":{"type":"string","description":"Postal Code","format":"string(255)"},"purposes":{"type":"array","items":{"$ref":"#/definitions/Purpose"}},"state":{"type":"string","description":"State Abbreviation","format":"string(255)"},"street1":{"type":"string","description":"Address Line 1","format":"string(255)"},"street2":{"type":"string","description":"Address Line 2","format":"string(255)"},"street3":{"type":"string","description":"Address Line 3","format":"string(255)"},"street4":{"type":"string","description":"Address Line 4","format":"string(255)"},"tax-registrations":{"type":"array","items":{"$ref":"#/definitions/TaxRegistration"}},"type":{"type":"string","description":"Address type","format":"string(255)","readOnly":true},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"updated-by":{"$ref":"#/definitions/UserSimple"},"vat-country":{"$ref":"#/definitions/Country"},"vat-number":{"type":"string","description":"VAT identification number used for value added tax purposes","format":"string(255)"}},"required":["city","country","local-tax-number","postal-code","street1"]},"Approval":{"type":"object","properties":{"approvable-id":{"type":"integer","description":"The document ID that was approved","format":"integer","readOnly":true},"approvable-type":{"type":"string","description":"The document type that was approved (requisition, purchase order, etc)","format":"string(255)","readOnly":true},"approval-chain-id":{"type":"integer","description":"ID of the approval chain this approval is located in","format":"integer","readOnly":true},"approval-date":{"type":"string","description":"The date the approval occurred","format":"datetime","readOnly":true},"approved-by":{"$ref":"#/definitions/UserSimple"},"approver":{"description":"Approver. Can be one of multiple objects: User, ApprovalGroup","readOnly":true},"approver-id":{"type":"integer","description":"The user ID that made the approval","format":"integer","readOnly":true},"approver-type":{"type":"string","description":"The role of the approver","format":"string(255)","readOnly":true},"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"created-by":{"$ref":"#/definitions/UserSimple"},"delegate":{"description":"Delegate. Can be one of multiple objects: User, ApprovalGroup","readOnly":true},"delegate-id":{"type":"string","description":"The delegate ID that made the approval (if applicable)","format":"string","readOnly":true},"delegates":{"type":"array","items":{"$ref":"#/definitions/DelegateApproval"}},"holdable":{"type":"boolean","description":"Hold the approval or not","format":"boolean","readOnly":true},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"note":{"type":"string","description":"Reason for approval or reject","format":"text","readOnly":true},"position":{"type":"integer","description":"The position in the approval chain this approval occurred","format":"integer","readOnly":true},"reasons":{"type":"array","items":{"$ref":"#/definitions/ApprovalReason"}},"status":{"type":"string","description":"The status of the approval (approved, escalated, rejected, etc)","format":"string(50)","readOnly":true},"type":{"type":"string","description":"How the approval occured (override approval, approval chain approval, etc)","format":"string(255)","readOnly":true},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"updated-by":{"$ref":"#/definitions/UserSimple"}}},"ApprovalGroup":{"type":"object","properties":{"active":{"type":"boolean","description":"A false value will inactivate the account making it no longer available to users.  A true value will make it active and available to users.","format":"boolean"},"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"created-by":{"$ref":"#/definitions/UserSimple"},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"name":{"type":"string","description":"name","format":"string(255)"},"owner":{"$ref":"#/definitions/ApprovalGroup"},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"updated-by":{"$ref":"#/definitions/UserSimple"},"users":{"type":"array","items":{"$ref":"#/definitions/UserSimple"}}},"required":["name"]},"ApprovalLimit":{"type":"object","properties":{"amount":{"type":"number","description":"amount","format":"decimal(32,4)"},"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"created-by":{"$ref":"#/definitions/UserSimple"},"currency":{"$ref":"#/definitions/Currency"},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"name":{"type":"string","description":"name","format":"string(255)"},"subject":{"type":"string","description":"subject","format":"string(255)"},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"updated-by":{"$ref":"#/definitions/UserSimple"}},"required":["amount","currency","name"]},"ApprovalReason":{"type":"object"},"Attachment":{"type":"object","properties":{"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"file-url":{"type":"string","description":"URL to attached file","format":"string"},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"intent":{"type":"string","description":"intent","format":"string(40)"},"linked-to":{"type":"string","description":"link to specific feature","format":"string(255)"},"text":{"type":"string","description":"text","format":"text"},"type":{"type":"string","description":"type","format":"string(255)"},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"url":{"type":"string","description":"url","format":"string(255)"}}},"AuditStatus":{"type":"object","properties":{"active":{"type":"boolean","description":"Active","format":"boolean","readOnly":true},"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"created-by":{"$ref":"#/definitions/UserSimple"},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"name":{"type":"string","description":"Name","format":"string(255)"},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"updated-by":{"$ref":"#/definitions/UserSimple"}},"required":["name"]},"BusinessGroup":{"type":"object","properties":{"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"created-by":{"$ref":"#/definitions/UserSimple"},"description":{"type":"string","description":"description","format":"string(255)"},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"name":{"type":"string","description":"name","format":"string(100)"},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"updated-by":{"$ref":"#/definitions/UserSimple"}},"required":["name"]},"Comment":{"type":"object","properties":{"attachments":{"type":"array","items":{"$ref":"#/definitions/Attachment"}},"commentable-id":{"type":"integer","description":"commentable_id","format":"integer"},"commentable-type":{"type":"string","description":"commentable_type","format":"string(255)"},"comments":{"type":"string","description":"comments","format":"text"},"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"created-by":{"$ref":"#/definitions/UserSimple"},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"reason-code":{"type":"string","description":"Comment reason code","format":"string","readOnly":true},"to-supplier":{"type":"string","description":"to be shown to supplier?","format":"tinyint(1)"},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"updated-by":{"$ref":"#/definitions/UserSimple"}}},"Contact":{"type":"object","properties":{"active":{"type":"boolean","description":"Active","format":"boolean","readOnly":true},"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"created-by":{"$ref":"#/definitions/UserSimple"},"email":{"type":"string","description":"email","format":"string(255)"},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"name-additional":{"type":"string","description":"name_additional","format":"string(255)"},"name-family":{"type":"string","description":"name_family","format":"string(255)"},"name-fullname":{"type":"string","description":"name_fullname","format":"string(255)","readOnly":true},"name-given":{"type":"string","description":"name_given","format":"string(255)"},"name-prefix":{"type":"string","description":"name_prefix","format":"string(255)"},"name-suffix":{"type":"string","description":"name_suffix","format":"string(255)"},"notes":{"type":"string","description":"notes","format":"text"},"phone-fax":{"$ref":"#/definitions/PhoneNumber"},"phone-mobile":{"$ref":"#/definitions/PhoneNumber"},"phone-work":{"$ref":"#/definitions/PhoneNumber"},"photo":{"type":"string","description":"photo","format":"string(255)"},"purposes":{"type":"array","items":{"$ref":"#/definitions/Purpose"}},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"updated-by":{"$ref":"#/definitions/UserSimple"}}},"Country":{"type":"object","properties":{"code":{"type":"string","description":"code","format":"string(4)"},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"name":{"type":"string","description":"name","format":"string(100)"}},"required":["code"]},"Currency":{"type":"object","properties":{"code":{"type":"string","description":"code","format":"string(6)"},"created-by":{"$ref":"#/definitions/UserSimple"},"decimals":{"type":"integer","description":"Decimal precision","format":"integer","readOnly":true},"enabled":{"type":"boolean","description":"Enabled","format":"boolean"},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"name":{"type":"string","description":"name","format":"string(100)"},"symbol":{"type":"string","description":"symbol","format":"string(10)"},"updated-by":{"$ref":"#/definitions/UserSimple"}},"required":["code","name"]},"DelegateApproval":{"type":"object","properties":{"approvable-id":{"type":"integer","description":"approvable_id","format":"integer","readOnly":true},"approvable-type":{"type":"string","description":"approvable_type","format":"string(255)","readOnly":true},"approval-chain-id":{"type":"integer","description":"approval_chain_id","format":"integer","readOnly":true},"approval-date":{"type":"string","description":"approval_date","format":"datetime","readOnly":true},"approved-by":{"$ref":"#/definitions/UserSimple"},"approver":{"type":"string","description":"approver","readOnly":true},"approver-id":{"type":"integer","description":"The user ID that made the approval","format":"integer","readOnly":true},"approver-type":{"type":"string","description":"The role of the approver","format":"string(255)","readOnly":true},"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"created-by":{"$ref":"#/definitions/UserSimple"},"delegate":{"type":"string","description":"delegate","readOnly":true},"delegate-id":{"type":"string","description":"The delegate ID that made the approval (if applicable)","format":"string","readOnly":true},"delegates":{"type":"array","items":{"$ref":"#/definitions/DelegateApproval"}},"holdable":{"type":"boolean","description":"Hold the approval or not","format":"boolean","readOnly":true},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"note":{"type":"string","description":"note","format":"text","readOnly":true},"position":{"type":"integer","description":"position","format":"integer","readOnly":true},"reasons":{"type":"array","items":{"$ref":"#/definitions/ApprovalReason"}},"status":{"type":"string","description":"transaction status","format":"string(50)","readOnly":true},"type":{"type":"string","description":"type","format":"string(255)","readOnly":true},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"updated-by":{"$ref":"#/definitions/UserSimple"}}},"Department":{"type":"object","properties":{"active":{"type":"boolean","description":"Control whether the Department is Active or Inactive","format":"boolean","enum":["true","false"]},"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"created-by":{"$ref":"#/definitions/UserSimple"},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"name":{"type":"string","description":"Department Name","format":"string(255)"},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"updated-by":{"$ref":"#/definitions/UserSimple"}},"required":["name"]},"EasyFormWidgetResponse":{"type":"object","properties":{"answer":{"type":"string","description":"Answer"},"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"created-by":{"$ref":"#/definitions/UserSimple"},"easy-form-id":{"type":"integer","description":"Easy form ID associated with this easy form response","format":"integer"},"easy-form-response-id":{"type":"integer","description":"Easy form response ID associated with this widget","format":"integer"},"easy-form-widget-id":{"type":"integer","description":"Easy form widget ID associated with this widget response","format":"integer"},"encrypted-answer":{"type":"string","description":"The answer for widget response","readOnly":true},"field-name":{"type":"string","description":"Field name","readOnly":true},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"type":{"type":"string","description":"Type of widget response","format":"string(255)"},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"updated-by":{"$ref":"#/definitions/UserSimple"},"widget-label":{"type":"string","description":"User name for widget","readOnly":true},"widget-type":{"type":"string","description":"Type of widget","readOnly":true}},"required":["easy-form-id","easy-form-response-id","easy-form-widget-id"]},"ExchangeRate":{"type":"object","properties":{"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"created-by":{"$ref":"#/definitions/UserSimple"},"from-currency":{"$ref":"#/definitions/Currency"},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"rate":{"type":"number","description":"Exchange Rate","format":"decimal(30,9)"},"rate-date":{"type":"string","description":"Effective Date","format":"datetime"},"to-currency":{"$ref":"#/definitions/Currency"},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"updated-by":{"$ref":"#/definitions/UserSimple"}},"required":["from-currency","to-currency"]},"Expense-Mileage-Config":{"type":"object","properties":{"accumulation-period-start-day-month":{"type":"string","description":"Accumulation period start day month","format":"date"},"country":{"$ref":"#/definitions/Country"},"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"distance-unit":{"type":"string","description":"Distance unit","format":"string(255)","readOnly":true},"expense-mileage-tier-rules":{"type":"array","items":{"$ref":"#/definitions/Expense-Mileage-TierRule"}},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"mileage-accumulation-rule-enabled":{"type":"boolean","description":"Mileage accumulation rule enabled","format":"boolean","readOnly":true},"passenger-count-prompt":{"type":"string","description":"Passenger count prompt","format":"string(255)"},"passenger-count-rule-enabled":{"type":"boolean","description":"Passenger count rule enabled","format":"boolean","readOnly":true},"region-prompt":{"type":"string","description":"Region prompt","format":"string(255)"},"region-rule-enabled":{"type":"boolean","description":"Region rule enabled","format":"boolean","readOnly":true},"require-address":{"type":"boolean","description":"Require address","format":"boolean","readOnly":true},"show-map":{"type":"boolean","description":"Show map","format":"boolean","readOnly":true},"simple-fixed-rate-amount":{"type":"number","description":"Simple fixed rate amount","format":"decimal(32,4)"},"simple-fixed-rate-currency-id":{"type":"integer","description":"Simple fixed rate currency","format":"integer"},"simple-fixed-rate-enabled":{"type":"boolean","description":"Simple fixed rate enabled","format":"boolean","readOnly":true},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"vehicle-type-prompt":{"type":"string","description":"Vehicle type prompt","format":"string(255)"},"vehicle-type-rule-enabled":{"type":"boolean","description":"Vehicle type rule enabled","format":"boolean","readOnly":true}},"required":["accumulation-period-start-day-month","passenger-count-prompt","region-prompt","simple-fixed-rate-amount","simple-fixed-rate-currency-id","vehicle-type-prompt"]},"Expense-Mileage-RateType":{"type":"object","properties":{"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"name":{"type":"string","description":"Name","format":"string(255)","readOnly":true},"rate-type":{"type":"string","description":"Rate type","format":"string(255)","readOnly":true},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true}}},"Expense-Mileage-Region":{"type":"object","properties":{"country":{"$ref":"#/definitions/Country"},"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"location-id":{"type":"string","description":"Location","format":"string(255)","readOnly":true},"name":{"type":"string","description":"Name","format":"string(255)","readOnly":true},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true}}},"Expense-Mileage-TierRule":{"type":"object","properties":{"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"distance-range-start":{"type":"integer","description":"Distance range start","format":"integer","readOnly":true},"expense-mileage-rate-type":{"$ref":"#/definitions/Expense-Mileage-RateType"},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true}}},"Expense-Mileage-VehicleType":{"type":"object","properties":{"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"name":{"type":"string","description":"Name","format":"string(255)","readOnly":true},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true}}},"Expense-PerDiem-Config":{"type":"object","properties":{"country-id":{"type":"integer","description":"Country","format":"integer","readOnly":true},"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"deductions-section-label":{"type":"string","description":"Deductions section label","format":"string(255)"},"expense-per-diem-deductions":{"type":"array","items":{"$ref":"#/definitions/Expense-PerDiem-Deduction"}},"expense-per-diem-rules":{"type":"array","items":{"$ref":"#/definitions/Expense-PerDiem-Rule"}},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"policy-description":{"type":"string","description":"Policy description","format":"string(255)","readOnly":true},"policy-title":{"type":"string","description":"Policy title","format":"string(255)","readOnly":true},"rule-set-type":{"type":"string","description":"Rule set type","format":"string(255)","readOnly":true},"scope":{"type":"string","description":"Scope","format":"string(255)","readOnly":true},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true}},"required":["deductions-section-label"]},"Expense-PerDiem-Deduction":{"type":"object","properties":{"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"effective-date":{"type":"string","description":"Effective date","format":"datetime","readOnly":true},"enabled":{"type":"boolean","description":"Enabled","format":"boolean","readOnly":true},"expense-per-diem-deduction-type-id":{"type":"integer","description":"Expense per diem deduction type","format":"integer","readOnly":true},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"label":{"type":"string","description":"Label","format":"string(255)"},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true}},"required":["label"]},"Expense-PerDiem-Rule":{"type":"object","properties":{"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"effective-date":{"type":"string","description":"Effective date","format":"datetime","readOnly":true},"enabled":{"type":"boolean","description":"Enabled","format":"boolean","readOnly":true},"end-after":{"type":"string","description":"End after","format":"time"},"end-before":{"type":"string","description":"End before","format":"time"},"expense-per-diem-rate-type-id":{"type":"integer","description":"Expense per diem rate type","format":"integer","readOnly":true},"expense-per-diem-rule-conditions":{"type":"array","items":{"$ref":"#/definitions/Expense-PerDiem-RuleCondition"}},"expense-per-diem-time-range-condition":{"$ref":"#/definitions/Expense-PerDiem-TimeRangeCondition"},"hours":{"type":"number","description":"Hours","format":"decimal(8,2)"},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"label":{"type":"string","description":"Label","format":"string(255)"},"rank":{"type":"integer","description":"Rank","format":"integer","readOnly":true},"rate-frequency":{"type":"string","description":"Rate frequency","format":"string(255)","readOnly":true},"rate-location-type":{"type":"string","description":"Rate location type","format":"string(255)","readOnly":true},"rate-logic":{"type":"integer","description":"Rate logic","format":"integer","readOnly":true},"rate-percentage":{"type":"number","description":"Rate percentage","format":"decimal(30,6)","readOnly":true},"rule-type":{"type":"string","description":"Rule type","format":"string(255)","readOnly":true},"start-after":{"type":"string","description":"Start after","format":"time"},"start-before":{"type":"string","description":"Start before","format":"time"},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true}},"required":["end-after","end-before","hours","label","start-after","start-before"]},"Expense-PerDiem-RuleCondition":{"type":"object","properties":{"comparator":{"type":"string","description":"Comparator","format":"string(255)","readOnly":true},"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"lhs":{"type":"string","description":"Lhs","format":"string(255)","readOnly":true},"rhs":{"type":"string","description":"Rhs","format":"string(255)","readOnly":true},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true}}},"Expense-PerDiem-TimeRangeCondition":{"type":"object","properties":{"conjunction":{"type":"string","description":"Conjunction","format":"string(255)","readOnly":true},"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"end-after":{"type":"string","description":"End after","format":"time","readOnly":true},"end-before":{"type":"string","description":"End before","format":"time","readOnly":true},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"start-after":{"type":"string","description":"Start after","format":"time","readOnly":true},"start-before":{"type":"string","description":"Start before","format":"time","readOnly":true},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true}}},"Expense-ReconciliationLine":{"type":"object","properties":{"amount-paid":{"type":"number","description":"Amount paid","format":"decimal(46,20)","readOnly":true},"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"created-by":{"$ref":"#/definitions/UserSimple"},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"notes":{"type":"string","description":"Notes","format":"string(255)","readOnly":true},"payable-id":{"type":"string","description":"Payable","readOnly":true},"payable-type":{"type":"string","description":"Payable type","format":"string","readOnly":true},"payment-date":{"type":"string","description":"Payment date","format":"datetime"},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"updated-by":{"$ref":"#/definitions/UserSimple"}},"required":["payment-date"]},"Expense-Trip-Mileage":{"type":"object","properties":{"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"expense-mileage-region":{"$ref":"#/definitions/Expense-Mileage-Region"},"expense-mileage-region-id":{"type":"integer","description":"Expense mileage region","format":"integer"},"expense-mileage-vehicle-type":{"$ref":"#/definitions/Expense-Mileage-VehicleType"},"expense-mileage-vehicle-type-id":{"type":"integer","description":"Expense mileage vehicle type","format":"integer"},"expense-trip-mileage-allocations":{"type":"array","items":{"$ref":"#/definitions/Expense-Trip-MileageAllocation"}},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer"},"original-distance":{"type":"number","description":"Original distance","format":"decimal(32,4)"},"passenger-count":{"type":"integer","description":"Passenger count","format":"integer"},"total-distance":{"type":"number","description":"Total distance","format":"decimal(32,4)"},"total-distance-unit":{"type":"string","description":"Total distance unit","format":"string(255)"},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true}},"required":["expense-mileage-region-id","expense-mileage-vehicle-type-id","total-distance","total-distance-unit"]},"Expense-Trip-MileageAllocation":{"type":"object","properties":{"applied-distance":{"type":"number","description":"Applied distance","format":"decimal(32,4)","readOnly":true},"applied-rate":{"type":"number","description":"Applied rate","format":"decimal","readOnly":true},"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"expense-mileage-rate-type-id":{"type":"integer","description":"Expense mileage rate type","format":"integer","readOnly":true},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true}}},"Expense-Trip-SegmentMileage":{"type":"object","properties":{"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer"},"original-distance":{"type":"number","description":"Original distance","format":"decimal(32,4)"},"original-distance-unit":{"type":"string","description":"Original distance unit","format":"string(255)"},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true}}},"ExpenseArtifact":{"type":"object","properties":{"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"created-by":{"$ref":"#/definitions/UserSimple"},"digitization-error":{"type":"string","description":"digitization error","format":"string","readOnly":true},"digitization-status":{"type":"string","description":"digitization status","format":"string(25)","readOnly":true},"digitized-receipt-content-type":{"type":"string","description":"digitized_receipt_content_type","format":"string(255)","readOnly":true},"digitized-receipt-file-name":{"type":"string","description":"digitized_receipt_file_name","format":"string(255)","readOnly":true},"digitized-receipt-file-size":{"type":"integer","description":"digitized_receipt_file_size","format":"integer","readOnly":true},"external-src-ref":{"type":"string","description":"External system's unique identifier for transaction","format":"string(255)","readOnly":true},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"image-content-type":{"type":"string","description":"image_content_type","format":"string(255)","readOnly":true},"image-file-name":{"type":"string","description":"image_file_name","format":"string(255)","readOnly":true},"image-file-size":{"type":"string","description":"image_file_size","format":"string(255)","readOnly":true},"image-rotation":{"type":"integer","description":"Image rotation angle","format":"integer"},"ocr-status":{"type":"string","description":"OCR Status","format":"string(50)"},"source-content-type":{"type":"string","description":"source_content_type","format":"string(255)","readOnly":true},"source-file-name":{"type":"string","description":"source_file_name","format":"string(255)","readOnly":true},"source-file-size":{"type":"string","description":"source_file_size","format":"string(255)","readOnly":true},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"updated-by":{"$ref":"#/definitions/UserSimple"},"url":{"type":"string","description":"External link to artifact","format":"string","readOnly":true}}},"ExpenseAttendee":{"type":"object","properties":{"active":{"type":"boolean","description":"Active","format":"boolean","readOnly":true},"company":{"type":"string","description":"Company name","format":"string(308)"},"company-active":{"type":"string","description":"Company field in use","readOnly":true},"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"created-by":{"$ref":"#/definitions/UserSimple"},"expense-attendee-type-custom-field-1":{"type":"string","description":"Custom field 1","format":"text"},"expense-attendee-type-custom-field-10":{"type":"string","description":"Custom field 10","format":"text"},"expense-attendee-type-custom-field-2":{"type":"string","description":"Custom field 2","format":"text"},"expense-attendee-type-custom-field-3":{"type":"string","description":"Custom field 3","format":"text"},"expense-attendee-type-custom-field-4":{"type":"string","description":"Custom field 4","format":"text"},"expense-attendee-type-custom-field-5":{"type":"string","description":"Custom field 5","format":"text"},"expense-attendee-type-custom-field-6":{"type":"string","description":"Custom field 6","format":"text"},"expense-attendee-type-custom-field-7":{"type":"string","description":"Custom field 7","format":"text"},"expense-attendee-type-custom-field-8":{"type":"string","description":"Custom field 8","format":"text"},"expense-attendee-type-custom-field-9":{"type":"string","description":"Custom field 9","format":"text"},"expense-attendee-type-id":{"type":"integer","description":"Attendee type id","format":"integer"},"expense-attendee-type-name":{"type":"string","description":"Attendee type name","readOnly":true},"first-name":{"type":"string","description":"First name","format":"string(308)"},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"last-name":{"type":"string","description":"Last name","format":"string(308)"},"title":{"type":"string","description":"Title","format":"string(308)"},"title-active":{"type":"string","description":"Title field in use","readOnly":true},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"user-id":{"type":"integer","description":"ID of user for Employee attendee type","format":"integer"}},"required":["first-name","last-name"]},"ExpenseAttendeeType":{"type":"object","properties":{"active-dependent-fields":{"type":"string","description":"Active dependent fields","format":"[]","readOnly":true},"attendee-src":{"type":"string","description":"Source of attendees","format":"string(255)","readOnly":true},"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"name":{"type":"string","description":"Attendee type name","format":"string(255)"},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true}},"required":["name"]},"ExpenseCashAdvance":{"type":"object","properties":{"amount":{"type":"number","description":"Original preapproved amount","format":"decimal(32,4)"},"available-amount":{"type":"number","description":"Remaining preapproved amount","format":"decimal(32,4)","readOnly":true},"available-amount-currency":{"$ref":"#/definitions/Currency"},"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"created-by":{"$ref":"#/definitions/UserSimple"},"currency":{"$ref":"#/definitions/Currency"},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"reporting-total":{"type":"number","description":"The reporting total that was approved","format":"decimal(32,4)","readOnly":true},"returned-amount":{"type":"number","description":"Returned Amount","format":"decimal(32,4)","readOnly":true},"returned-amount-currency":{"$ref":"#/definitions/Currency"},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"updated-by":{"$ref":"#/definitions/UserSimple"}},"required":["amount"]},"ExpenseCategory":{"type":"object","properties":{"active":{"type":"boolean","description":"A false value will inactivate the account making it no longer available to users.  A true value will make it active and available to users.","format":"boolean","enum":["true","false"]},"attendee-tracking-enabled":{"type":"boolean","description":"Attendee tracking enabled","format":"boolean","readOnly":true},"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"created-by":{"$ref":"#/definitions/UserSimple"},"dynamic-category-limit-enabled":{"type":"boolean","description":"Dynamic category limit enabled","format":"boolean","readOnly":true},"expense-attendee-types":{"type":"array","items":{"$ref":"#/definitions/ExpenseAttendeeType"}},"expense-mileage-config":{"$ref":"#/definitions/Expense-Mileage-Config"},"expense-per-diem-config":{"$ref":"#/definitions/Expense-PerDiem-Config"},"expense-policy":{"$ref":"#/definitions/ExpensePolicy"},"external-key":{"type":"string","description":"External expense category unique identifier"},"group":{"type":"string","description":"Group","format":"string(255)","readOnly":true},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"localized-group":{"type":"string","description":"Localized group","readOnly":true},"name":{"type":"string","description":"name","format":"string(255)"},"scope":{"type":"string","description":"Scope","format":"string(255)","readOnly":true},"tax-currencies":{"type":"string","description":"Tax currencies","format":"[]","readOnly":true},"tax-enabled":{"type":"boolean","description":"Tax enabled","format":"boolean","readOnly":true},"translated-name":{"type":"string","description":"Translation of the expense category name","readOnly":true},"type":{"type":"string","description":"Type","format":"string(255)","readOnly":true},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"updated-by":{"$ref":"#/definitions/UserSimple"}},"required":["expense-mileage-config","expense-per-diem-config","expense-policy","name"]},"ExpenseLine":{"type":"object","properties":{"account":{"$ref":"#/definitions/Account"},"account-allocations":{"type":"array","items":{"$ref":"#/definitions/ExpenseLineAllocation"}},"accounting-total":{"type":"number","description":"Accounting total","format":"decimal(32,4)","readOnly":true},"accounting-total-currency":{"$ref":"#/definitions/Currency"},"allow-attach-preapproval":{"type":"boolean","description":"Can preapproval be allowed to attach to Expense Line?","format":"boolean","readOnly":true},"amount":{"type":"number","description":"Amount","format":"decimal(32,4)"},"approved-amount":{"type":"number","description":"Approved amount","format":"decimal(32,4)"},"attach-preapproval":{"type":"string","description":"Attach passed preapproval to line","format":"string"},"audit-status":{"$ref":"#/definitions/AuditStatus"},"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"created-by":{"$ref":"#/definitions/UserSimple"},"currency":{"$ref":"#/definitions/Currency"},"custom-field-1":{"type":"string","description":"Custom field 1","format":"string(255)"},"custom-field-10":{"type":"string","description":"Custom field 10","format":"string(255)"},"custom-field-11":{"type":"string","description":"Custom field 11","format":"string(255)"},"custom-field-12":{"type":"string","description":"Custom field 12","format":"string(255)"},"custom-field-13":{"type":"string","description":"Custom field 13","format":"string(255)"},"custom-field-14":{"type":"string","description":"Custom field 14","format":"string(255)"},"custom-field-15":{"type":"string","description":"Custom field 15","format":"string(255)"},"custom-field-16":{"type":"string","description":"Custom field 16","format":"string(255)"},"custom-field-17":{"type":"string","description":"Custom field 17","format":"string(255)"},"custom-field-18":{"type":"string","description":"Custom field 18","format":"string(255)"},"custom-field-19":{"type":"string","description":"Custom field 19","format":"string(255)"},"custom-field-2":{"type":"string","description":"Custom field 2","format":"string(255)"},"custom-field-20":{"type":"string","description":"Custom field 20","format":"string(255)"},"custom-field-3":{"type":"string","description":"Custom field 3","format":"string(255)"},"custom-field-4":{"type":"string","description":"Custom field 4","format":"string(255)"},"custom-field-5":{"type":"string","description":"Custom field 5","format":"string(255)"},"custom-field-6":{"type":"string","description":"Custom field 6","format":"string(255)"},"custom-field-7":{"type":"string","description":"Custom field 7","format":"string(255)"},"custom-field-8":{"type":"string","description":"Custom field 8","format":"string(255)"},"custom-field-9":{"type":"string","description":"Custom field 9","format":"string(255)"},"description":{"type":"string","description":"Description","format":"string(1550)"},"divisor":{"type":"number","description":"Divisor unit","format":"decimal(30,2)"},"employee-reimbursable":{"type":"boolean","description":"Is the line reimbursable to the employee?","format":"boolean"},"employee-reimbursable-editable":{"type":"boolean","description":"Can expense user change the default reimbursable state of an expense line?","format":"boolean","readOnly":true},"employee-reimbursable-overridden":{"type":"boolean","description":"Has the expense user changed the default reimbursable state of an expense line?","format":"boolean","readOnly":true},"end-date":{"type":"string","description":"Divisor end date","format":"datetime"},"exchange-rate":{"type":"number","description":"Exchange rate","format":"decimal(30,9)"},"expense-artifacts":{"type":"array","items":{"$ref":"#/definitions/ExpenseArtifact"}},"expense-attendees":{"type":"array","items":{"$ref":"#/definitions/ExpenseAttendee"}},"expense-category":{"$ref":"#/definitions/ExpenseCategory"},"expense-category-custom-field-1":{"type":"string","description":"Expense category custom field 1","format":"text"},"expense-category-custom-field-10":{"type":"string","description":"Expense category custom field 10","format":"text"},"expense-category-custom-field-2":{"type":"string","description":"Expense category custom field 2","format":"text"},"expense-category-custom-field-3":{"type":"string","description":"Expense category custom field 3","format":"text"},"expense-category-custom-field-4":{"type":"string","description":"Expense category custom field 4","format":"text"},"expense-category-custom-field-5":{"type":"string","description":"Expense category custom field 5","format":"text"},"expense-category-custom-field-6":{"type":"string","description":"Expense category custom field 6","format":"text"},"expense-category-custom-field-7":{"type":"string","description":"Expense category custom field 7","format":"text"},"expense-category-custom-field-8":{"type":"string","description":"Expense category custom field 8","format":"text"},"expense-category-custom-field-9":{"type":"string","description":"Expense category custom field 9","format":"text"},"expense-date":{"type":"string","description":"Expense date","format":"datetime"},"expense-line-cash-advance":{"type":"string","description":"Expense Line Cash Advance","format":"expense_line_cash_advance","readOnly":true},"expense-line-daily-per-diems":{"type":"array","items":{"$ref":"#/definitions/ExpenseLineDailyPerDiem"}},"expense-line-imported-data":{"$ref":"#/definitions/ExpenseLineImportedData"},"expense-line-mileage":{"$ref":"#/definitions/ExpenseLineMileage"},"expense-line-per-diem":{"$ref":"#/definitions/ExpenseLinePerDiem"},"expense-line-preapproval":{"$ref":"#/definitions/ExpenseLinePreapproval"},"expense-line-taxes":{"type":"array","items":{"$ref":"#/definitions/ExpenseLineTax"}},"expense-line-virtual-card":{"type":"string","description":"Expense Line Virtual Card","format":"expense_line_virtual_card","readOnly":true},"expense-report-id":{"type":"integer","description":"Expense report id","format":"integer","readOnly":true},"expense-trip":{"$ref":"#/definitions/ExpenseTrip"},"expensed-by":{"$ref":"#/definitions/UserSimple"},"external-src-data":{"type":"string","description":"External source data","format":"string(255)","readOnly":true},"external-src-name":{"type":"string","description":"External source name","format":"string(255)"},"external-src-ref":{"type":"string","description":"External source reference","format":"string(255)"},"foreign-currency":{"$ref":"#/definitions/Currency"},"foreign-currency-amount":{"type":"number","description":"Foreign currency amount","format":"decimal(32,4)"},"foreign-currency-id":{"type":"integer","description":"Foreign currency id","format":"integer"},"frugality":{"type":"string","description":"Frugality rating","format":"string","readOnly":true,"enum":["shame","praise"]},"has-preapproval":{"type":"string","description":"Does Expense Line has preapproval attached?","format":"string","readOnly":true},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer"},"integration":{"$ref":"#/definitions/Integration"},"itemized-expense-lines":{"type":"array","items":{"$ref":"#/definitions/ItemizedExpenseLine"}},"last-send-back-comment":{"type":"string","description":"Last comment why line was sent back","format":"comment","readOnly":true},"last-send-back-reason":{"type":"string","description":"Last reason why line was sent back","format":"reason_insight_event","readOnly":true},"line-number":{"type":"integer","description":"Expense line number","format":"integer","readOnly":true},"merchant":{"type":"string","description":"Merchant","format":"string(255)"},"order-line-id":{"type":"integer","description":"Order line id","format":"integer"},"over-limit":{"type":"boolean","description":"Over limit flag","format":"boolean","readOnly":true},"parent-expense-line-id":{"type":"integer","description":"Parent expense line id","format":"integer","readOnly":true},"parent-external-src-data":{"type":"string","description":"Parent External Source Data","format":"string","readOnly":true},"parent-external-src-name":{"type":"string","description":"Parent External Source Name","format":"string","readOnly":true},"parent-external-src-ref":{"type":"string","description":"Parent External Source Ref","format":"string","readOnly":true},"period":{"$ref":"#/definitions/Period"},"reason":{"type":"string","description":"Reason","format":"string(255)"},"receipt-total-amount":{"type":"number","description":"Receipt total amount","format":"decimal(32,4)"},"receipt-total-currency-id":{"type":"integer","description":"Receipt total currency id","format":"integer"},"reporting-total":{"type":"number","description":"Reporting total","format":"decimal(32,4)","readOnly":true},"requires-receipt":{"type":"boolean","description":"Requires receipt flag","format":"boolean","readOnly":true},"start-date":{"type":"string","description":"Divisor start date","format":"datetime"},"status":{"type":"string","description":"Transaction status","format":"string(255)","readOnly":true},"suggested-exchange-rate":{"$ref":"#/definitions/ExchangeRate"},"travel-trip-booking":{"$ref":"#/definitions/Travel-TripBooking"},"type":{"type":"string","description":"Type","format":"string(255)","readOnly":true},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"updated-by":{"$ref":"#/definitions/UserSimple"}},"required":["expense-category","foreign-currency","start-date"]},"ExpenseLineAllocation":{"type":"object","properties":{"account":{"$ref":"#/definitions/Account"},"accounting-total":{"type":"number","description":"Accounting total","format":"decimal(32,4)","readOnly":true},"accounting-total-currency":{"$ref":"#/definitions/Currency"},"amount":{"type":"number","description":"amount","format":"decimal(32,4)"},"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"created-by":{"$ref":"#/definitions/UserSimple"},"currency":{"$ref":"#/definitions/Currency"},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"pct":{"type":"number","description":"pct","format":"decimal(16,10)"},"period":{"$ref":"#/definitions/Period"},"read-only":{"type":"boolean","description":"Read-Only flag","format":"boolean","readOnly":true},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"updated-by":{"$ref":"#/definitions/UserSimple"}},"required":["account","pct"]},"ExpenseLineDailyPerDiem":{"type":"object","properties":{"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"currency":{"$ref":"#/definitions/Currency"},"expense-line-per-diem-id":{"type":"integer","description":"Expense line per diem","format":"integer","readOnly":true},"expense-per-diem-rate-type-id":{"type":"integer","description":"Expense per diem rate type","format":"integer","readOnly":true},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"locations":{"type":"string","description":"Locations","format":"[]","readOnly":true},"max-rate":{"type":"number","description":"Max rate","format":"decimal","readOnly":true},"per-diem-date":{"type":"string","description":"Per diem date","readOnly":true},"per-diem-deductions":{"type":"array","items":{"$ref":"#/definitions/ExpenseLineDailyPerDiemDeduction"}},"rate-applied":{"type":"number","description":"Rate applied","format":"decimal(30,6)","readOnly":true},"rate-destination":{"type":"string","description":"Rate destination","readOnly":true},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true}}},"ExpenseLineDailyPerDiemDeduction":{"type":"object","properties":{"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"currency":{"$ref":"#/definitions/Currency"},"deduction-applied":{"type":"number","description":"Deduction applied","format":"decimal(30,6)","readOnly":true},"expense-line-daily-per-diem-id":{"type":"integer","description":"Expense line daily per diem","format":"integer","readOnly":true},"expense-per-diem-deduction-id":{"type":"integer","description":"Expense per diem deduction","format":"integer","readOnly":true},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true}}},"ExpenseLineImportedData":{"type":"object","properties":{"amount":{"type":"number","description":"amount","format":"decimal(32,4)","readOnly":true},"description":{"type":"string","description":"description","format":"string(255)","readOnly":true},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"local-amount":{"type":"number","description":"Local amount","format":"decimal(32,4)","readOnly":true},"local-amount-currency":{"$ref":"#/definitions/Currency"},"local-amount-different":{"type":"boolean","description":"Local amount different","format":"boolean","readOnly":true}}},"ExpenseLineMileage":{"type":"object","properties":{"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"distance":{"type":"number","description":"Distance","format":"decimal(32,4)"},"distance-unit":{"type":"string","description":"Distance unit","format":"string(255)"},"end-address":{"type":"string","description":"End address","format":"string(255)"},"expense-line-mileage-allocations":{"type":"array","items":{"$ref":"#/definitions/ExpenseLineMileageAllocation"}},"expense-mileage-region":{"$ref":"#/definitions/Expense-Mileage-Region"},"expense-mileage-region-id":{"type":"integer","description":"Region","format":"integer"},"expense-mileage-vehicle-type":{"$ref":"#/definitions/Expense-Mileage-VehicleType"},"expense-mileage-vehicle-type-id":{"type":"integer","description":"Vehicle type","format":"integer"},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer"},"passenger-count":{"type":"integer","description":"Number of passengers","format":"integer"},"round-trip":{"type":"boolean","description":"Round trip","format":"boolean"},"start-address":{"type":"string","description":"Start address","format":"string(255)"},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true}},"required":["distance","distance-unit","end-address","expense-mileage-region-id","expense-mileage-vehicle-type-id","start-address"]},"ExpenseLineMileageAllocation":{"type":"object","properties":{"applied-distance":{"type":"number","description":"Applied distance","format":"decimal(32,4)","readOnly":true},"applied-rate":{"type":"number","description":"Applied rate","format":"decimal","readOnly":true},"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"expense-mileage-rate-type-id":{"type":"integer","description":"Expense mileage rate type","format":"integer","readOnly":true},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true}}},"ExpenseLinePerDiem":{"type":"object","properties":{"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"daily-per-diems":{"type":"string","description":"Daily per diems","format":"[]","readOnly":true},"destination":{"type":"string","description":"Destination","format":"string(255)"},"end-at":{"type":"string","description":"End at","format":"datetime"},"end-at-timezone":{"type":"string","description":"End at timezone","format":"string(255)"},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"start-at":{"type":"string","description":"Start at","format":"datetime"},"start-at-timezone":{"type":"string","description":"Start at timezone","format":"string(255)"},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true}},"required":["destination","end-at","end-at-timezone","start-at","start-at-timezone"]},"ExpenseLinePreapproval":{"type":"object","properties":{"amount":{"type":"number","description":"Amount","format":"decimal(32,4)","readOnly":true},"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"currency":{"$ref":"#/definitions/Currency"},"expense-report-preapproval":{"$ref":"#/definitions/ExpenseReportPreapproval"},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true}}},"ExpenseLineTax":{"type":"object","properties":{"amount":{"type":"number","description":"Amount","format":"decimal(32,4)","readOnly":true},"country":{"$ref":"#/definitions/Country"},"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"created-by":{"$ref":"#/definitions/UserSimple"},"currency-id":{"type":"integer","description":"Currency","format":"integer","readOnly":true},"entry-type":{"type":"integer","description":"Entry type","format":"integer","readOnly":true},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"std-amount":{"type":"number","description":"Std amount","format":"decimal(32,4)","readOnly":true},"tax-code":{"$ref":"#/definitions/TaxCode"},"tax-rate":{"$ref":"#/definitions/TaxRate"},"tax-rate-type":{"$ref":"#/definitions/TaxRateType"},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"updated-by":{"$ref":"#/definitions/UserSimple"}},"required":["country"]},"ExpensePolicy":{"type":"object","properties":{"active":{"type":"boolean","description":"A false value will inactivate the account making it no longer available to users.  A true value will make it active and available to users.","format":"boolean","readOnly":true},"allow-divisor":{"type":"boolean","description":"Allow divisor","format":"boolean","readOnly":true},"allow-divisor-end-date":{"type":"boolean","description":"Allow divisor end date","format":"boolean","readOnly":true},"allow-itemization":{"type":"boolean","description":"allow_itemization","format":"boolean","readOnly":true},"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"created-by":{"$ref":"#/definitions/UserSimple"},"divisor-end-name":{"type":"string","description":"Divisor end name","format":"string(255)","readOnly":true},"divisor-start-name":{"type":"string","description":"Divisor start name","format":"string(255)","readOnly":true},"divisor-uom-name":{"type":"string","description":"Divisor uom name","format":"string(255)","readOnly":true},"expense-category-ids":{"type":"string","description":"expense_category_ids","format":"[]","readOnly":true},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"limit-amount":{"type":"number","description":"limit_amount","format":"decimal(32,4)","readOnly":true},"limit-type":{"type":"string","description":"limit_type","format":"string(255)","readOnly":true},"requires-receipt":{"type":"boolean","description":"requires_receipt","format":"boolean","readOnly":true},"restrict-itemization-categories":{"type":"boolean","description":"restrict_itemization_categories","format":"boolean","readOnly":true},"summary":{"type":"string","description":"summary","format":"string(140)","readOnly":true},"text":{"type":"string","description":"text","format":"text","readOnly":true},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"updated-by":{"$ref":"#/definitions/UserSimple"}}},"ExpensePolicyViolation":{"type":"object","properties":{"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"created-by":{"$ref":"#/definitions/UserSimple"},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"limit-exceeded":{"type":"number","description":"limit_exceeded","format":"decimal(32,4)","readOnly":true},"receipt-missing":{"type":"boolean","description":"receipt_missing","format":"boolean","readOnly":true},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"updated-by":{"$ref":"#/definitions/UserSimple"}}},"ExpensePreapproval":{"type":"object","properties":{"amount":{"type":"number","description":"Original preapproved amount","format":"decimal(32,4)"},"available":{"type":"boolean","description":"A flag to show the availability \u0026 validity of this preapproval","format":"boolean","readOnly":true},"available-amount":{"type":"number","description":"Remaining preapproved amount","format":"decimal(32,4)","readOnly":true},"available-amount-currency":{"$ref":"#/definitions/Currency"},"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"created-by":{"$ref":"#/definitions/UserSimple"},"currency":{"$ref":"#/definitions/Currency"},"description":{"type":"string","description":"Additional information for preapproval request","format":"string(255)"},"easy-form-widget-responses":{"type":"array","items":{"$ref":"#/definitions/EasyFormWidgetResponse"}},"end-date":{"type":"string","description":"End date","format":"datetime","readOnly":true},"expense-cash-advance":{"$ref":"#/definitions/ExpenseCashAdvance"},"expense-preapproval-lines":{"type":"array","items":{"$ref":"#/definitions/ExpensePreapprovalLine"}},"expense-virtual-card":{"$ref":"#/definitions/ExpenseVirtualCard"},"for-user":{"$ref":"#/definitions/UserSimple"},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"start-date":{"type":"string","description":"Start date","format":"datetime","readOnly":true},"type":{"type":"string","description":"Type of preapproval request (trip, cash advance, gifts, entertainment)","format":"string(255)","readOnly":true},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"updated-by":{"$ref":"#/definitions/UserSimple"}},"required":["amount","description"]},"ExpensePreapprovalLine":{"type":"object","properties":{"account":{"$ref":"#/definitions/Account"},"account-type":{"$ref":"#/definitions/AccountType"},"accounting-total":{"type":"number","description":"Accounting total","format":"decimal(32,4)","readOnly":true},"accounting-total-currency":{"$ref":"#/definitions/Currency"},"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"estimated-amount":{"type":"number","description":"Estimated amount","format":"decimal(32,4)","readOnly":true},"estimated-amount-currency":{"$ref":"#/definitions/Currency"},"estimated-reporting-total":{"type":"number","description":"Estimated reporting total","format":"decimal(32,4)","readOnly":true},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"notes":{"type":"string","description":"Notes","format":"text","readOnly":true},"requested-amount":{"type":"number","description":"Requested amount","format":"decimal(32,4)","readOnly":true},"requested-amount-currency":{"$ref":"#/definitions/Currency"},"requested-reporting-total":{"type":"number","description":"Requested reporting total","format":"decimal(32,4)","readOnly":true},"type":{"type":"string","description":"Type","format":"string(255)","readOnly":true},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true}}},"ExpenseReport":{"type":"object","properties":{"approvals":{"type":"array","items":{"$ref":"#/definitions/Approval"}},"audit-score":{"type":"integer","description":"Coupa's Audit Score","format":"integer","readOnly":true},"auditor-note":{"type":"string","description":"Auditor Comments on Expense Report","format":"text"},"comments":{"type":"array","items":{"$ref":"#/definitions/Comment"}},"created-at":{"type":"string","description":"Time of Record Creation","format":"datetime","readOnly":true},"created-by":{"$ref":"#/definitions/UserSimple"},"currency":{"$ref":"#/definitions/Currency"},"end-date":{"type":"string","description":"Return Date","format":"date"},"events":{"type":"array","items":{"$ref":"#/definitions/ExpenseReportEventHistory"}},"expense-lines":{"type":"array","items":{"$ref":"#/definitions/ExpenseLine"}},"expense-policy-violations":{"type":"array","items":{"$ref":"#/definitions/ExpensePolicyViolation"}},"expense-report-preapprovals":{"type":"array","items":{"$ref":"#/definitions/ExpenseReportPreapproval"}},"expense-violations":{"type":"array","items":{"$ref":"#/definitions/ExpenseViolation"}},"expensed-by":{"$ref":"#/definitions/UserSimple"},"exported":{"type":"boolean","description":"Indicates if transaction has been exported","format":"boolean","readOnly":true},"external-src-name":{"type":"string","description":"External source name","format":"string(255)"},"external-src-ref":{"type":"string","description":"External source reference","format":"string(255)"},"id":{"type":"integer","description":"Coupa's Expense Report ID","format":"integer","readOnly":true},"is-trip":{"type":"boolean","description":"Trip Report","format":"boolean"},"last-exported-at":{"type":"string","description":"Date and time transaction was last exported in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"paid":{"type":"boolean","description":"Has expense report been paid?","format":"boolean"},"past-due":{"type":"boolean","description":"Report has passed the due date in the format True or false","format":"boolean","readOnly":true},"payment":{"$ref":"#/definitions/Payment"},"payment-channel":{"type":"string","description":"The payment channel used to reimburse the employee.","format":"string(255)","readOnly":true},"reconciliation-lines":{"type":"array","items":{"$ref":"#/definitions/Expense-ReconciliationLine"}},"reimbursable-total-amount":{"type":"number","description":"Total amount reimbursable to the employee.","format":"decimal(32,4)","readOnly":true},"reimbursable-total-currency":{"$ref":"#/definitions/Currency"},"reject-reason":{"type":"string","description":"Reason why report was rejected","format":"text"},"report-due-date":{"type":"string","description":"Due date before which report needs to be submitted in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"report-warnings":{"type":"string","description":"Report level warnining messages","format":"string","readOnly":true},"start-date":{"type":"string","description":"Departure Date","format":"date"},"status":{"type":"string","description":"Current Expense Report Status","format":"string(255)","readOnly":true},"submitted-at":{"type":"string","description":"Date Expense Report was Submitted for Approval","format":"datetime"},"submitted-by":{"$ref":"#/definitions/UserSimple"},"title":{"type":"string","description":"Expense Report Title","format":"string(255)"},"total":{"type":"number","description":"Expense Report Total in Transactional Currency","format":"decimal(32,4)","readOnly":true},"travel-trip":{"$ref":"#/definitions/Travel-Trip"},"updated-at":{"type":"string","description":"Time of Record Creation","format":"datetime","readOnly":true},"updated-by":{"$ref":"#/definitions/UserSimple"}}},"ExpenseReportEventHistory":{"type":"object","properties":{"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"created-by":{"$ref":"#/definitions/UserSimple"},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"status":{"type":"string","description":"transaction status","format":"string(255)","readOnly":true},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"updated-by":{"$ref":"#/definitions/UserSimple"}}},"ExpenseReportPreapproval":{"type":"object","properties":{"amount":{"type":"number","description":"Amount","format":"decimal(32,4)","readOnly":true},"available-amount":{"type":"string","description":"Available amount","readOnly":true},"available-amount-currency":{"type":"string","description":"Available amount currency","readOnly":true},"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"currency":{"$ref":"#/definitions/Currency"},"expense-preapproval":{"$ref":"#/definitions/ExpensePreapproval"},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true}}},"ExpenseTrip":{"type":"object","properties":{"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"expense-trip-mileage":{"$ref":"#/definitions/Expense-Trip-Mileage"},"expense-trip-segments":{"type":"array","items":{"$ref":"#/definitions/ExpenseTripSegment"}},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer"},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true}}},"ExpenseTripSegment":{"type":"object","properties":{"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"end-at":{"type":"string","description":"End at","readOnly":true},"end-location":{"type":"string","description":"End location","format":"string(255)"},"end-location-id":{"type":"string","description":"End location","format":"string(255)"},"expense-trip-segment-mileage":{"$ref":"#/definitions/Expense-Trip-SegmentMileage"},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer"},"is-travel-segment":{"type":"boolean","description":"Is travel segment","format":"boolean"},"segment-num":{"type":"integer","description":"Segment num","format":"integer"},"segment-type":{"type":"string","description":"Segment type","format":"string(255)"},"start-at":{"type":"string","description":"Start at","readOnly":true},"start-location":{"type":"string","description":"Start location","format":"string(255)"},"start-location-id":{"type":"string","description":"Start location","format":"string(255)"},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true}},"required":["end-location","end-location-id","start-location","start-location-id"]},"ExpenseViolation":{"type":"object","properties":{"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"created-by":{"$ref":"#/definitions/UserSimple"},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"limit-exceeded":{"type":"number","description":"Limit exceeded","format":"decimal(32,4)","readOnly":true},"receipt-missing":{"type":"boolean","description":"Receipt missing","format":"boolean","readOnly":true},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"updated-by":{"$ref":"#/definitions/UserSimple"},"violable":{"type":"string","description":"Violable","readOnly":true},"violator":{"$ref":"#/definitions/ExpenseLine"}}},"ExpenseVirtualCard":{"type":"object","properties":{"active-card-url":{"type":"string","description":"URL of Active Virtual Card","readOnly":true},"amount":{"type":"number","description":"Original preapproved amount","format":"decimal(32,4)"},"available-amount":{"type":"number","description":"Remaining preapproved amount","format":"decimal(32,4)","readOnly":true},"available-amount-currency":{"$ref":"#/definitions/Currency"},"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"created-by":{"$ref":"#/definitions/UserSimple"},"currency":{"$ref":"#/definitions/Currency"},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"reporting-total":{"type":"number","description":"The reporting total that was approved","format":"decimal(32,4)","readOnly":true},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"updated-by":{"$ref":"#/definitions/UserSimple"}},"required":["amount"]},"Integration":{"type":"object","properties":{"business-object":{"type":"string","description":"Business Object","format":"string(255)"},"code":{"type":"string","description":"Unique Integration Code","format":"string(255)"},"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"created-by":{"$ref":"#/definitions/UserSimple"},"direction":{"type":"string","description":"Direction","format":"string(255)","enum":["to_coupa","from_coupa"]},"end-system":{"type":"string","description":"End System","format":"string(255)"},"end-system-type":{"type":"string","description":"End System Type","format":"string(255)","enum":["payroll","erp","hr","third_party_partner","third_party_vendor","other","internal"]},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"integration-type":{"type":"string","description":"Type of integration","format":"string(255)","enum":["flat_file","api","corporate_credit_card_file","json","xml"]},"name":{"type":"string","description":"Integration Name","format":"string(255)"},"standard":{"type":"boolean","description":"Standard","format":"boolean","readOnly":true},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"updated-by":{"$ref":"#/definitions/UserSimple"}},"required":["business-object","code","direction","end-system","end-system-type","name"]},"InventoryOrganization":{"type":"object","properties":{"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"currency":{"$ref":"#/definitions/Currency"},"fulfillment-type":{"type":"string","description":"Fulfillment type","format":"string(255)","enum":["manual","automatic"]},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"warehouses":{"type":"array","items":{"$ref":"#/definitions/Warehouse"}}},"required":["currency","fulfillment-type"]},"ItemizedExpenseLine":{"type":"object","properties":{"account":{"$ref":"#/definitions/Account"},"account-allocations":{"type":"array","items":{"$ref":"#/definitions/ExpenseLineAllocation"}},"accounting-total":{"type":"number","description":"Accounting total","format":"decimal(32,4)","readOnly":true},"accounting-total-currency":{"$ref":"#/definitions/Currency"},"amount":{"type":"number","description":"Amount","format":"decimal(32,4)"},"approved-amount":{"type":"number","description":"Approved amount","format":"decimal(32,4)"},"audit-status":{"$ref":"#/definitions/AuditStatus"},"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"created-by":{"$ref":"#/definitions/UserSimple"},"currency":{"$ref":"#/definitions/Currency"},"custom-field-1":{"type":"string","description":"Custom field 1","format":"string(255)"},"custom-field-10":{"type":"string","description":"Custom field 10","format":"string(255)"},"custom-field-11":{"type":"string","description":"Custom field 11","format":"string(255)"},"custom-field-12":{"type":"string","description":"Custom field 12","format":"string(255)"},"custom-field-13":{"type":"string","description":"Custom field 13","format":"string(255)"},"custom-field-14":{"type":"string","description":"Custom field 14","format":"string(255)"},"custom-field-15":{"type":"string","description":"Custom field 15","format":"string(255)"},"custom-field-16":{"type":"string","description":"Custom field 16","format":"string(255)"},"custom-field-17":{"type":"string","description":"Custom field 17","format":"string(255)"},"custom-field-18":{"type":"string","description":"Custom field 18","format":"string(255)"},"custom-field-19":{"type":"string","description":"Custom field 19","format":"string(255)"},"custom-field-2":{"type":"string","description":"Custom field 2","format":"string(255)"},"custom-field-20":{"type":"string","description":"Custom field 20","format":"string(255)"},"custom-field-3":{"type":"string","description":"Custom field 3","format":"string(255)"},"custom-field-4":{"type":"string","description":"Custom field 4","format":"string(255)"},"custom-field-5":{"type":"string","description":"Custom field 5","format":"string(255)"},"custom-field-6":{"type":"string","description":"Custom field 6","format":"string(255)"},"custom-field-7":{"type":"string","description":"Custom field 7","format":"string(255)"},"custom-field-8":{"type":"string","description":"Custom field 8","format":"string(255)"},"custom-field-9":{"type":"string","description":"Custom field 9","format":"string(255)"},"description":{"type":"string","description":"Description","format":"string(1550)"},"divisor":{"type":"number","description":"Divisor unit","format":"decimal(30,2)"},"end-date":{"type":"string","description":"Divisor end date","format":"datetime"},"exchange-rate":{"type":"number","description":"Exchange rate","format":"decimal(30,9)"},"expense-artifacts":{"type":"array","items":{"$ref":"#/definitions/ExpenseArtifact"}},"expense-category":{"$ref":"#/definitions/ExpenseCategory"},"expense-category-custom-field-1":{"type":"string","description":"Expense category custom field 1","format":"text"},"expense-category-custom-field-10":{"type":"string","description":"Expense category custom field 10","format":"text"},"expense-category-custom-field-2":{"type":"string","description":"Expense category custom field 2","format":"text"},"expense-category-custom-field-3":{"type":"string","description":"Expense category custom field 3","format":"text"},"expense-category-custom-field-4":{"type":"string","description":"Expense category custom field 4","format":"text"},"expense-category-custom-field-5":{"type":"string","description":"Expense category custom field 5","format":"text"},"expense-category-custom-field-6":{"type":"string","description":"Expense category custom field 6","format":"text"},"expense-category-custom-field-7":{"type":"string","description":"Expense category custom field 7","format":"text"},"expense-category-custom-field-8":{"type":"string","description":"Expense category custom field 8","format":"text"},"expense-category-custom-field-9":{"type":"string","description":"Expense category custom field 9","format":"text"},"expense-date":{"type":"string","description":"Expense date","format":"datetime"},"expense-line-imported-data":{"$ref":"#/definitions/ExpenseLineImportedData"},"expense-line-taxes":{"type":"array","items":{"$ref":"#/definitions/ExpenseLineTax"}},"expense-report-id":{"type":"integer","description":"Expense report id","format":"integer","readOnly":true},"expensed-by":{"$ref":"#/definitions/UserSimple"},"external-src-data":{"type":"string","description":"External source data","format":"string(255)","readOnly":true},"external-src-name":{"type":"string","description":"External source name","format":"string(255)"},"external-src-ref":{"type":"string","description":"External source reference","format":"string(255)"},"foreign-currency":{"$ref":"#/definitions/Currency"},"foreign-currency-amount":{"type":"number","description":"Foreign currency amount","format":"decimal(32,4)"},"foreign-currency-id":{"type":"integer","description":"Foreign currency id","format":"integer"},"frugality":{"type":"string","description":"Frugality","readOnly":true},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer"},"integration":{"$ref":"#/definitions/Integration"},"line-number":{"type":"string","description":"Expense line number","readOnly":true},"merchant":{"type":"string","description":"Merchant","format":"string(255)"},"order-line-id":{"type":"integer","description":"Order line id","format":"integer"},"over-limit":{"type":"boolean","description":"Over limit flag","format":"boolean","readOnly":true},"parent-expense-line-id":{"type":"integer","description":"Parent expense line id","format":"integer","readOnly":true},"parent-external-src-data":{"type":"string","description":"Parent External Source Data","format":"string","readOnly":true},"parent-external-src-name":{"type":"string","description":"Parent External Source Name","format":"string","readOnly":true},"parent-external-src-ref":{"type":"string","description":"Parent External Source Ref","format":"string","readOnly":true},"period":{"$ref":"#/definitions/Period"},"reason":{"type":"string","description":"Reason","format":"string(255)"},"receipt-total-amount":{"type":"number","description":"Receipt total amount","format":"decimal(32,4)"},"receipt-total-currency-id":{"type":"integer","description":"Receipt total currency id","format":"integer"},"reporting-total":{"type":"number","description":"Reporting total","format":"decimal(32,4)","readOnly":true},"start-date":{"type":"string","description":"Divisor start date","format":"datetime"},"status":{"type":"string","description":"Transaction status","format":"string(255)","readOnly":true},"suggested-exchange-rate":{"$ref":"#/definitions/ExchangeRate"},"type":{"type":"string","description":"Type","format":"string(255)","readOnly":true},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"updated-by":{"$ref":"#/definitions/UserSimple"}},"required":["expense-category","foreign-currency","start-date"]},"LegalEntity":{"type":"object","properties":{"bill-to-address":{"type":"string","description":"Bill to address","readOnly":true},"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"created-by":{"$ref":"#/definitions/UserSimple"},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"name":{"type":"string","description":"Name","format":"string(255)"},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"updated-by":{"$ref":"#/definitions/UserSimple"}},"required":["name"]},"Payment":{"type":"object","properties":{"amount-paid":{"type":"number","description":"amount_paid","format":"decimal(32,4)"},"check-number":{"type":"string","description":"check_number"},"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"created-by":{"$ref":"#/definitions/UserSimple"},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"notes":{"type":"string","description":"notes","format":"string(255)"},"payable-id":{"type":"integer","description":"payable_id","format":"integer"},"payable-type":{"type":"string","description":"payable_type","format":"string(255)"},"payment-date":{"type":"string","description":"payment_date","format":"datetime"},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"updated-by":{"$ref":"#/definitions/UserSimple"}}},"Pcard":{"type":"object","properties":{"active":{"type":"boolean","description":"A false value will inactivate the account making it no longer available to users.  A true value will make it active and available to users.","format":"boolean"},"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"created-by":{"$ref":"#/definitions/UserSimple"},"cvv":{"type":"string","description":"cvv","readOnly":true},"expiry":{"type":"string","description":"expiry","format":"string(255)"},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"name":{"type":"string","description":"name","format":"string(255)"},"nickname":{"type":"string","description":"nickname","format":"string(255)"},"number":{"type":"string","description":"number","format":"string"},"shared":{"type":"boolean","description":"shared","format":"boolean"},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"updated-by":{"$ref":"#/definitions/UserSimple"}},"required":["expiry","name","number"]},"Period":{"type":"object","properties":{"account-type":{"$ref":"#/definitions/AccountType"},"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime"},"created-by":{"$ref":"#/definitions/UserSimple"},"end-date":{"type":"string","description":"end_date","format":"datetime"},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer"},"is-open":{"type":"boolean","description":"is_open","format":"boolean"},"name":{"type":"string","description":"name","format":"string(100)"},"segment-1":{"type":"boolean","description":"segment_1","format":"boolean"},"segment-10":{"type":"boolean","description":"segment_10","format":"boolean"},"segment-11":{"type":"boolean","description":"segment_11","format":"boolean"},"segment-12":{"type":"boolean","description":"segment_12","format":"boolean"},"segment-13":{"type":"boolean","description":"segment_13","format":"boolean"},"segment-14":{"type":"boolean","description":"segment_14","format":"boolean"},"segment-15":{"type":"boolean","description":"segment_15","format":"boolean"},"segment-16":{"type":"boolean","description":"segment_16","format":"boolean"},"segment-17":{"type":"boolean","description":"segment_17","format":"boolean"},"segment-18":{"type":"boolean","description":"segment_18","format":"boolean"},"segment-19":{"type":"boolean","description":"segment_19","format":"boolean"},"segment-2":{"type":"boolean","description":"segment_2","format":"boolean"},"segment-20":{"type":"boolean","description":"segment_20","format":"boolean"},"segment-3":{"type":"boolean","description":"segment_3","format":"boolean"},"segment-4":{"type":"boolean","description":"segment_4","format":"boolean"},"segment-5":{"type":"boolean","description":"segment_5","format":"boolean"},"segment-6":{"type":"boolean","description":"segment_6","format":"boolean"},"segment-7":{"type":"boolean","description":"segment_7","format":"boolean"},"segment-8":{"type":"boolean","description":"segment_8","format":"boolean"},"segment-9":{"type":"boolean","description":"segment_9","format":"boolean"},"start-date":{"type":"string","description":"start_date","format":"datetime"},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime"},"updated-by":{"$ref":"#/definitions/UserSimple"}},"required":["end-date","name","start-date"]},"PhoneNumber":{"type":"object","properties":{"area-code":{"type":"string","description":"area_code","format":"string(255)","readOnly":true},"country-code":{"type":"string","description":"country_code","format":"string(255)","readOnly":true},"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"created-by":{"$ref":"#/definitions/UserSimple"},"extension":{"type":"string","description":"extension","format":"string(255)","readOnly":true},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"number":{"type":"string","description":"number","format":"string(255)","readOnly":true},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"updated-by":{"$ref":"#/definitions/UserSimple"}}},"Purpose":{"type":"object","properties":{"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"kind":{"type":"string","description":"Kind","format":"string(255)"},"name":{"type":"string","description":"Name","format":"string(255)"},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true}},"required":["kind","name"]},"RemitToAddress":{"type":"object","properties":{"active":{"type":"boolean","description":"A no value will make the address inactive making it no longer available to users.  A yes value will make it active and available to users.","format":"boolean"},"city":{"type":"string","description":"City Name","format":"string(255)"},"country":{"$ref":"#/definitions/Country"},"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"created-by":{"$ref":"#/definitions/UserSimple"},"external-src-name":{"type":"string","description":"Name of the source system.","format":"string(255)"},"external-src-ref":{"type":"string","description":"Reference number from source system.","format":"string(255)"},"id":{"type":"integer","description":"Coupa Internal Address ID","format":"integer","readOnly":true},"local-tax-number":{"type":"string","description":"Local Tax Number","format":"string(255)"},"name":{"type":"string","description":"Address 'Nickname'","format":"string(255)"},"postal-code":{"type":"string","description":"Postal Code","format":"string(255)"},"remit-to-code":{"type":"string","description":"Remit To Code (if a Supplier address)","format":"string(255)"},"state":{"type":"string","description":"State Abbreviation","format":"string(255)"},"street1":{"type":"string","description":"Address Line 1","format":"string(255)"},"street2":{"type":"string","description":"Address Line 2","format":"string(255)"},"tax-registrations":{"type":"array","items":{"$ref":"#/definitions/TaxRegistration"}},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"updated-by":{"$ref":"#/definitions/UserSimple"},"vat-country":{"$ref":"#/definitions/Country"},"vat-number":{"type":"string","description":"VAT identification number used for value added tax purposes","format":"string(255)"}},"required":["city","country","local-tax-number","postal-code","remit-to-code","street1"]},"Role":{"type":"object","properties":{"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"created-by":{"$ref":"#/definitions/UserSimple"},"description":{"type":"string","description":"description","format":"string(255)"},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"name":{"type":"string","description":"name","format":"string(255)"},"omnipotent":{"type":"boolean","description":"omnipotent","format":"boolean"},"system-role":{"type":"boolean","description":"system_role","format":"boolean"},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"updated-by":{"$ref":"#/definitions/UserSimple"}}},"TaxCode":{"type":"object","properties":{"active":{"type":"boolean","description":"Tax code is enabled or disabled","format":"boolean"},"code":{"type":"string","description":"code","format":"string(255)"},"country":{"$ref":"#/definitions/Country"},"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"created-by":{"$ref":"#/definitions/UserSimple"},"description":{"type":"string","description":"description","format":"string(255)"},"effective-date":{"type":"string","description":"Date when tax code is become active","format":"datetime"},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"percentage":{"type":"number","description":"percentage","format":"float"},"tax-rate":{"$ref":"#/definitions/TaxRate"},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"updated-by":{"$ref":"#/definitions/UserSimple"}},"required":["code","country","percentage"]},"TaxRate":{"type":"object","properties":{"active":{"type":"boolean","description":"Tax rate is enabled or disabled","format":"boolean"},"country":{"$ref":"#/definitions/Country"},"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"created-by":{"$ref":"#/definitions/UserSimple"},"customer-accounting":{"type":"boolean","description":"Customer accounting","format":"boolean"},"effective-date":{"type":"string","description":"Date when tax rate is become active","format":"datetime"},"exempt":{"type":"boolean","description":"Whether Tax Rate is exempt or not","format":"boolean"},"expiration-date":{"type":"string","description":"Date when tax rate is expiring","format":"datetime"},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"out-of-scope":{"type":"boolean","description":"Out of scope","format":"boolean"},"percentage":{"type":"number","description":"Tax Rate percentage","format":"decimal(30,6)"},"reverse-charge":{"type":"boolean","description":"Whether Tax Rate is Reverse Charge or not","format":"boolean"},"tax-description":{"type":"string","description":"Tax Rate Description","format":"string(255)"},"tax-rate-type":{"$ref":"#/definitions/TaxRateType"},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"updated-by":{"$ref":"#/definitions/UserSimple"}},"required":["percentage"]},"TaxRateType":{"type":"object","properties":{"active":{"type":"boolean","description":"Active","format":"boolean","readOnly":true},"country":{"$ref":"#/definitions/Country"},"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"created-by":{"$ref":"#/definitions/UserSimple"},"description":{"type":"string","description":"Description of the tax rate type","format":"string(255)"},"effective-date":{"type":"string","description":"Effective date","format":"datetime","readOnly":true},"expiration-date":{"type":"string","description":"Expiration date","format":"datetime","readOnly":true},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"updated-by":{"$ref":"#/definitions/UserSimple"}}},"TaxRegistration":{"type":"object","properties":{"active":{"type":"boolean","description":"Tax code is enabled or disabled","format":"boolean"},"country":{"$ref":"#/definitions/Country"},"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"created-by":{"$ref":"#/definitions/UserSimple"},"fiscal-representative":{"description":"Fiscal representative who is locally established and who is in general held jointly and severally liable with the tax payer for the payment of the vat to the tax authorities. Can be one of multiple objects: RemitToAddress, TaxRegistration","readOnly":true},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"local":{"type":"boolean","description":"True if tax registration cannot be used for cross-border invoices","format":"boolean"},"number":{"type":"string","description":"Tax Registration number","format":"string(47)"},"owner-id":{"type":"integer","description":"Coupa unique identifier of the object associated with this tax registration","format":"integer"},"owner-type":{"type":"string","description":"Type of the owning object","format":"string(255)"},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"updated-by":{"$ref":"#/definitions/UserSimple"}},"required":["country","number"]},"Travel-Trip":{"type":"object","properties":{"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"end-date":{"type":"string","description":"End date of Booking","format":"datetime"},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"image-ref":{"type":"string","description":"Image Reference of Trip","format":"string(255)"},"name":{"type":"string","description":"Trip Name","format":"string(255)"},"start-date":{"type":"string","description":"Start date of Booking","format":"datetime"},"trip-reference":{"type":"integer","description":"Trip Reference Id of Provider","format":"integer"},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"viewable":{"type":"string","description":"Viewable","format":"true","readOnly":true}},"required":["end-date","name","start-date","trip-reference"]},"Travel-TripBooking":{"type":"object","properties":{"amount":{"type":"number","description":"Booking amount","format":"decimal(32,4)"},"booking-date":{"type":"string","description":"Booking Date","format":"datetime"},"booking-tool-reference":{"type":"integer","description":"Booking Reference Id of Provider Booking","format":"integer"},"budget-amount":{"type":"number","description":"Budget amount","format":"decimal(32,4)"},"budget-currency":{"$ref":"#/definitions/Currency"},"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"currency":{"$ref":"#/definitions/Currency"},"end-date":{"type":"string","description":"End date of Booking","format":"datetime"},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"is-exchanged":{"type":"boolean","description":"Is exchanged","format":"boolean","readOnly":true},"payment-channel":{"type":"string","description":"Payment Channel of Booking","format":"string(255)","enum":["coupa_pay","credit_card"]},"prepaid":{"type":"boolean","description":"Prepaid","format":"boolean"},"prev-booking-reference":{"type":"integer","description":"Previous Booking Reference Id","format":"integer"},"refundable":{"type":"boolean","description":"Refundable","format":"boolean"},"requested-by":{"$ref":"#/definitions/UserSimple"},"requested-by-id":{"type":"integer","description":"Requested by","format":"integer"},"segment-type":{"type":"string","description":"Segment Type of Booking","format":"string(255)","enum":["flight","hotel","rental_car"]},"start-date":{"type":"string","description":"Start date of Booking","format":"datetime"},"status":{"type":"string","description":"Status of Booking","format":"string(255)","enum":["draft","confirmed","failed","voided","cancelled","failedCardIssuance","exchangePending","exchanged","rebooked","rebookError","rebookPending","exchangeError"]},"travel-trip":{"$ref":"#/definitions/Travel-Trip"},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"virtual-card":{"type":"string","description":"Virtual Card","readOnly":true}},"required":["amount","booking-date","booking-tool-reference","end-date","payment-channel","requested-by-id","segment-type","start-date","status","travel-trip"]},"User":{"type":"object","properties":{"account-groups":{"type":"array","items":{"$ref":"#/definitions/AccountGroup"}},"account-security-type":{"type":"integer","description":"account_security_type","format":"integer"},"active":{"type":"boolean","description":"A false value will inactivate the account making it no longer available to users.  A true value will make it active and available to users.","format":"boolean"},"aic-user":{"type":"boolean","description":"Does the user have an AI Classification License?","format":"boolean"},"allow-employee-payment-account-creation":{"type":"boolean","description":"Allow the user to create an Employee Payment Account, regardless of the Employee Payment Channel.","format":"boolean"},"analytics-user":{"type":"boolean","description":"Does the user have an Analytics License?","format":"boolean"},"api-user":{"type":"boolean","description":"Is an API User?","format":"boolean","readOnly":true},"approval-groups":{"type":"array","items":{"$ref":"#/definitions/UserGroup"}},"approval-limit":{"$ref":"#/definitions/ApprovalLimit"},"authentication-method":{"type":"string","description":"What Authentication Method will be used (Coupa_Credentials, LDAP, SAML)?","format":"string(255)"},"avatar-thumb-url":{"type":"string","description":"Avatar url","format":"string","readOnly":true},"business-function":{"type":"string","description":"The employee's main job role in your company, e.g. Sales, Executive, Administrative, Managerial, etc.","format":"string(255)"},"business-group-security-type":{"type":"integer","description":"business_group_security_type","format":"integer","enum":["0","1"]},"can-expense-for":{"$ref":"#/definitions/UserSimple"},"ccw-user":{"type":"boolean","description":"Does the user have a Contingent Workforce License?","format":"boolean"},"clm-advanced-user":{"type":"boolean","description":"Does the user have a Contract Lifecycle Management Advanced License?","format":"boolean"},"content-groups":{"type":"array","items":{"$ref":"#/definitions/BusinessGroup"}},"contract-approval-limit":{"$ref":"#/definitions/ApprovalLimit"},"contract-self-approval-limit":{"$ref":"#/definitions/ApprovalLimit"},"contracts-user":{"type":"boolean","description":"Does the user have a Contracts License?","format":"boolean"},"country-of-residence":{"$ref":"#/definitions/Country"},"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"created-by":{"$ref":"#/definitions/UserSimple"},"default-account":{"$ref":"#/definitions/Account"},"default-account-type":{"$ref":"#/definitions/AccountType"},"default-address":{"$ref":"#/definitions/Address"},"default-currency":{"$ref":"#/definitions/Currency"},"default-locale":{"type":"string","description":"Default locale","format":"string(10)"},"department":{"$ref":"#/definitions/Department"},"edit-invoice-on-quick-entry":{"type":"boolean","description":"Edit invoice button routes user to fast entry screen","format":"boolean"},"email":{"type":"string","description":"email","format":"string(255)"},"employee-number":{"type":"string","description":"employee number","format":"string(255)"},"employee-payment-channel":{"type":"string","description":"Determine how expenses will be paid to the employee. 'ERP' per default and can be switched to 'CoupaPay' if instance allows it.","format":"string(255)"},"escalation-threshold":{"$ref":"#/definitions/ApprovalLimit"},"expense-approval-limit":{"$ref":"#/definitions/ApprovalLimit"},"expense-self-approval-limit":{"$ref":"#/definitions/ApprovalLimit"},"expense-user":{"type":"boolean","description":"Does the user have a Expense License?","format":"boolean"},"expenses-delegated-to":{"$ref":"#/definitions/UserSimple"},"firstname":{"type":"string","description":"first name","format":"string(40)"},"fullname":{"type":"string","description":"full name","format":"string(255)","readOnly":true},"generate-password-and-notify":{"type":"string","description":"Set to Yes if you want the system to invite the user to the system and have them set up their password","format":"string","enum":["Yes","No"]},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"inventory-organizations":{"type":"array","items":{"$ref":"#/definitions/InventoryOrganization"}},"inventory-user":{"type":"boolean","description":"Does the user have a Inventory License?","format":"boolean"},"invoice-approval-limit":{"$ref":"#/definitions/ApprovalLimit"},"invoice-self-approval-limit":{"$ref":"#/definitions/ApprovalLimit"},"lastname":{"type":"string","description":"last name","format":"string(40)"},"legal-entity":{"$ref":"#/definitions/LegalEntity"},"login":{"type":"string","description":"login","format":"string(255)"},"manager":{"$ref":"#/definitions/UserSimple"},"mention-name":{"type":"string","description":"Mention Name","format":"string(255)"},"middlename":{"type":"string","description":"middle name","format":"string(255)"},"password":{"type":"string","description":"Changed password","format":"string"},"pcard":{"$ref":"#/definitions/Pcard"},"phone-mobile":{"$ref":"#/definitions/PhoneNumber"},"phone-work":{"$ref":"#/definitions/PhoneNumber"},"purchasing-user":{"type":"boolean","description":"Does the user have a Purchasing License?","format":"boolean"},"requisition-approval-limit":{"$ref":"#/definitions/ApprovalLimit"},"requisition-self-approval-limit":{"$ref":"#/definitions/ApprovalLimit"},"risk-assess-user":{"type":"boolean","description":"Does the user have a Risk Assess License?","format":"boolean"},"roles":{"type":"array","items":{"$ref":"#/definitions/Role"}},"salesforce-enabled":{"type":"boolean","description":"salesforce_enabled","format":"boolean"},"salesforce-id":{"type":"string","description":"salesforce_id","format":"string(255)"},"self-approval-limit":{"$ref":"#/definitions/ApprovalLimit"},"seniority-level":{"type":"string","description":"The employee's job grade or band in your company's hierarchy.","format":"string(255)"},"sourcing-user":{"type":"boolean","description":"Does the user have a Sourcing License?","format":"boolean"},"spend-guard-user":{"type":"boolean","description":"Does the user have a Spend Guard License?","format":"boolean"},"sso-identifier":{"type":"string","description":"User's Single Sign-on ID (SSO ID)","format":"string(255)"},"supply-chain-user":{"type":"boolean","description":"Does the user have a Supply Chain License?","format":"boolean"},"travel-user":{"type":"boolean","description":"Does the user have a Travel License?","format":"boolean"},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"updated-by":{"$ref":"#/definitions/UserSimple"},"user-groups":{"type":"array","items":{"$ref":"#/definitions/UserGroup"}},"work-confirmation-approval-limit":{"$ref":"#/definitions/ApprovalLimit"},"working-warehouses":{"type":"array","items":{"$ref":"#/definitions/Warehouse"}}},"required":["email","firstname","lastname","login","salesforce-id"]},"UserGroup":{"type":"object","properties":{"active":{"type":"boolean","description":"Active","format":"boolean"},"can-approve":{"type":"boolean","description":"User group has the ability to be an approver","format":"boolean"},"content-groups":{"type":"array","items":{"$ref":"#/definitions/BusinessGroup"}},"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"created-by":{"$ref":"#/definitions/UserSimple"},"description":{"type":"string","description":"Description","format":"text"},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"mention-name":{"type":"string","description":"Mention name","format":"string(255)","readOnly":true},"name":{"type":"string","description":"Name","format":"string(255)"},"open":{"type":"boolean","description":"User group is open for everyone to join or owner must invite others","format":"boolean"},"owner":{"$ref":"#/definitions/UserGroup"},"type":{"type":"string","description":"Blank for Groups, Project for Projects","format":"string(255)","readOnly":true},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"updated-by":{"$ref":"#/definitions/UserSimple"},"users":{"type":"array","items":{"$ref":"#/definitions/UserSimple"}}},"required":["name"]},"UserSimple":{"type":"object","properties":{"account-groups":{"type":"array","items":{"$ref":"#/definitions/AccountGroup"}},"account-security-type":{"type":"integer","description":"account_security_type","format":"integer"},"active":{"type":"boolean","description":"A false value will inactivate the account making it no longer available to users.  A true value will make it active and available to users.","format":"boolean"},"aic-user":{"type":"boolean","description":"Does the user have an AI Classification License?","format":"boolean"},"allow-employee-payment-account-creation":{"type":"boolean","description":"Allow the user to create an Employee Payment Account, regardless of the Employee Payment Channel.","format":"boolean"},"analytics-user":{"type":"boolean","description":"Does the user have an Analytics License?","format":"boolean"},"api-user":{"type":"boolean","description":"Is an API User?","format":"boolean","readOnly":true},"approval-groups":{"type":"array","items":{"$ref":"#/definitions/UserGroup"}},"authentication-method":{"type":"string","description":"What Authentication Method will be used (Coupa_Credentials, LDAP, SAML)?","format":"string(255)"},"avatar-thumb-url":{"type":"string","description":"Avatar url","format":"string","readOnly":true},"business-function":{"type":"string","description":"The employee's main job role in your company, e.g. Sales, Executive, Administrative, Managerial, etc.","format":"string(255)"},"business-group-security-type":{"type":"integer","description":"business_group_security_type","format":"integer","enum":["0","1"]},"ccw-user":{"type":"boolean","description":"Does the user have a Contingent Workforce License?","format":"boolean"},"clm-advanced-user":{"type":"boolean","description":"Does the user have a Contract Lifecycle Management Advanced License?","format":"boolean"},"content-groups":{"type":"array","items":{"$ref":"#/definitions/BusinessGroup"}},"contracts-user":{"type":"boolean","description":"Does the user have a Contracts License?","format":"boolean"},"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"default-locale":{"type":"string","description":"Default locale","format":"string(10)"},"edit-invoice-on-quick-entry":{"type":"boolean","description":"Edit invoice button routes user to fast entry screen","format":"boolean"},"email":{"type":"string","description":"email","format":"string(255)"},"employee-number":{"type":"string","description":"employee number","format":"string(255)"},"employee-payment-channel":{"type":"string","description":"Determine how expenses will be paid to the employee. 'ERP' per default and can be switched to 'CoupaPay' if instance allows it.","format":"string(255)"},"expense-user":{"type":"boolean","description":"Does the user have a Expense License?","format":"boolean"},"firstname":{"type":"string","description":"first name","format":"string(40)"},"fullname":{"type":"string","description":"full name","format":"string(255)","readOnly":true},"generate-password-and-notify":{"type":"string","description":"Set to Yes if you want the system to invite the user to the system and have them set up their password","format":"string","enum":["Yes","No"]},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"inventory-organizations":{"type":"array","items":{"$ref":"#/definitions/InventoryOrganization"}},"inventory-user":{"type":"boolean","description":"Does the user have a Inventory License?","format":"boolean"},"lastname":{"type":"string","description":"last name","format":"string(40)"},"login":{"type":"string","description":"login","format":"string(255)"},"mention-name":{"type":"string","description":"Mention Name","format":"string(255)"},"middlename":{"type":"string","description":"middle name","format":"string(255)"},"password":{"type":"string","description":"Changed password","format":"string"},"purchasing-user":{"type":"boolean","description":"Does the user have a Purchasing License?","format":"boolean"},"risk-assess-user":{"type":"boolean","description":"Does the user have a Risk Assess License?","format":"boolean"},"roles":{"type":"array","items":{"$ref":"#/definitions/Role"}},"salesforce-enabled":{"type":"boolean","description":"salesforce_enabled","format":"boolean"},"salesforce-id":{"type":"string","description":"salesforce_id","format":"string(255)"},"seniority-level":{"type":"string","description":"The employee's job grade or band in your company's hierarchy.","format":"string(255)"},"sourcing-user":{"type":"boolean","description":"Does the user have a Sourcing License?","format":"boolean"},"spend-guard-user":{"type":"boolean","description":"Does the user have a Spend Guard License?","format":"boolean"},"sso-identifier":{"type":"string","description":"User's Single Sign-on ID (SSO ID)","format":"string(255)"},"supply-chain-user":{"type":"boolean","description":"Does the user have a Supply Chain License?","format":"boolean"},"travel-user":{"type":"boolean","description":"Does the user have a Travel License?","format":"boolean"},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"user-groups":{"type":"array","items":{"$ref":"#/definitions/UserGroup"}},"working-warehouses":{"type":"array","items":{"$ref":"#/definitions/Warehouse"}}},"required":["email","firstname","lastname","login","salesforce-id"]},"Warehouse":{"type":"object","properties":{"active-flag":{"type":"boolean","description":"active_flag","format":"boolean"},"address":{"$ref":"#/definitions/Address"},"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"created-by":{"$ref":"#/definitions/UserSimple"},"currency":{"$ref":"#/definitions/Currency"},"description":{"type":"string","description":"description","format":"string(255)"},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"name":{"type":"string","description":"name","format":"string(255)"},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"updated-by":{"$ref":"#/definitions/UserSimple"},"warehouse-locations":{"type":"array","items":{"$ref":"#/definitions/WarehouseLocation"}},"warehouse-type":{"$ref":"#/definitions/WarehouseType"}},"required":["address","currency","description","name","warehouse-type"]},"WarehouseLocation":{"type":"object","properties":{"aisle":{"type":"string","description":"aisle","format":"string(255)"},"bin":{"type":"string","description":"bin","format":"string(255)"},"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"created-by":{"$ref":"#/definitions/UserSimple"},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"level":{"type":"string","description":"level","format":"string(255)"},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"updated-by":{"$ref":"#/definitions/UserSimple"},"warehouse-id":{"type":"integer","description":"Warehouse","format":"integer","readOnly":true},"warehouse-name":{"type":"string","description":"Warehouse name","readOnly":true}}},"WarehouseType":{"type":"object","properties":{"created-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"created-by":{"$ref":"#/definitions/UserSimple"},"description":{"type":"string","description":"description","format":"string(255)"},"id":{"type":"integer","description":"Coupa unique identifier","format":"integer","readOnly":true},"name":{"type":"string","description":"name","format":"string(255)"},"updated-at":{"type":"string","description":"Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ","format":"datetime","readOnly":true},"updated-by":{"$ref":"#/definitions/UserSimple"}},"required":["description","name"]}}}