...
| Code Block |
|---|
{
"invoice": {
"typeCode": "380",
"invoiceHeader": {
"identifier": [
{
"content": "26287c3b-2db2-4af2-a70a-ecc63255de4c",
"typeCode": "UUID"
}
],
"documentIdentifierSet": {
"identifier": [
{
"content": "2130948342",
"typeCode": "ReceiptID"
}
]
},
"documentDateTime": "2020-03-20T09:00:43.456-05:00",
"note": "You are 30 days past due on the prior invoice",
"documentReference": [
{
"identifier": {
"content": "67d9dd71-5ca3-4f87-ac06-25d7488662f6",
"typeCode": "InvoiceReference"
},
"typeCode": "Receipt",
"documentDateTime": "2020-01-15"
}
],
"status": {
"code": "Original",
"reasonCode": "PastDueIncluded",
"reason": "Partial amount paid on prior invoice",
"effectiveTimePeriod": {
"startDateTime": "2020-03-20T09:00:43.456-05:00",
"endDateTime": "2020-04-20T09:00:43.456-05:00"
}
},
"totalAmount": {
"content": 8849.7551,
"currencyCode": "USD"
},
"supplierParty": {
"identifier": [
{
"content": "123454321",
"schemeIdentifier": "stringNA",
"typeCode": "PartyIdentification"
}
],
"taxIdentifier": {
"content": "51-12345678",
"typeCode": "Federal"
},
"name": {
"content": "SmallSupplierA",
"typeCode": "LegalName"
},
"location": {
"name": "Mason City Warehouse",
"postalAddress": {
"addressLine": [
"123 Example Street"
],
"cityName": "Mason City",
"countrySubDivisionCode": {
"content": "IA",
"typeCode": "State"
},
"countryCode": "USA",
"postalCode": "30316"
}
},
"contact": [
{
"personName": [
{
"formattedName": "Joe Example"
}
],
"roleCode": "Manager",
"jobTitle": "Plant Manager",
"responsibility": "NA",
"organizationUnitIdentifier": "123232",
"telephoneCommunication": [
{
"typeCode": "Work",
"identifier": "641.201.1234"
}
],
"emailAddressCommunication": [
{
"identifier": "Joe.Example@smallbusinessA.com"
}
],
"internetAddressCommunication": {
"typeCode": "HomePage",
"webAddressUri": "http://www.smallbusinessa.com"
}
}
]
},
"customerParty": {
"identifier": {
"content": "58885",
"schemeIdentifier": "stringNA",
"typeCode": "stringPartyIdentification"
},
"dunsid": "3434343",
"accountIdentifier": "58885",
"name": {
"content": "stringLargeCustomerA",
"typeCode": "stringLegalName"
},
"location": {
"postalAddress": {
"addressLine": [
"string123 Customer St N"
],
"cityName": "stringAnytown",
"countrySubDivisionCode": "string",[
{
"countryCode": "string", "postalCodecontent": "stringMN",
} "typeCode": "State"
}, "contact": [ }
{ ],
"personName": [ "countryCode": "USA",
{ "formattedName"postalCode": "string55126"
}
},
], "contact": [
"telephoneCommunication": [ {
{ "typeCode": "AP",
"identifierpersonName": [
{
"string" "formattedName": "Bob NumberCruncher"
] }
],
"emailAddressCommunicationtelephoneCommunication": [
{
"identifiertypeCode": ["Work",
"identifier": "string651.375.0001"
}
] ],
} "emailAddressCommunication": {
] } "identifier": "Bob.NumberCruncher@LargeCustomerA.com"
}
}
],
"buyerContact": {
"identifier": "string1232",
"personName": [
{
"formattedName": "stringBuyer Name"
}
],
"jobTitle": "string",
"organizationUnitIdentifier": "string",
"telephoneCommunication": [
{
"identifiertypeCode": ["Work",
"identifier": "string651.375.0002"
}
] ],
} "emailAddressCommunication": {
], "emailAddressCommunicationidentifier": ["Buyer.Name@LargeCustomerA.com"
},
{ "identifier"preference": [
{
"stringnote": [
] "Email Preferred method of communication"
} ]
], }
"preference":}
{ },
"noteremitToParty": [{
"identifier": {
"string" "content": "125484",
] "schemeIdentifier": "NA",
} "typeCode": "PartyIdentification"
} },
"remitToPartyaccountIdentifier": {"1232323",
"identifiername": {"Mary's Accounting Services",
"contentlocation": "string",{
"schemeIdentifierpostalAddress": "string",{
"typeCodeaddressLine": "string"[
}, "543 Accounting Way"
"name": [ "string"],
], "cityName": "Le "location": {Roy",
"postalAddresscountrySubDivisionCode": [
{ {
"addressLine": [ "content": "stringMN",
], "typeCode": "State"
"cityName": "string", }
"countrySubDivisionCode": "string" ],
"countryCode": "stringUSA",
"postalCode": "string55951"
}
},
"contact": [
{
"personName": [
{
"formattedName": "stringMary Precise"
}
],
"telephoneCommunicationjobTitle": ["string",
"telephoneCommunication": [
{ {
"identifier": [ "typeCode": "stringWork",
]"identifier": "01.507.555.4321"
}
],
"emailAddressCommunication": [
{
"identifier": [
"string"Mary.Precise@marysaccounting.com"
]
}
] }
]
},
"shipToParty": {
"identifier": "588851232321",
"name": "Happy Dairy Farm",
"location": {
"identifier": {
"content": "Location1232321",
"schemeIdentifier": "string"
},
"coordinate": {
"verticalMeasure": "string15Z",
"latitudeMeasure": "string"43.580301503358996,
"longitudeMeasure": "string"-92.57476726492425
},
"postalAddressphysicalAddress": {
"addressLine": [
"string12345 Co Hwy 8"
],
"cityName": "stringLe Roy",
"countrySubDivisionCode": [
"string"
{
], "countryCode"content": "stringMN",
"postalCodetypeCode": "stringState"
},
"physicalAddress": { ],
"addressLinecountryCode": ["USA",
"postalCode": "12345 Co Hwy 8"55951-1234"
]},
"cityNameglnid": "string123456789",
},
"countrySubDivisionCode": { "contact": [
{
"content": "string", "typeCode": "StateOwner",
"personName": {
}, "countryCodeformattedName": "string",Mabel E. Farmer "
"postalCode": "string" },
}, "telephoneCommunication": [
"glnid": "123456789" {
}, "contact": [ "typeCode": "Mobile",
{ "typeCodeidentifier": "Owner",01.507.555.1234"
"personName": [ }
],
{ "emailAddressCommunication": {
"formattedName "identifier": "string"mabel.e.farmer@happyfarmleroymn.com"
}
} }
],
},
"telephoneCommunicationbillToParty": [{
"identifier": {
{ "content": "125484",
"typeCodeschemeIdentifier": "MobileNA",
"identifiertypeCode": ["PartyIdentification"
},
"stringaccountIdentifier",: [
"01.507.555.1234"1232323"
],
] "name": [
{
} ]"content": "string",
"emailAddressCommunicationtypeCode": ["string"
}
{ ],
"identifierlocation": [
{
"string", "postalAddress": [
"mabel.e.farmer@emailaddress.com"
{
] "addressLine": [
} "string"
] ],
} ] }"cityName": "string",
"billToParty": { "identifiercountrySubDivisionCode": {[
"content": "125484", "string"
"schemeIdentifier": "string", "typeCode": "string" ],
}, "accountIdentifiercountryCode": [
"1232323string",
], "namepostalCode": ["string"
{ }
"content": "Mary's Accounting Services", ]
"typeCode": "string"
}
],
"locationcontact": [
{
"postalAddresspersonName": [
{
"addressLineformattedName": ["string"
}
"string" ],
], "telephoneCommunication": [
"cityName": "string", {
"countrySubDivisionCodeidentifier": [
"string"
],
}
"countryCode": "string", ],
"postalCode": "string" "emailAddressCommunication": [
} {
] "identifier": [
} ], "contactstring":
[ { ]
"personName": [ }
{ ]
}
"formattedName": "string" ],
}"buyerContact": {
],"identifier": [
"telephoneCommunicationstring":
[ ]
{ }
},
"identifierpurchaseOrderReference": [{
"identifier": {
"stringcontent": "123232",
"typeCode": "string"
] },
}
"documentIdentifierSet": {
], "emailAddressCommunication"identifier": [
{
"identifiercontent": ["5yt643095485454",
"typeCode": "Supplier Order Number"
"string" }
] ]
},
"typeCode": "DirectShip",
] "documentDateTime": "2021-02-22T14:57:01-05:00",
} "status": [
], {
"buyerContact": { "identifiertypeCode": "Open",
[ "code": "string"
]}
}]
},
"purchaseOrderReferencecontractReference": {
"identifier": {
"contract123232",
"contentstatus": "123232",{
"typeCodecode": "string",
}, "documentIdentifierSeteffectiveTimePeriod": {
"identifierstartDateTime": ["string",
"endDateTime": "string"
{ }
"content": "5yt643095485454", }
},
"typeCodepayment": "Supplier{
Order Number" "identifier": [
} {
] }"content": "string",
"typeCodeschemeIdentifier": "DirectShipstring",
}
"documentDateTime": "2021-02-22T14:57:01-05:00",
"note": [ "Urgent Need for 1800 lbs"
],
"statusnote": [
{
"typeCode": "Open"
}
"string",
] },
"contractReference"paymentTerm": {
"identifierdescription": "contract123232string",
"status": [ {
"effectiveTimePeriod": {
"startDateTime": "string",
"dueDateTime": "2020-04-20T09:00:43.456-05:00"
"endDateTime": "string" },
"extension": [
} {}
]
},
"paymenttax": {[
"identifier":{
[ {"typeCode": "Sales",
"contenttaxJurisdicationCodes": "string",{
"schemeIdentifiercode": "string"
},
], "basisAmount": 0,
"note": [ "calculation": {
"string" "rateNumber": 0
], "paymentTerm": { },
"descriptionexemption": "string", {
"dueDateTimetypeCode": "string",
}, "extensiondescription": [
{} "string"
] }, ]
"tax": [ },
{ "typeCodeamount": "Sales", {
"taxJurisdicationCodescontent": {549.3551,
"codecurrencyCode": "stringUSD"
},
}
],
"basisAmountdistribution": 0, [
{
"calculationamount": {
"rateNumbercontent": 07849.7551,
}, "currencyCode": "string"
"exemption": { },
"typeCodegeneralLedgerElement": "string",{
"descriptionelement": [
"stringNA"
]
},
"amountenterpriseUnit": {
"contentcostCenterIdentifier": 549.3551,"NA"
},
"projectReference": {
"currencyCodeidentifier": "USDNA"
}
}
],
"distributioncharge": [
{
"amountbasisAmount": {
"content": 03.6205,
"currencyCode": "stringUSD/LB"
},
"generalLedgerElementbasisQuantity": "string", {
"enterpriseUnitcontent": {1800,
"costCenterIdentifierunitCode": "stringLB"
},
"projectReferenceamount": {
"identifiercontent": 7849.7551,
"currencyCode": ["USD"
},
"string" "calculation": {
] "rateNumber": 1
} },
], "chargereasonCode": [
{
"basisAmountcontent": 0"string",
"amounttypeCode": 0,"string"
"calculation": { }
"rateNumber":]
0 }
}, ],
"reasonCodeallowance": [{
"basisAmount": {
"content": "string"1,
"typeCodecurrencyCode": "stringUSD/LB"
},
}
"basisQuantity": {
] "content": 0,
} "unitCode": "LB"
], "allowance": [},
"amount": {
"basisAmountcontent": 0,
"amountcurrencyCode": 0,"USD"
},
"calculation": {
"rateNumber": 0
},
"reasonCode": [
{
"content": "string",
"typeCode": "string"
}
]
}
],
"transportationTerm": {
"freightTermCode": "DLV"
},
"shipmentReference": {
"identifier": [
{
"content": "2130948342",
"typeCode": "shipmentHeader.identifier"
}
],
"documentIdentifierSet": [
{
"identifier": [
{
"content": "2130948342",
"typeCode": "ShipmentDocument"
}
]
}
],
"documentDateTime": "2020-03-19T22:50:45.456-05:00"
},
"extension": [
{
"dateTime": [
{
"content": "2021-03-04T08:00:00-05:00",
"typeCode": "Requested Delivery Date"
}
],
"text": [
{
"content": "string",
"typeCode": "string"
}
]
}
]
},
"invoiceLine": [
{
"lineNumberIdentifier": "1",
"note": [
"string"
],
"documentReference": [
{
"identifier": {
"content": "string",
"typeCode": "string"
}
}
],
"status": [
{
"effectiveTimePeriod": {
"startDateTime": "string",
"endDateTime": "string"
}
}
],
"item": {
"identifier": {
"content": "string",
"schemeIdentifier": "string"
},
"customerItemIdentification": {
"identifier": "091818"
},
"manufacturerItemIdentification": {
"identifier": {
"content": "1213579",
"typeCode": "SKU"
}
},
"supplierItemIdentification": {
"identifier": {
"content": "1213579",
"typeCode": "SKU"
}
},
"upcid": "NA",
"epcid": "NA",
"description": [
"Custom Feed Blend - Derived from Milk Max Plus Basic"
],
"classification": [
{
"codes": {
"code": [
{
"content": "string",
"listIdentifier": "string",
"listVersionIdentifier": "string"
}
]
}
}
],
"countryOfOriginCode": "string"
},
"itemInstance": [
{
"serialNumberIdentifier": [
"string"
],
"lot": [
{
"identifier": [
"string"
]
}
]
}
],
"quantity": [
{
"content": 2000,
"unitCode": "LB",
"typeCode": "string"
}
],
"unitPrice": {
"basisQuantity": {
"content": 1,
"unitCode": "LB"
},
"unitAmount": {
"content": 3.6502,
"currencyCode": "USD"
}
},
"purchaseOrderReference": [
{
"lineNumberIdentifier": "string1"
}
],
"buyerParty": {
"accountIdentifier": [
"string"
]
},
"extendedAmount": {
"content": 7300.4,
"currencyCode": "USD"
},
"totalAmount": {
"content": 7849.7551,
"currencyCode": "USD"
},
"tax": [
{
"taxJurisdicationCodes": {
"code": "stringMower County"
},
"calculation": {
"rateNumber": "string"0.07525
},
"amount": {
"content": 549.3551,
"currencyCode": "USD"
},
"currencyExchangeRate": {
"sourceCurrencyCode": "string",
"targetCurrencyCode": "string",
"rateNumber": "string",
"setDateTime": "string"
}
}
],
"distributeTax": [
{
"identifier": {
"contenttypeCode": "string",
"schemeIdentifier": "string"
},
"taxJurisdicationCodes": {
"code": [
{
"content": "string",
"typeCode": "string"
}
]
},
"amount": 0
}
],
"invoiceCharge": [
{
"basisAmount": 0,
"amount": 0,
"calculation": {
"rateNumber": 0
},
"reasonCode": [
{
"content": "string",
"typeCode": "string"
}
]
}
],
"invoiceAllowance": [
{
"basisAmount": 0,
"amount": 0,
"calculation": {
"rateNumber": 0
},
"reasonCode": [
{
"content": "string",
"typeCode": "string"
}
]
}
]
}
]
}
} |
...