Last active
June 15, 2022 15:14
-
-
Save alepore/7424c8f1c1d51eb6b084f31398011514 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
:createTransactionModel=>{ | |
:code=>"R646641903", | |
:date=>"2022-06-15", | |
:discount=>0.0, | |
:commit=>false, | |
:type=>"SalesOrder", | |
:lines=>[ | |
{ | |
:number=>"69-LI", | |
:description=>"US - J1 Pods", | |
:taxCode=>"PS160802", | |
:itemCode=>"J1T1028", | |
:quantity=>1, | |
:amount=>15.99, | |
:discounted=>false, | |
:taxIncluded=>false, | |
:addresses=>{ | |
:shipFrom=>{ | |
:line1=>"7100 Trade Port Drive", | |
:line2=>"Suite 100", | |
:city=>"Louisville", | |
:region=>"KY", | |
:country=>"US", | |
:postalCode=>"40258" | |
}, | |
:shipTo=>{ | |
:line1=>"4163 Whitaker Ave Apt 123", | |
:line2=>nil, | |
:city=>"Philadelphia", | |
:region=>"PA", | |
:country=>"US", | |
:postalCode=>"19124-4239" | |
} | |
}, | |
:customerUsageType=>nil, | |
:businessIdentificationNo=>nil, | |
:exemptionCode=>"184-253-0304-01" | |
}, | |
{ | |
:number=>"31-FR", | |
:itemCode=>"Standard", | |
:quantity=>1, | |
:amount=>18.5, | |
:description=>"Shipping Charge", | |
:taxCode=>"FR000000", | |
:discounted=>false, | |
:taxIncluded=>false, | |
:addresses=>{ | |
:shipFrom=>{ | |
:line1=>"7100 Trade Port Drive", | |
:line2=>"Suite 100", | |
:city=>"Louisville", | |
:region=>"KY", | |
:country=>"US", | |
:postalCode=>"40258" | |
}, | |
:shipTo=>{ | |
:line1=>"4163 Whitaker Ave Apt 123", | |
:line2=>nil, | |
:city=>"Philadelphia", | |
:region=>"PA", | |
:country=>"US", | |
:postalCode=>"19124-4239" | |
} | |
}, | |
:customerUsageType=>nil, | |
:businessIdentificationNo=>nil, | |
:exemptionCode=>"184-253-0304-01" | |
} | |
], | |
:customerCode=>"customer@example.com", | |
:companyCode=>"JUULLABS", | |
:customerUsageType=>nil, | |
:exemptionNo=>"184-253-0304-01", | |
:referenceCode=>"R646641903", | |
:currencyCode=>"USD", | |
:businessIdentificationNo=>nil | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment