Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for DebitNote #533

Open
Leestex opened this issue Apr 12, 2024 · 1 comment
Open

Support for DebitNote #533

Leestex opened this issue Apr 12, 2024 · 1 comment

Comments

@Leestex
Copy link

Leestex commented Apr 12, 2024

Upon reviewing Billy framework we have noticed that while there is support for creating CreditNotes through specific API utilities, there appears to be no equivalent utility classes dedicated to DebitNotes.

Given that the PTGenericInvoice class includes an enum for invoice types:

    public static enum TYPE {
        FT, FS, FR, NC, ND
    }

It seems that DebitNotes might be supported in some capacity within the framework. Could you provide any guidance on whether DebitNotes are intentionally excluded from utility classes, and if supported, how one might go about creating a DebitNote using the Billy framework?

Any advice or documentation on this would be greatly appreciated.

сс @froque

@froque
Copy link
Member

froque commented Apr 15, 2024

Issuing a Debit note is not a common use case, so it seems it was not implemented. No special reason for it. It was not intentionally excluded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants