From 93ee1f3090b957678b6e8ca30b01d4416cf5d6f7 Mon Sep 17 00:00:00 2001 From: Arsen Losenko <20901439+arsenlosenko@users.noreply.github.com> Date: Tue, 4 Jul 2023 14:52:51 +0300 Subject: [PATCH] Source Xero: update expected records --- .../integration_tests/expected_records.jsonl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/airbyte-integrations/connectors/source-xero/integration_tests/expected_records.jsonl b/airbyte-integrations/connectors/source-xero/integration_tests/expected_records.jsonl index 1b50c1d4f18b60..ad65f3e9a170f3 100644 --- a/airbyte-integrations/connectors/source-xero/integration_tests/expected_records.jsonl +++ b/airbyte-integrations/connectors/source-xero/integration_tests/expected_records.jsonl @@ -4,12 +4,12 @@ {"stream": "contacts", "data": {"ContactID": "faf2b539-535c-4bee-9a76-30340354aaa6", "ContactStatus": "ACTIVE", "Name": "Petra Shop", "FirstName": "Mickle", "LastName": "Born", "EmailAddress": "mickleborn@yahoo.com", "SkypeUserName": "skype.mickleborn@petrashop.com", "BankAccountDetails": "1112223334", "TaxNumber": "987654321", "AccountsReceivableTaxType": "GSTONIMPORTS", "AccountsPayableTaxType": "OUTPUT", "Addresses": [{"AddressType": "STREET", "AddressLine1": "1071 Santa Rosa Plz", "AddressLine2": "", "AddressLine3": "", "AddressLine4": "", "City": "Santa Rosa", "Region": "CA", "PostalCode": "95401", "Country": "USA", "AttentionTo": "1071 Santa Rosa Plz, Santa Rosa, CA, 95401"}, {"AddressType": "POBOX", "AddressLine1": "1071 Santa Rosa Plz", "AddressLine2": "", "AddressLine3": "", "AddressLine4": "", "City": "Santa Rosa", "Region": "CA", "PostalCode": "95401", "Country": "USA", "AttentionTo": "1071 Santa Rosa Plz, Santa Rosa, CA, 95401"}], "Phones": [{"PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": ""}, {"PhoneType": "DEFAULT", "PhoneNumber": "2056400", "PhoneAreaCode": "707", "PhoneCountryCode": "1"}, {"PhoneType": "FAX", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": ""}, {"PhoneType": "MOBILE", "PhoneNumber": "2056400", "PhoneAreaCode": "707", "PhoneCountryCode": "1"}], "UpdatedDateUTC": "2021-08-30T21:29:18+00:00", "ContactGroups": [{"ContactGroupID": "051f5017-8e97-4c8d-a5d6-1f3e83c79d14", "Name": "California", "Status": "ACTIVE", "Contacts": [], "HasValidationErrors": false}], "IsSupplier": true, "IsCustomer": false, "DefaultCurrency": "USD", "Discount": 10.0, "Website": "http://petrashop.com", "PurchasesDefaultAccountCode": "6040", "SalesDefaultLineAmountType": "INCLUSIVE", "PurchasesDefaultLineAmountType": "NONE", "SalesDefaultAccountCode": "4000", "BatchPayments": {"BankAccountNumber": "1112223334", "BankAccountName": "Citibank", "Details": "", "Code": "", "Reference": ""}, "PaymentTerms": {"Bills": {"Day": 0, "Type": "DAYSAFTERBILLDATE"}, "Sales": {"Day": 0, "Type": "DAYSAFTERBILLMONTH"}}, "ContactPersons": [], "HasAttachments": false, "HasValidationErrors": false}, "emitted_at": 1683106849228} {"stream": "contacts", "data": {"ContactID": "55fa44bb-3060-485c-88c7-11021b15e753", "ContactStatus": "ACTIVE", "Name": "Milly", "FirstName": "Ashly", "LastName": "Simon", "EmailAddress": "asimon@gmail.com", "SkypeUserName": "skype.asimon@milly.com", "BankAccountDetails": "123456789", "TaxNumber": "123456789", "AccountsReceivableTaxType": "GSTONIMPORTS", "AccountsPayableTaxType": "GSTONIMPORTS", "Addresses": [{"AddressType": "STREET", "AddressLine1": "350 29th Ave", "AddressLine2": "", "AddressLine3": "", "AddressLine4": "", "City": "Columbus", "Region": "GA", "PostalCode": "31903", "Country": "USA", "AttentionTo": ""}, {"AddressType": "POBOX", "AddressLine1": "350 29th Ave", "AddressLine2": "", "AddressLine3": "", "AddressLine4": "", "City": "Columbus", "Region": "GA", "PostalCode": "31903", "Country": "United States", "AttentionTo": ""}], "Phones": [{"PhoneType": "DDI", "PhoneNumber": "6179804", "PhoneAreaCode": "323", "PhoneCountryCode": "1"}, {"PhoneType": "DEFAULT", "PhoneNumber": "6179800", "PhoneAreaCode": "323", "PhoneCountryCode": "1"}, {"PhoneType": "FAX", "PhoneNumber": "6179802", "PhoneAreaCode": "323", "PhoneCountryCode": "1"}, {"PhoneType": "MOBILE", "PhoneNumber": "6179803", "PhoneAreaCode": "323", "PhoneCountryCode": "1"}], "UpdatedDateUTC": "2021-08-30T21:30:20+00:00", "ContactGroups": [{"ContactGroupID": "7ba28f5a-62c4-4555-bb2f-36e005ee1a2b", "Name": "Georgia", "Status": "ACTIVE", "Contacts": [], "HasValidationErrors": false}], "IsSupplier": false, "IsCustomer": true, "DefaultCurrency": "USD", "Discount": 5.0, "Website": "http://milly.com/us", "PurchasesDefaultAccountCode": "6000", "SalesDefaultLineAmountType": "INCLUSIVE", "PurchasesDefaultLineAmountType": "INCLUSIVE", "SalesDefaultAccountCode": "4300", "BatchPayments": {"BankAccountNumber": "123456789", "BankAccountName": "Bank of America", "Details": "123", "Code": "", "Reference": ""}, "ContactPersons": [], "HasAttachments": false, "HasValidationErrors": false}, "emitted_at": 1683106849229} {"stream": "contacts", "data": {"ContactID": "fac713dd-25b1-48c9-889e-b268590b6736", "ContactStatus": "ACTIVE", "Name": "Paragorn", "FirstName": "Robert", "LastName": "McNamara", "EmailAddress": "robert.paragorn@gmail.com", "BankAccountDetails": "444111111", "TaxNumber": "123456780", "AccountsReceivableTaxType": "OUTPUT", "AccountsPayableTaxType": "INPUT", "Addresses": [{"AddressType": "STREET", "AddressLine1": "1200 S Main St", "AddressLine2": "", "AddressLine3": "", "AddressLine4": "", "City": "Walnut Creek", "Region": "CA", "PostalCode": "94596", "Country": "USA", "AttentionTo": ""}, {"AddressType": "POBOX", "AddressLine1": "1200 S Main St", "AddressLine2": "", "AddressLine3": "", "AddressLine4": "", "City": "Walnut Creek", "Region": "CA", "PostalCode": "94596", "Country": "USA"}], "Phones": [{"PhoneType": "DDI", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": ""}, {"PhoneType": "DEFAULT", "PhoneNumber": "9490009", "PhoneAreaCode": "925", "PhoneCountryCode": "1"}, {"PhoneType": "FAX", "PhoneNumber": "9490009", "PhoneAreaCode": "925", "PhoneCountryCode": "1"}, {"PhoneType": "MOBILE", "PhoneNumber": "", "PhoneAreaCode": "", "PhoneCountryCode": ""}], "UpdatedDateUTC": "2021-08-31T12:25:53+00:00", "ContactGroups": [{"ContactGroupID": "051f5017-8e97-4c8d-a5d6-1f3e83c79d14", "Name": "California", "Status": "ACTIVE", "Contacts": [], "HasValidationErrors": false}], "IsSupplier": true, "IsCustomer": true, "DefaultCurrency": "USD", "Discount": 0.0, "Website": "http://paragorntrading.com", "PurchasesDefaultAccountCode": "4715", "SalesDefaultAccountCode": "4300", "BatchPayments": {"BankAccountNumber": "444111111", "BankAccountName": "American Express", "Details": "", "Code": "", "Reference": ""}, "Balances": {"AccountsReceivable": {"Outstanding": -12.0, "Overdue": 0.0}, "AccountsPayable": {"Outstanding": 0.0, "Overdue": 0.0}}, "ContactPersons": [], "HasAttachments": false, "HasValidationErrors": false}, "emitted_at": 1683106849230} -{"stream": "credit_notes", "data": {"CreditNoteID": "c38b210c-699c-43c6-a91d-22792093f85a", "CreditNoteNumber": "CN-0003", "Payments": [], "ID": "c38b210c-699c-43c6-a91d-22792093f85a", "HasErrors": false, "CurrencyRate": 1.0, "Type": "ACCRECCREDIT", "Reference": "QSDF", "RemainingCredit": 12.0, "Allocations": [], "HasAttachments": false, "Contact": {"ContactID": "fac713dd-25b1-48c9-889e-b268590b6736", "Name": "Paragorn", "Addresses": [], "Phones": [], "ContactGroups": [], "ContactPersons": [], "HasValidationErrors": false}, "DateString": "2021-08-31T00:00:00", "Date": "2021-08-31T00:00:00+00:00", "BrandingThemeID": "58e361fe-3867-478d-aa2a-eb91641088b8", "Status": "AUTHORISED", "LineAmountTypes": "Exclusive", "LineItems": [{"ItemCode": "10001", "Description": "T-shirt 'Airbyte'", "UnitAmount": 12.0, "TaxType": "OUTPUT", "TaxAmount": 0.0, "LineAmount": 12.0, "AccountCode": "4000", "Item": {"ItemID": "6ac509d9-89e7-44a9-b630-4a27a2b2287a", "Name": "T-shirt 'Airbyte'", "Code": "10001"}, "Tracking": [], "Quantity": 1.0, "LineItemID": "b581ad7d-50fa-4e47-a9e9-9594a56ac27f"}], "SubTotal": 12.0, "TotalTax": 0.0, "Total": 12.0, "UpdatedDateUTC": "2021-08-31T12:34:40+00:00", "CurrencyCode": "USD"}, "emitted_at": 1683106849824} -{"stream": "credit_notes", "data": {"CreditNoteID": "8892719f-019e-42b2-bef8-a6f595fde1eb", "CreditNoteNumber": "CN-0004", "Payments": [], "ID": "8892719f-019e-42b2-bef8-a6f595fde1eb", "HasErrors": false, "CurrencyRate": 1.0, "Type": "ACCRECCREDIT", "Reference": "QWSD", "RemainingCredit": 300.0, "Allocations": [], "HasAttachments": false, "Contact": {"ContactID": "55fa44bb-3060-485c-88c7-11021b15e753", "Name": "Milly", "Addresses": [], "Phones": [], "ContactGroups": [], "ContactPersons": [], "HasValidationErrors": false}, "DateString": "2021-08-31T00:00:00", "Date": "2021-08-31T00:00:00+00:00", "BrandingThemeID": "58e361fe-3867-478d-aa2a-eb91641088b8", "Status": "DRAFT", "LineAmountTypes": "Inclusive", "LineItems": [{"ItemCode": "10002", "Description": "Cap 'Airbyte'", "UnitAmount": 15.0, "TaxType": "NONE", "TaxAmount": 0.0, "LineAmount": 180.0, "AccountCode": "4000", "Item": {"ItemID": "b0684a92-7379-4a65-bf71-9118cc75e381", "Name": "Cap 'Airbyte'", "Code": "10002"}, "Tracking": [], "Quantity": 12.0, "LineItemID": "f575191e-41ee-486b-b89c-fc7fa23b5bec"}, {"ItemCode": "10001", "Description": "T-shirt 'Airbyte'", "UnitAmount": 12.0, "TaxType": "NONE", "TaxAmount": 0.0, "LineAmount": 120.0, "AccountCode": "4000", "Item": {"ItemID": "6ac509d9-89e7-44a9-b630-4a27a2b2287a", "Name": "T-shirt 'Airbyte'", "Code": "10001"}, "Tracking": [], "Quantity": 10.0, "LineItemID": "2208b4bf-5dc8-46d2-9bf6-3efcaad8ff00"}, {"UnitAmount": 0.0, "TaxType": "NONE", "TaxAmount": 0.0, "LineAmount": 0.0, "AccountCode": "4300", "Tracking": [], "LineItemID": "089b68a3-8f8d-47a6-aa86-073ad74fb31b"}], "SubTotal": 300.0, "TotalTax": 0.0, "Total": 300.0, "UpdatedDateUTC": "2021-08-31T12:36:07+00:00", "CurrencyCode": "USD"}, "emitted_at": 1683106849826} -{"stream": "invoices", "data": {"Type": "ACCREC", "InvoiceID": "76fe4d26-6cca-4b04-b93c-31f18681c727", "InvoiceNumber": "INV-0002", "Reference": "RPT-DD", "Payments": [], "CreditNotes": [], "Prepayments": [], "Overpayments": [], "AmountDue": 120.0, "AmountPaid": 0.0, "AmountCredited": 0.0, "CurrencyRate": 1.0, "IsDiscounted": true, "HasAttachments": false, "InvoiceAddresses": [], "HasErrors": false, "InvoicePaymentServices": [], "Contact": {"ContactID": "fac713dd-25b1-48c9-889e-b268590b6736", "Name": "Paragorn", "Addresses": [], "Phones": [], "ContactGroups": [], "ContactPersons": [], "HasValidationErrors": false}, "DateString": "2021-08-31T00:00:00", "Date": "2021-08-31T00:00:00+00:00", "DueDateString": "2021-08-07T00:00:00", "DueDate": "2021-08-07T00:00:00+00:00", "BrandingThemeID": "58e361fe-3867-478d-aa2a-eb91641088b8", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [{"ItemCode": "10001", "Description": "T-shirt 'Airbyte'", "UnitAmount": 12.0, "TaxType": "OUTPUT", "TaxAmount": 0.0, "LineAmount": 120.0, "AccountCode": "4000", "Item": {"ItemID": "6ac509d9-89e7-44a9-b630-4a27a2b2287a", "Name": "T-shirt 'Airbyte'", "Code": "10001"}, "Tracking": [], "Quantity": 10.0, "DiscountRate": 0.0, "LineItemID": "4bcdc96d-852d-4069-88c2-f44d84b7096e"}], "SubTotal": 120.0, "TotalTax": 0.0, "Total": 120.0, "UpdatedDateUTC": "2021-08-31T11:30:43+00:00", "CurrencyCode": "USD"}, "emitted_at": 1683106850525} -{"stream": "invoices", "data": {"Type": "ACCPAY", "InvoiceID": "c1779067-71c7-4fd9-bb62-11239ecc99df", "InvoiceNumber": "RPT-DD", "Reference": "", "Payments": [{"PaymentID": "516a589d-c97f-4918-9ebd-9cc0473b252c", "Date": "2021-08-31T00:00:00+00:00", "Amount": 84.0, "Reference": "RPT-DD", "CurrencyRate": 1.0, "HasAccount": false, "HasValidationErrors": false}], "CreditNotes": [], "Prepayments": [], "Overpayments": [], "AmountDue": 0.0, "AmountPaid": 84.0, "AmountCredited": 0.0, "CurrencyRate": 1.0, "IsDiscounted": false, "HasAttachments": false, "InvoiceAddresses": [], "HasErrors": false, "InvoicePaymentServices": [], "Contact": {"ContactID": "faf2b539-535c-4bee-9a76-30340354aaa6", "Name": "Petra Shop", "Addresses": [], "Phones": [], "ContactGroups": [], "ContactPersons": [], "HasValidationErrors": false}, "DateString": "2021-08-31T00:00:00", "Date": "2021-08-31T00:00:00+00:00", "DueDateString": "2021-08-31T00:00:00", "DueDate": "2021-08-31T00:00:00+00:00", "Status": "PAID", "LineAmountTypes": "NoTax", "LineItems": [{"ItemCode": "10002", "Description": "Cap 'Airbyte'", "UnitAmount": 18.0, "TaxType": "NONE", "TaxAmount": 0.0, "LineAmount": 54.0, "AccountCode": "123451234", "Item": {"ItemID": "b0684a92-7379-4a65-bf71-9118cc75e381", "Name": "Cap 'Airbyte'", "Code": "10002"}, "Tracking": [], "Quantity": 3.0, "LineItemID": "d507f2b7-8daa-49f6-9498-7c47fc50a559"}, {"ItemCode": "10001", "Description": "T-shirt 'Airbyte'", "UnitAmount": 10.0, "TaxType": "NONE", "TaxAmount": 0.0, "LineAmount": 30.0, "AccountCode": "123451234", "Item": {"ItemID": "6ac509d9-89e7-44a9-b630-4a27a2b2287a", "Name": "T-shirt 'Airbyte'", "Code": "10001"}, "Tracking": [], "Quantity": 3.0, "LineItemID": "d6712837-d0dd-4930-b160-222743722766"}], "SubTotal": 84.0, "TotalTax": 0.0, "Total": 84.0, "UpdatedDateUTC": "2021-08-31T11:39:27+00:00", "CurrencyCode": "USD", "FullyPaidOnDate": "2021-08-31T00:00:00+00:00"}, "emitted_at": 1683106850526} -{"stream": "invoices", "data": {"Type": "ACCPAY", "InvoiceID": "dfe48ca9-b4c8-4441-93c9-30b5818eaa6d", "InvoiceNumber": "RPT-DD", "Reference": "", "Payments": [], "CreditNotes": [], "Prepayments": [], "Overpayments": [], "AmountDue": 1.5, "AmountPaid": 0.0, "AmountCredited": 0.0, "CurrencyRate": 1.0, "IsDiscounted": false, "HasAttachments": false, "InvoiceAddresses": [], "HasErrors": false, "InvoicePaymentServices": [], "Contact": {"ContactID": "fac713dd-25b1-48c9-889e-b268590b6736", "Name": "Paragorn", "Addresses": [], "Phones": [], "ContactGroups": [], "ContactPersons": [], "HasValidationErrors": false}, "DateString": "2021-08-31T00:00:00", "Date": "2021-08-31T00:00:00+00:00", "DueDateString": "2021-08-07T00:00:00", "DueDate": "2021-08-07T00:00:00+00:00", "Status": "DRAFT", "LineAmountTypes": "NoTax", "LineItems": [{"ItemCode": "10005", "Description": "Pen 'Airbyte'", "UnitAmount": 1.5, "TaxType": "NONE", "TaxAmount": 0.0, "LineAmount": 1.5, "AccountCode": "123451234", "Item": {"ItemID": "e6f28cdb-2fa3-4b4d-af19-c77497211cec", "Name": "Pen 'Airbyte'", "Code": "10005"}, "Tracking": [], "Quantity": 1.0, "LineItemID": "4fe37d11-b6a9-42c4-80ad-c6cd21286014"}], "SubTotal": 1.5, "TotalTax": 0.0, "Total": 1.5, "UpdatedDateUTC": "2021-08-31T11:58:21+00:00", "CurrencyCode": "USD"}, "emitted_at": 1683106850527} -{"stream": "invoices", "data": {"Type": "ACCREC", "InvoiceID": "4289a27d-27a5-4569-bbdc-48e0cf14f366", "InvoiceNumber": "INV-0001", "Reference": "RPT-DD", "Payments": [{"PaymentID": "498cc360-e1ce-4056-83a5-ea29f8a7a595", "Date": "2021-08-31T00:00:00+00:00", "Amount": 34.15, "Reference": "RPT-DD", "CurrencyRate": 1.0, "HasAccount": false, "HasValidationErrors": false}], "CreditNotes": [], "Prepayments": [], "Overpayments": [], "AmountDue": 0.0, "AmountPaid": 34.15, "AmountCredited": 0.0, "CurrencyRate": 1.0, "IsDiscounted": true, "HasAttachments": false, "InvoiceAddresses": [], "HasErrors": false, "InvoicePaymentServices": [], "Contact": {"ContactID": "55fa44bb-3060-485c-88c7-11021b15e753", "Name": "Milly", "Addresses": [], "Phones": [], "ContactGroups": [], "ContactPersons": [], "HasValidationErrors": false}, "DateString": "2021-08-31T00:00:00", "Date": "2021-08-31T00:00:00+00:00", "DueDateString": "2021-08-07T00:00:00", "DueDate": "2021-08-07T00:00:00+00:00", "BrandingThemeID": "58e361fe-3867-478d-aa2a-eb91641088b8", "Status": "PAID", "LineAmountTypes": "Inclusive", "LineItems": [{"ItemCode": "10001", "Description": "T-shirt 'Airbyte'", "UnitAmount": 12.0, "TaxType": "NONE", "TaxAmount": 0.0, "LineAmount": 11.4, "AccountCode": "4000", "Item": {"ItemID": "6ac509d9-89e7-44a9-b630-4a27a2b2287a", "Name": "T-shirt 'Airbyte'", "Code": "10001"}, "Tracking": [], "Quantity": 1.0, "DiscountRate": 5.0, "LineItemID": "72af4707-a92d-4468-909e-90c61f30cd6b"}, {"ItemCode": "10002", "Description": "Cap 'Airbyte'", "UnitAmount": 15.0, "TaxType": "NONE", "TaxAmount": 0.0, "LineAmount": 14.25, "AccountCode": "4000", "Item": {"ItemID": "b0684a92-7379-4a65-bf71-9118cc75e381", "Name": "Cap 'Airbyte'", "Code": "10002"}, "Tracking": [], "Quantity": 1.0, "DiscountRate": 5.0, "LineItemID": "e967a601-e865-40ba-9a8b-b560e0b83899"}, {"ItemCode": "1003", "Description": "Cup 'Airbyte'", "UnitAmount": 8.5, "TaxType": "NONE", "TaxAmount": 0.0, "LineAmount": 8.5, "AccountCode": "4000", "Item": {"ItemID": "0b218105-49f9-4d89-8aaa-4de437422b22", "Name": "Cup 'Airbyte'", "Code": "1003"}, "Tracking": [], "Quantity": 1.0, "DiscountRate": 0.0, "LineItemID": "690f5e11-c297-458d-8414-e399ada23c79"}], "SubTotal": 34.15, "TotalTax": 0.0, "Total": 34.15, "UpdatedDateUTC": "2021-08-31T12:04:21+00:00", "CurrencyCode": "USD", "FullyPaidOnDate": "2021-08-31T00:00:00+00:00"}, "emitted_at": 1683106850527} +{"stream": "credit_notes", "data": {"CreditNoteID": "c38b210c-699c-43c6-a91d-22792093f85a", "CreditNoteNumber": "CN-0003", "Payments": [], "ID": "c38b210c-699c-43c6-a91d-22792093f85a", "HasErrors": false, "CurrencyRate": 1.0, "Type": "ACCRECCREDIT", "Reference": "QSDF", "RemainingCredit": 12.0, "Allocations": [], "HasAttachments": false, "Contact": {"ContactID": "fac713dd-25b1-48c9-889e-b268590b6736", "Name": "Paragorn", "Addresses": [], "Phones": [], "ContactGroups": [], "ContactPersons": [], "HasValidationErrors": false}, "DateString": "2021-08-31T00:00:00", "Date": "2021-08-31T00:00:00+00:00", "BrandingThemeID": "58e361fe-3867-478d-aa2a-eb91641088b8", "Status": "AUTHORISED", "LineAmountTypes": "Exclusive", "LineItems": [{"ItemCode": "10001", "Description": "T-shirt 'Airbyte'", "UnitAmount": 12.0, "TaxType": "OUTPUT", "TaxAmount": 0.0, "LineAmount": 12.0, "AccountCode": "4000", "Item": {"ItemID": "6ac509d9-89e7-44a9-b630-4a27a2b2287a", "Name": "T-shirt 'Airbyte'", "Code": "10001"}, "Tracking": [], "Quantity": 1.0, "LineItemID": "b581ad7d-50fa-4e47-a9e9-9594a56ac27f", "AccountID": "6306b763-7e88-40d2-83a4-caf976c02696"}], "SubTotal": 12.0, "TotalTax": 0.0, "Total": 12.0, "UpdatedDateUTC": "2021-08-31T12:34:40+00:00", "CurrencyCode": "USD"}, "emitted_at": 1688471171597} +{"stream": "credit_notes", "data": {"CreditNoteID": "8892719f-019e-42b2-bef8-a6f595fde1eb", "CreditNoteNumber": "CN-0004", "Payments": [], "ID": "8892719f-019e-42b2-bef8-a6f595fde1eb", "HasErrors": false, "CurrencyRate": 1.0, "Type": "ACCRECCREDIT", "Reference": "QWSD", "RemainingCredit": 300.0, "Allocations": [], "HasAttachments": false, "Contact": {"ContactID": "55fa44bb-3060-485c-88c7-11021b15e753", "Name": "Milly", "Addresses": [], "Phones": [], "ContactGroups": [], "ContactPersons": [], "HasValidationErrors": false}, "DateString": "2021-08-31T00:00:00", "Date": "2021-08-31T00:00:00+00:00", "BrandingThemeID": "58e361fe-3867-478d-aa2a-eb91641088b8", "Status": "DRAFT", "LineAmountTypes": "Inclusive", "LineItems": [{"ItemCode": "10002", "Description": "Cap 'Airbyte'", "UnitAmount": 15.0, "TaxType": "NONE", "TaxAmount": 0.0, "LineAmount": 180.0, "AccountCode": "4000", "Item": {"ItemID": "b0684a92-7379-4a65-bf71-9118cc75e381", "Name": "Cap 'Airbyte'", "Code": "10002"}, "Tracking": [], "Quantity": 12.0, "LineItemID": "f575191e-41ee-486b-b89c-fc7fa23b5bec", "AccountID": "6306b763-7e88-40d2-83a4-caf976c02696"}, {"ItemCode": "10001", "Description": "T-shirt 'Airbyte'", "UnitAmount": 12.0, "TaxType": "NONE", "TaxAmount": 0.0, "LineAmount": 120.0, "AccountCode": "4000", "Item": {"ItemID": "6ac509d9-89e7-44a9-b630-4a27a2b2287a", "Name": "T-shirt 'Airbyte'", "Code": "10001"}, "Tracking": [], "Quantity": 10.0, "LineItemID": "2208b4bf-5dc8-46d2-9bf6-3efcaad8ff00", "AccountID": "6306b763-7e88-40d2-83a4-caf976c02696"}, {"UnitAmount": 0.0, "TaxType": "NONE", "TaxAmount": 0.0, "LineAmount": 0.0, "AccountCode": "4300", "Tracking": [], "LineItemID": "089b68a3-8f8d-47a6-aa86-073ad74fb31b", "AccountID": "ca893dbb-0f63-4bc4-abaa-58478cdb4124"}], "SubTotal": 300.0, "TotalTax": 0.0, "Total": 300.0, "UpdatedDateUTC": "2021-08-31T12:36:07+00:00", "CurrencyCode": "USD"}, "emitted_at": 1688471171598} +{"stream": "invoices", "data": {"Type": "ACCREC", "InvoiceID": "76fe4d26-6cca-4b04-b93c-31f18681c727", "InvoiceNumber": "INV-0002", "Reference": "RPT-DD", "Payments": [], "CreditNotes": [], "Prepayments": [], "Overpayments": [], "AmountDue": 120.0, "AmountPaid": 0.0, "AmountCredited": 0.0, "CurrencyRate": 1.0, "IsDiscounted": true, "HasAttachments": false, "InvoiceAddresses": [], "HasErrors": false, "InvoicePaymentServices": [], "Contact": {"ContactID": "fac713dd-25b1-48c9-889e-b268590b6736", "Name": "Paragorn", "Addresses": [], "Phones": [], "ContactGroups": [], "ContactPersons": [], "HasValidationErrors": false}, "DateString": "2021-08-31T00:00:00", "Date": "2021-08-31T00:00:00+00:00", "DueDateString": "2021-08-07T00:00:00", "DueDate": "2021-08-07T00:00:00+00:00", "BrandingThemeID": "58e361fe-3867-478d-aa2a-eb91641088b8", "Status": "DRAFT", "LineAmountTypes": "Exclusive", "LineItems": [{"ItemCode": "10001", "Description": "T-shirt 'Airbyte'", "UnitAmount": 12.0, "TaxType": "OUTPUT", "TaxAmount": 0.0, "LineAmount": 120.0, "AccountCode": "4000", "Item": {"ItemID": "6ac509d9-89e7-44a9-b630-4a27a2b2287a", "Name": "T-shirt 'Airbyte'", "Code": "10001"}, "Tracking": [], "Quantity": 10.0, "DiscountRate": 0.0, "LineItemID": "4bcdc96d-852d-4069-88c2-f44d84b7096e", "AccountID": "6306b763-7e88-40d2-83a4-caf976c02696"}], "SubTotal": 120.0, "TotalTax": 0.0, "Total": 120.0, "UpdatedDateUTC": "2021-08-31T11:30:43+00:00", "CurrencyCode": "USD"}, "emitted_at": 1688471385317} +{"stream": "invoices", "data": {"Type": "ACCPAY", "InvoiceID": "c1779067-71c7-4fd9-bb62-11239ecc99df", "InvoiceNumber": "RPT-DD", "Reference": "", "Payments": [{"PaymentID": "516a589d-c97f-4918-9ebd-9cc0473b252c", "Date": "2021-08-31T00:00:00+00:00", "Amount": 84.0, "Reference": "RPT-DD", "CurrencyRate": 1.0, "HasAccount": false, "HasValidationErrors": false}], "CreditNotes": [], "Prepayments": [], "Overpayments": [], "AmountDue": 0.0, "AmountPaid": 84.0, "AmountCredited": 0.0, "CurrencyRate": 1.0, "IsDiscounted": false, "HasAttachments": false, "InvoiceAddresses": [], "HasErrors": false, "InvoicePaymentServices": [], "Contact": {"ContactID": "faf2b539-535c-4bee-9a76-30340354aaa6", "Name": "Petra Shop", "Addresses": [], "Phones": [], "ContactGroups": [], "ContactPersons": [], "HasValidationErrors": false}, "DateString": "2021-08-31T00:00:00", "Date": "2021-08-31T00:00:00+00:00", "DueDateString": "2021-08-31T00:00:00", "DueDate": "2021-08-31T00:00:00+00:00", "Status": "PAID", "LineAmountTypes": "NoTax", "LineItems": [{"ItemCode": "10002", "Description": "Cap 'Airbyte'", "UnitAmount": 18.0, "TaxType": "NONE", "TaxAmount": 0.0, "LineAmount": 54.0, "AccountCode": "123451234", "Item": {"ItemID": "b0684a92-7379-4a65-bf71-9118cc75e381", "Name": "Cap 'Airbyte'", "Code": "10002"}, "Tracking": [], "Quantity": 3.0, "LineItemID": "d507f2b7-8daa-49f6-9498-7c47fc50a559", "AccountID": "482c2ee9-ec40-48c2-92b7-47e52ba58a57"}, {"ItemCode": "10001", "Description": "T-shirt 'Airbyte'", "UnitAmount": 10.0, "TaxType": "NONE", "TaxAmount": 0.0, "LineAmount": 30.0, "AccountCode": "123451234", "Item": {"ItemID": "6ac509d9-89e7-44a9-b630-4a27a2b2287a", "Name": "T-shirt 'Airbyte'", "Code": "10001"}, "Tracking": [], "Quantity": 3.0, "LineItemID": "d6712837-d0dd-4930-b160-222743722766", "AccountID": "482c2ee9-ec40-48c2-92b7-47e52ba58a57"}], "SubTotal": 84.0, "TotalTax": 0.0, "Total": 84.0, "UpdatedDateUTC": "2021-08-31T11:39:27+00:00", "CurrencyCode": "USD", "FullyPaidOnDate": "2021-08-31T00:00:00+00:00"}, "emitted_at": 1688471385318} +{"stream": "invoices", "data": {"Type": "ACCPAY", "InvoiceID": "dfe48ca9-b4c8-4441-93c9-30b5818eaa6d", "InvoiceNumber": "RPT-DD", "Reference": "", "Payments": [], "CreditNotes": [], "Prepayments": [], "Overpayments": [], "AmountDue": 1.5, "AmountPaid": 0.0, "AmountCredited": 0.0, "CurrencyRate": 1.0, "IsDiscounted": false, "HasAttachments": false, "InvoiceAddresses": [], "HasErrors": false, "InvoicePaymentServices": [], "Contact": {"ContactID": "fac713dd-25b1-48c9-889e-b268590b6736", "Name": "Paragorn", "Addresses": [], "Phones": [], "ContactGroups": [], "ContactPersons": [], "HasValidationErrors": false}, "DateString": "2021-08-31T00:00:00", "Date": "2021-08-31T00:00:00+00:00", "DueDateString": "2021-08-07T00:00:00", "DueDate": "2021-08-07T00:00:00+00:00", "Status": "DRAFT", "LineAmountTypes": "NoTax", "LineItems": [{"ItemCode": "10005", "Description": "Pen 'Airbyte'", "UnitAmount": 1.5, "TaxType": "NONE", "TaxAmount": 0.0, "LineAmount": 1.5, "AccountCode": "123451234", "Item": {"ItemID": "e6f28cdb-2fa3-4b4d-af19-c77497211cec", "Name": "Pen 'Airbyte'", "Code": "10005"}, "Tracking": [], "Quantity": 1.0, "LineItemID": "4fe37d11-b6a9-42c4-80ad-c6cd21286014", "AccountID": "482c2ee9-ec40-48c2-92b7-47e52ba58a57"}], "SubTotal": 1.5, "TotalTax": 0.0, "Total": 1.5, "UpdatedDateUTC": "2021-08-31T11:58:21+00:00", "CurrencyCode": "USD"}, "emitted_at": 1688471385318} +{"stream": "invoices", "data": {"Type": "ACCREC", "InvoiceID": "4289a27d-27a5-4569-bbdc-48e0cf14f366", "InvoiceNumber": "INV-0001", "Reference": "RPT-DD", "Payments": [{"PaymentID": "498cc360-e1ce-4056-83a5-ea29f8a7a595", "Date": "2021-08-31T00:00:00+00:00", "Amount": 34.15, "Reference": "RPT-DD", "CurrencyRate": 1.0, "HasAccount": false, "HasValidationErrors": false}], "CreditNotes": [], "Prepayments": [], "Overpayments": [], "AmountDue": 0.0, "AmountPaid": 34.15, "AmountCredited": 0.0, "CurrencyRate": 1.0, "IsDiscounted": true, "HasAttachments": false, "InvoiceAddresses": [], "HasErrors": false, "InvoicePaymentServices": [], "Contact": {"ContactID": "55fa44bb-3060-485c-88c7-11021b15e753", "Name": "Milly", "Addresses": [], "Phones": [], "ContactGroups": [], "ContactPersons": [], "HasValidationErrors": false}, "DateString": "2021-08-31T00:00:00", "Date": "2021-08-31T00:00:00+00:00", "DueDateString": "2021-08-07T00:00:00", "DueDate": "2021-08-07T00:00:00+00:00", "BrandingThemeID": "58e361fe-3867-478d-aa2a-eb91641088b8", "Status": "PAID", "LineAmountTypes": "Inclusive", "LineItems": [{"ItemCode": "10001", "Description": "T-shirt 'Airbyte'", "UnitAmount": 12.0, "TaxType": "NONE", "TaxAmount": 0.0, "LineAmount": 11.4, "AccountCode": "4000", "Item": {"ItemID": "6ac509d9-89e7-44a9-b630-4a27a2b2287a", "Name": "T-shirt 'Airbyte'", "Code": "10001"}, "Tracking": [], "Quantity": 1.0, "DiscountRate": 5.0, "LineItemID": "72af4707-a92d-4468-909e-90c61f30cd6b", "AccountID": "6306b763-7e88-40d2-83a4-caf976c02696"}, {"ItemCode": "10002", "Description": "Cap 'Airbyte'", "UnitAmount": 15.0, "TaxType": "NONE", "TaxAmount": 0.0, "LineAmount": 14.25, "AccountCode": "4000", "Item": {"ItemID": "b0684a92-7379-4a65-bf71-9118cc75e381", "Name": "Cap 'Airbyte'", "Code": "10002"}, "Tracking": [], "Quantity": 1.0, "DiscountRate": 5.0, "LineItemID": "e967a601-e865-40ba-9a8b-b560e0b83899", "AccountID": "6306b763-7e88-40d2-83a4-caf976c02696"}, {"ItemCode": "1003", "Description": "Cup 'Airbyte'", "UnitAmount": 8.5, "TaxType": "NONE", "TaxAmount": 0.0, "LineAmount": 8.5, "AccountCode": "4000", "Item": {"ItemID": "0b218105-49f9-4d89-8aaa-4de437422b22", "Name": "Cup 'Airbyte'", "Code": "1003"}, "Tracking": [], "Quantity": 1.0, "DiscountRate": 0.0, "LineItemID": "690f5e11-c297-458d-8414-e399ada23c79", "AccountID": "6306b763-7e88-40d2-83a4-caf976c02696"}], "SubTotal": 34.15, "TotalTax": 0.0, "Total": 34.15, "UpdatedDateUTC": "2021-08-31T12:04:21+00:00", "CurrencyCode": "USD", "FullyPaidOnDate": "2021-08-31T00:00:00+00:00"}, "emitted_at": 1688471385319} {"stream": "purchase_orders", "data": {"PurchaseOrderID": "5e634e70-837c-41c6-a924-c5f43370f613", "PurchaseOrderNumber": "PO-0001", "DateString": "2021-08-31T00:00:00", "Date": "2021-08-31T00:00:00+00:00", "DeliveryDateString": "2021-08-10T00:00:00", "DeliveryDate": "2021-08-10T00:00:00+00:00", "DeliveryAddress": "350 29th Avenue\nSan Francisco\nCalifornia\n94121\nUnited States", "AttentionTo": "Airbyte Testing", "Telephone": " +1 925-949-5463", "DeliveryInstructions": "FedEx", "HasErrors": false, "IsDiscounted": false, "Reference": "RPT-DD", "Type": "PURCHASEORDER", "CurrencyRate": 1.0, "CurrencyCode": "USD", "Contact": {"ContactID": "faf2b539-535c-4bee-9a76-30340354aaa6", "ContactStatus": "ACTIVE", "Name": "Petra Shop", "FirstName": "Mickle", "LastName": "Born", "Addresses": [{"AddressType": "STREET", "AddressLine1": "1071 Santa Rosa Plz", "AddressLine2": "", "AddressLine3": "", "AddressLine4": "", "City": "Santa Rosa", "Region": "CA", "PostalCode": "95401", "Country": "USA", "AttentionTo": "1071 Santa Rosa Plz, Santa Rosa, CA, 95401"}, {"AddressType": "POBOX", "AddressLine1": "1071 Santa Rosa Plz", "AddressLine2": "", "AddressLine3": "", "AddressLine4": "", "City": "Santa Rosa", "Region": "CA", "PostalCode": "95401", "Country": "USA", "AttentionTo": "1071 Santa Rosa Plz, Santa Rosa, CA, 95401"}], "Phones": [{"PhoneType": "DEFAULT", "PhoneNumber": "2056400", "PhoneAreaCode": "707", "PhoneCountryCode": "1"}, {"PhoneType": "MOBILE", "PhoneNumber": "2056400", "PhoneAreaCode": "707", "PhoneCountryCode": "1"}], "UpdatedDateUTC": "2021-08-30T21:29:18+00:00", "ContactGroups": [], "DefaultCurrency": "USD", "ContactPersons": [], "HasValidationErrors": false}, "BrandingThemeID": "58e361fe-3867-478d-aa2a-eb91641088b8", "Status": "DRAFT", "LineAmountTypes": "NoTax", "LineItems": [{"ItemCode": "10004", "Description": "Notebook 'Airbyte'", "UnitAmount": 6.0, "TaxType": "NONE", "TaxAmount": 0.0, "LineAmount": 6.0, "AccountCode": "123451234", "Tracking": [], "Quantity": 1.0, "LineItemID": "2435b710-f070-444c-ad74-1ab284bde68f"}], "SubTotal": 6.0, "TotalTax": 0.0, "Total": 6.0, "UpdatedDateUTC": "2021-08-31T11:52:32+00:00", "HasAttachments": false}, "emitted_at": 1683106851245} {"stream": "purchase_orders", "data": {"PurchaseOrderID": "23b4ba7d-c171-46d6-90b8-8985ddedf116", "PurchaseOrderNumber": "PO-0002", "DateString": "2021-08-31T00:00:00", "Date": "2021-08-31T00:00:00+00:00", "DeliveryAddress": "350 29th Avenue\nSan Francisco\nCalifornia\n94121\nUnited States", "AttentionTo": "Airbyte Testing", "Telephone": "", "DeliveryInstructions": "", "HasErrors": false, "IsDiscounted": false, "Reference": "", "Type": "PURCHASEORDER", "CurrencyRate": 1.0, "CurrencyCode": "USD", "Contact": {"ContactID": "55fa44bb-3060-485c-88c7-11021b15e753", "ContactStatus": "ACTIVE", "Name": "Milly", "FirstName": "Ashly", "LastName": "Simon", "Addresses": [{"AddressType": "STREET", "AddressLine1": "350 29th Ave", "AddressLine2": "", "AddressLine3": "", "AddressLine4": "", "City": "Columbus", "Region": "GA", "PostalCode": "31903", "Country": "USA", "AttentionTo": ""}, {"AddressType": "POBOX", "AddressLine1": "350 29th Ave", "AddressLine2": "", "AddressLine3": "", "AddressLine4": "", "City": "Columbus", "Region": "GA", "PostalCode": "31903", "Country": "United States", "AttentionTo": ""}], "Phones": [{"PhoneType": "DEFAULT", "PhoneNumber": "6179800", "PhoneAreaCode": "323", "PhoneCountryCode": "1"}, {"PhoneType": "DDI", "PhoneNumber": "6179804", "PhoneAreaCode": "323", "PhoneCountryCode": "1"}, {"PhoneType": "FAX", "PhoneNumber": "6179802", "PhoneAreaCode": "323", "PhoneCountryCode": "1"}, {"PhoneType": "MOBILE", "PhoneNumber": "6179803", "PhoneAreaCode": "323", "PhoneCountryCode": "1"}], "UpdatedDateUTC": "2021-08-30T21:30:20+00:00", "ContactGroups": [], "DefaultCurrency": "USD", "ContactPersons": [], "HasValidationErrors": false}, "BrandingThemeID": "58e361fe-3867-478d-aa2a-eb91641088b8", "Status": "DRAFT", "LineAmountTypes": "Inclusive", "LineItems": [{"ItemCode": "10004", "Description": "Notebook 'Airbyte'", "UnitAmount": 6.0, "TaxType": "NONE", "TaxAmount": 0.0, "LineAmount": 6.0, "AccountCode": "123451234", "Tracking": [], "Quantity": 1.0, "LineItemID": "646a2f78-2175-483c-868b-95c2d8b1445d"}, {"ItemCode": "10005", "Description": "Pen 'Airbyte'", "UnitAmount": 1.5, "TaxType": "NONE", "TaxAmount": 0.0, "LineAmount": 1.5, "AccountCode": "123451234", "Tracking": [], "Quantity": 1.0, "LineItemID": "10138b09-066c-4405-98bb-b6a67c41391a"}], "SubTotal": 7.5, "TotalTax": 0.0, "Total": 7.5, "UpdatedDateUTC": "2021-08-31T11:54:19+00:00", "HasAttachments": false}, "emitted_at": 1683106851246} {"stream": "accounts", "data": {"AccountID": "492d0a31-bde9-426b-aef7-12c4ae5bf784", "Name": "Business Account", "Status": "ACTIVE", "Type": "BANK", "TaxType": "NONE", "Class": "ASSET", "EnablePaymentsToAccount": false, "ShowInExpenseClaims": false, "BankAccountNumber": "1234567890", "BankAccountType": "BANK", "CurrencyCode": "USD", "ReportingCode": "ASS.CUR.CAS.CAS", "ReportingCodeName": "Cash on hand", "HasAttachments": false, "UpdatedDateUTC": "2021-08-31T12:09:02+00:00", "AddToWatchlist": false}, "emitted_at": 1683106851846}