You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is in the following lines./// An enum representing the possible values of an `CreateInvoiceAutomaticTaxLiability`'s `type` field.#[derive(Copy,Clone,Debug,Deserialize,Serialize,Eq,PartialEq)]#[serde(rename_all = "snake_case")]pubenumCreateInvoiceAutomaticTaxLiabilityType{Account,
> // Probable fix: Add this
> #[serde(rename = "self")]Self_,}
### OS
Linux
### Rust version
1.75.0
### Library version
0.31.0
### API version
2023-10-16
### Additional context
_No response_
The text was updated successfully, but these errors were encountered:
Describe the bug
Parsing a webhook invoice event throws an error:
To Reproduce
Minimal reproducing example:
Fails with
Error("unknown variant
self, expected
accountor
self_", line: 1, column: 16)
Expected behavior
No error
Code snippets
The text was updated successfully, but these errors were encountered: