Skip to content

Latest commit

 

History

History
40 lines (37 loc) · 26.4 KB

salesreceipt.md

File metadata and controls

40 lines (37 loc) · 26.4 KB

SalesReceipt

Fields

Field Type Required Description Example
id str ✔️ Unique identifier representing the sales receipt 123456
number OptionalNullable[str] ➖ Reference number for the sales receipt. SR-00001
customer OptionalNullable[models.LinkedCustomer] ➖ The customer this entity is linked to.
currency OptionalNullable[models.Currency] ➖ Indicates the associated currency for an amount of money. Values correspond to ISO 4217. USD
currency_rate OptionalNullable[float] ➖ Currency Exchange Rate at the time entity was recorded/generated. 0.69
tax_inclusive OptionalNullable[bool] ➖ Amounts are including tax true
sub_total OptionalNullable[float] ➖ Subtotal amount, normally before tax. 250
total_amount Nullable[float] ✔️ The total amount of the transaction or record 49.99
total_tax OptionalNullable[float] ➖ Total tax amount applied to this transaction. 25
transaction_date date ➖ The date of the sales receipt transaction - YYYY-MM-DDThh:mm:ss.sTZD 2021-05-01T12:00:00.000Z
payment_method OptionalNullable[str] ➖ Payment method used for the transaction, such as cash, credit card, bank transfer, or check cash
payment_method_reference OptionalNullable[str] ➖ Optional reference message returned by payment method on processing 123456
payment_method_id OptionalNullable[str] ➖ A unique identifier for an object. 12345
account OptionalNullable[models.LinkedLedgerAccount] ➖ N/A
line_items List[models.InvoiceLineItem] ➖ Line items for itemized sales receipts. Used when the sales receipt includes product/service details with quantities and pricing.
tax_code OptionalNullable[str] ➖ Applicable tax id/code override if tax is not supplied on a line item basis. 1234
discount_percentage OptionalNullable[float] ➖ Discount percentage applied to this sales receipt. 5.5
discount_amount OptionalNullable[float] ➖ Discount amount applied to this sales receipt. 25
note OptionalNullable[str] ➖ Optional note to be associated with the sales receipt. Thank you for your purchase
customer_memo OptionalNullable[str] ➖ Customer memo Thank you for your business and have a great day!
reference OptionalNullable[str] ➖ Optional reference message for the sales receipt. REF-123456
billing_address Optional[models.Address] ➖ N/A
shipping_address Optional[models.Address] ➖ N/A
department OptionalNullable[models.LinkedDepartment] ➖ N/A
tracking_categories List[Nullable[models.LinkedTrackingCategory]] ➖ A list of linked tracking categories.
custom_mappings Dict[str, Any] ➖ When custom mappings are configured on the resource, the result is included here.
custom_fields List[models.CustomField] ➖ N/A
row_version OptionalNullable[str] ➖ A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. 1-12345
updated_by OptionalNullable[str] ➖ The user who last updated the object. 12345
created_by OptionalNullable[str] ➖ The user who created the object. 12345
updated_at date ➖ The date and time when the object was last updated. 2020-09-30T07:43:32.000Z
created_at date ➖ The date and time when the object was created. 2020-09-30T07:43:32.000Z
pass_through List[models.PassThroughBody] ➖ The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources.