Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 3.33 KB

TransactionOrigin.md

File metadata and controls

17 lines (14 loc) · 3.33 KB

# TransactionOrigin

Properties

Name Type Description Notes
id string The unique identifier for the item [optional]
displayedAs string The name of the resource [optional]
path string The API path for the resource [optional]
links \SynergiTech\Sage\Model\Link[] Links for the resource [optional]
dueDate \DateTime The due date of the associated item, e.g. an invoice This attribute is only part of the response when the GET paremeter `expand_origin=true` is set in the request URL. Even then, it is only available on transaction origins found at the following endpoints: ["/contact_opening_balance", "/purchase_corrective_invoice", "/sales_corrective_invoice", "/purchase_credit_note", "/purchase_invoice", "/purchase_quick_entry", "/sales_credit_note", "/sales_estimate", "/sales_invoice", "/sales_quick_entry", "/sales_quote"]. There are other resources, e.g. bank transfers, bank opening balances, or journals, which--though possibly origins of a transaction--can never have this attribute. [optional]
outstandingAmount float The outstanding amount of the associated item, e.g. an invoice This attribute is only part of the response when the GET paremeter `expand_origin=true` is set in the request URL. Even then, it is only available on transaction origins found at the following endpoints: ["/contact_opening_balance", "/purchase_corrective_invoice", "/sales_corrective_invoice", "/purchase_credit_note", "/purchase_invoice", "/purchase_quick_entry", "/sales_credit_note", "/sales_estimate", "/sales_invoice", "/sales_quick_entry", "/sales_quote"]. There are other resources, e.g. bank transfers, bank opening balances, or journals, which--though possibly origins of a transaction--can never have this attribute. [optional]
currency \SynergiTech\Sage\Model\Base [optional]
status \SynergiTech\Sage\Model\Base [optional]
sent bool Indicates whether the associated item, e.g. an invoice, has been sent. This attribute is only present for sales items (not purchase) This attribute is only part of the response when the GET paremeter `expand_origin=true` is set in the request URL. Even then, it is only available on transaction origins found at the following endpoints: ["/contact_opening_balance", "/purchase_corrective_invoice", "/sales_corrective_invoice", "/purchase_credit_note", "/purchase_invoice", "/purchase_quick_entry", "/sales_credit_note", "/sales_estimate", "/sales_invoice", "/sales_quick_entry", "/sales_quote"]. There are other resources, e.g. bank transfers, bank opening balances, or journals, which--though possibly origins of a transaction--can never have this attribute. [optional]

[Back to Model list] [Back to API list] [Back to README]