Git Product home page Git Product logo

quickbookssharp's People

Contributors

clement911 avatar fbridger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

quickbookssharp's Issues

How to update bill

I am trying to update the bill by using this code but looks like it doesn't work.

           ` var dataService = new DataService(token, long.Parse(realmId), useSandbox: true);
            var billResponse=( await dataService.QueryAsync<Bill>("SELECT * FROM Bill")).Response;
            if (billResponse != null)
            {
                var bill = billResponse.Entities.FirstOrDefault();
          
                // update bill here
                bill.PrivateNote = "sample memo";
                bill.Memo = "Memo";
                await dataService.PostAsync(bill);
            }`

Any idea?

Voiding Payment

It seems that the DataService is not able to void a payment.

var dataService = new QuickBooksSharp.DataService("AccessToken", "RealmId", useSandbox: true);

// https://developer.intuit.com/app/developer/qbo/docs/api/accounting/most-commonly-used/payment#void-a-payment
// Use a sparse update operation with include=void to void an existing Payment object;
// include a minimum of Payment.Id and Payment.SyncToken.
// The transaction remains active but all amounts and quantities are zeroed
// and the string, Voided, is injected into Payment.PrivateNote, prepended to existing text if present.
// If funds for the payment have been deposited, you must delete the associated deposit object before voiding the payment object.
var payment = new Payment()
{
    Id = paymentId,
    SyncToken = syncToken,
    status = EntityStatusEnum.Voided,
    sparse = true,
    PrivateNote = "Voided by QuickBooksSharp"
};

var result = await dataService.PostAsync(payment);

Any idea if we can actually do this?

Can't post memo on bill

I am trying to upload a bill with a memo to QBO. The bill is showing up correctly however the memo is not. I see in the files that the transaction's Memo property is hidden by it's child PurchaseByVendor Memo property, but not sure if this is the error or not.

Webhooks Notifications object?

Is the CodeGen generating the object that is received from the Webhooks Notifications?

Cannot seem to find the object that QBO is sending when hitting the Webhook. Is it included or generated by the XSD?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.